summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2020-01-17 09:37:57 +0100
committerDylan Baker <dylan@pnwbakers.com>2020-02-03 08:31:30 -0800
commit7f7ceb368f2e5294aad73625c09503fea7dcbb43 (patch)
tree96a7f65195d5223444103e2cda6b52ca19ea55e4
parent23f23f23cbcfbd7f1e9dfbf81424ee0cbb5e058b (diff)
downloadmesa-7f7ceb368f2e5294aad73625c09503fea7dcbb43.tar.gz
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>
-rw-r--r--src/amd/common/ac_gpu_info.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c
index 06f09fce74e..584aee7872e 100644
--- a/src/amd/common/ac_gpu_info.c
+++ b/src/amd/common/ac_gpu_info.c
@@ -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 &&