mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
ac/surface: disallow display DCC for big resolutions
Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13214>
This commit is contained in:
parent
1a8df6f1be
commit
a18a7626a2
1 changed files with 4 additions and 0 deletions
|
|
@ -1523,6 +1523,10 @@ static bool is_dcc_supported_by_DCN(const struct radeon_info *info,
|
|||
if (info->use_display_dcc_unaligned && (rb_aligned || pipe_aligned))
|
||||
return false;
|
||||
|
||||
/* Big resolutions don't support DCC. */
|
||||
if (config->info.width > 5760 || config->info.height > 5760)
|
||||
return false;
|
||||
|
||||
switch (info->chip_class) {
|
||||
case GFX9:
|
||||
/* There are more constraints, but we always set
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue