mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
ac/surface: always use suboptimal display DCC with DRM <= 3.43.0
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13214>
This commit is contained in:
parent
840c79fc9b
commit
1a8df6f1be
1 changed files with 4 additions and 0 deletions
|
|
@ -1477,6 +1477,10 @@ static bool gfx10_DCN_requires_independent_64B_blocks(const struct radeon_info *
|
|||
{
|
||||
assert(info->chip_class >= GFX10);
|
||||
|
||||
/* Older kernels have buggy DAL. */
|
||||
if (info->drm_minor <= 43)
|
||||
return true;
|
||||
|
||||
/* For 4K, DCN requires INDEPENDENT_64B_BLOCKS = 1 and MAX_COMPRESSED_BLOCK_SIZE = 64B. */
|
||||
return config->info.width > 2560 || config->info.height > 2560;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue