amdgpu: fix for linear tiling mode detection fin color buffers

This commit is contained in:
psucien 2024-08-12 14:05:48 +02:00
parent 7d1e9332d8
commit d805c65b06
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ struct Liverpool {
}
TilingMode GetTilingMode() const {
return attrib.tile_mode_index;
return info.linear_general ? TilingMode::Display_Linear : attrib.tile_mode_index;
}
bool IsTiled() const {