ac/surface: Use ADDR_TM_PRT_TILED_THIN1 on GFX6-8

Don't use ADDR_TM_PRT_2D_TILED_THIN1 because it is not supported
on CI/VI according to CiLib::HwlOverrideTileMode, and it is also
missing from SiLib::HwlOverrideTileMode.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38553>
This commit is contained in:
Timur Kristóf 2025-11-16 20:06:23 +01:00
parent 292460670a
commit c15f9e7022

View file

@ -1444,7 +1444,7 @@ static int gfx6_compute_surface(struct ac_addrlib *addrlib, const struct radeon_
if (config->is_3d && surf->bpe < 8) {
AddrSurfInfoIn.tileMode = ADDR_TM_PRT_2D_TILED_THICK;
} else {
AddrSurfInfoIn.tileMode = ADDR_TM_PRT_2D_TILED_THIN1;
AddrSurfInfoIn.tileMode = ADDR_TM_PRT_TILED_THIN1;
}
} else {
if (config->is_3d) {