Mesa (master): amd: enable displayable DCC for everything newer than Navi1x
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 28 19:57:03 UTC 2020
Module: Mesa
Branch: master
Commit: b11ebbe2f6a81af693dbfc7f66092fcc5acb68e2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b11ebbe2f6a81af693dbfc7f66092fcc5acb68e2
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Jul 27 19:24:31 2020 -0400
amd: enable displayable DCC for everything newer than Navi1x
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Acked-by: Leo Liu <leo.liu at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6100>
---
src/amd/common/ac_gpu_info.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c
index a5fd949ac06..8c9e788ac64 100644
--- a/src/amd/common/ac_gpu_info.c
+++ b/src/amd/common/ac_gpu_info.c
@@ -718,7 +718,8 @@ bool ac_query_gpu_info(int fd, void *dev_p,
info->family == CHIP_RENOIR)) ||
(info->drm_minor >= 34 &&
(info->family == CHIP_NAVI12 ||
- info->family == CHIP_NAVI14))) {
+ info->family == CHIP_NAVI14)) ||
+ info->chip_class >= GFX10_3) {
if (info->num_render_backends == 1)
info->use_display_dcc_unaligned = true;
else
More information about the mesa-commit
mailing list