summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2021-05-07 05:54:26 -0400
committerMarge Bot <emma+marge@anholt.net>2022-05-10 04:29:54 +0000
commit3e85a0c90b5a33cd9bca51573a171b3c7bb0c01d (patch)
tree875a04f4f256df3549c60bf3e0c34b8b7ac80fa3 /include
parent85c76518c9d02afe12df9c98b4a89c22fd837325 (diff)
downloadmesa-3e85a0c90b5a33cd9bca51573a171b3c7bb0c01d.tar.gz
mesa-3e85a0c90b5a33cd9bca51573a171b3c7bb0c01d.tar.bz2
mesa-3e85a0c90b5a33cd9bca51573a171b3c7bb0c01d.zip
ac/surface: define gfx11 modifiers
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
Diffstat (limited to 'include')
-rw-r--r--include/drm-uapi/drm_fourcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm-uapi/drm_fourcc.h b/include/drm-uapi/drm_fourcc.h
index e5074162bcd..f6b78dff588 100644
--- a/include/drm-uapi/drm_fourcc.h
+++ b/include/drm-uapi/drm_fourcc.h
@@ -1341,6 +1341,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
#define AMD_FMT_MOD_TILE_VER_GFX9 1
#define AMD_FMT_MOD_TILE_VER_GFX10 2
#define AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS 3
+#define AMD_FMT_MOD_TILE_VER_GFX11 4
/*
* 64K_S is the same for GFX9/GFX10/GFX10_RBPLUS and hence has GFX9 as canonical
@@ -1356,6 +1357,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
#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
+#define AMD_FMT_MOD_TILE_GFX11_256K_R_X 31
#define AMD_FMT_MOD_DCC_BLOCK_64B 0
#define AMD_FMT_MOD_DCC_BLOCK_128B 1