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>
main
Simon Ser 2022-12-21 12:36:59 +01:00
parent 0e2c7d0571
commit 6c4c48e61c
1 changed files with 6 additions and 0 deletions

View File

@ -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)