]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/fourcc: add AMD_FMT_MOD_TILE_GFX9_4K_D_X
authorQiang Yu <qiang.yu@amd.com>
Fri, 25 Oct 2024 03:23:29 +0000 (11:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2024 17:22:58 +0000 (12:22 -0500)
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>
include/uapi/drm/drm_fourcc.h

index 78abd819fd62e50fda6588628301d0d23a16b18a..70f3b00b0681c81e8be0cef61bbb5ebbe95af67c 100644 (file)
@@ -1516,6 +1516,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
  * 64K_D_2D on GFX12 is identical to 64K_D on GFX11.
  */
 #define AMD_FMT_MOD_TILE_GFX9_64K_D 10
+#define AMD_FMT_MOD_TILE_GFX9_4K_D_X 22
 #define AMD_FMT_MOD_TILE_GFX9_64K_S_X 25
 #define AMD_FMT_MOD_TILE_GFX9_64K_D_X 26
 #define AMD_FMT_MOD_TILE_GFX9_64K_R_X 27