Mesa (staging/21.2): Revert "ac/surface: disallow display DCC for big resolutions"
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 27 21:10:37 UTC 2021
Module: Mesa
Branch: staging/21.2
Commit: 65249e529555e9ebb026bcb8f67bd2a8deccc6af
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65249e529555e9ebb026bcb8f67bd2a8deccc6af
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Wed Oct 27 13:57:13 2021 -0700
Revert "ac/surface: disallow display DCC for big resolutions"
This reverts commit 8e5f1e15cc6cfd80ab762b3d3a529b80b65890bf.
---
.pick_status.json | 2 +-
src/amd/common/ac_surface.c | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/.pick_status.json b/.pick_status.json
index c3894371d5e..85bea29eb1c 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -3775,7 +3775,7 @@
"description": "ac/surface: disallow display DCC for big resolutions",
"nominated": true,
"nomination_type": 0,
- "resolution": 1,
+ "resolution": 0,
"main_sha": null,
"because_sha": null
},
diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c
index 18be8354cb7..698b6064796 100644
--- a/src/amd/common/ac_surface.c
+++ b/src/amd/common/ac_surface.c
@@ -1424,10 +1424,6 @@ 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:
/* Only support 64KB_S_X, so that we have only 1 variant of the retile shader. */
More information about the mesa-commit
mailing list