Skip to content

Commit 377dda2

Browse files
yuqalexdeucher
authored andcommitted
drm/fourcc: add AMD_FMT_MOD_TILE_GFX9_4K_D_X
This is used when radeonsi export small texture's modifier to user with eglExportDMABUFImageQueryMESA(). mesa changes is available here: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31658 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <qiang.yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent cfe9820 commit 377dda2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/drm/drm_fourcc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,6 +1516,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
15161516
* 64K_D_2D on GFX12 is identical to 64K_D on GFX11.
15171517
*/
15181518
#define AMD_FMT_MOD_TILE_GFX9_64K_D 10
1519+
#define AMD_FMT_MOD_TILE_GFX9_4K_D_X 22
15191520
#define AMD_FMT_MOD_TILE_GFX9_64K_S_X 25
15201521
#define AMD_FMT_MOD_TILE_GFX9_64K_D_X 26
15211522
#define AMD_FMT_MOD_TILE_GFX9_64K_R_X 27

0 commit comments

Comments
 (0)