diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-21 12:36:59 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-09 10:41:58 +0100 |
commit | 6c4c48e61c15757f6df44ad71a7b1e58258f42b3 (patch) | |
tree | 4778b2537b845c5fd926ffed0d42a3724474c18d | |
parent | 0e2c7d05712d65903a9b77fb9f960ddff43bac64 (diff) | |
download | libdrm-6c4c48e61c15757f6df44ad71a7b1e58258f42b3.tar.gz libdrm-6c4c48e61c15757f6df44ad71a7b1e58258f42b3.tar.bz2 libdrm-6c4c48e61c15757f6df44ad71a7b1e58258f42b3.zip |
xf86drm: add support for printing AMD GFX11 modifiers
See kernel commit 543036a2de71 ("drm/amd: Add GFX11 modifiers support
to AMDGPU (v3)").
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | xf86drm.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -478,6 +478,9 @@ drmGetFormatModifierNameFromAmd(uint64_t modifier) case AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS: str_tile_version = "GFX10_RBPLUS"; break; + case AMD_FMT_MOD_TILE_VER_GFX11: + str_tile_version = "GFX11"; + break; } if (str_tile_version) { @@ -505,6 +508,9 @@ drmGetFormatModifierNameFromAmd(uint64_t modifier) case AMD_FMT_MOD_TILE_GFX9_64K_R_X: str_tile = "GFX9_64K_R_X"; break; + case AMD_FMT_MOD_TILE_GFX11_256K_R_X: + str_tile = "GFX11_256K_R_X"; + break; } if (str_tile) |