Mesa (main): ac/surface: allow gfx6-8 to enter the gfx9 DCC codepath for SI_FORCE_FAMILY
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 24 14:26:33 UTC 2021
Module: Mesa
Branch: main
Commit: 694731ac13b5c3469d7504e909dae0da3ace2fc3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=694731ac13b5c3469d7504e909dae0da3ace2fc3
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Sep 15 15:28:46 2021 -0400
ac/surface: allow gfx6-8 to enter the gfx9 DCC codepath for SI_FORCE_FAMILY
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13871>
---
src/amd/common/ac_surface.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c
index 6448407594a..20942a0120c 100644
--- a/src/amd/common/ac_surface.c
+++ b/src/amd/common/ac_surface.c
@@ -1529,6 +1529,11 @@ static bool is_dcc_supported_by_DCN(const struct radeon_info *info,
return false;
switch (info->chip_class) {
+ case GFX6:
+ case GFX7:
+ case GFX8:
+ /* We can get here due to SI_FORCE_FAMILY. */
+ return false;
case GFX9:
/* There are more constraints, but we always set
* INDEPENDENT_64B_BLOCKS = 1 and MAX_COMPRESSED_BLOCK_SIZE = 64B,
More information about the mesa-commit
mailing list