radeonsi: disable display DCC

Display DCC needs https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2836
to work correctly.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3440>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3440>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-01-17 09:37:57 +01:00 committed by Dylan Baker
parent 23f23f23cb
commit 7f7ceb368f

View file

@ -595,10 +595,13 @@ bool ac_query_gpu_info(int fd, void *dev_p,
(info->family == CHIP_RAVEN ||
info->family == CHIP_RAVEN2 ||
info->family == CHIP_RENOIR)) {
/* Disable display DCC support because it depends
* on MR !2836 to work correctly.
*/
if (info->num_render_backends == 1)
info->use_display_dcc_unaligned = true;
info->use_display_dcc_unaligned = false;
else
info->use_display_dcc_with_retile_blit = true;
info->use_display_dcc_with_retile_blit = false;
}
info->has_gds_ordered_append = info->chip_class >= GFX7 &&