Mesa (main): ac: Enable 32bit predication on gfx10.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jun 11 06:25:26 UTC 2021
Module: Mesa
Branch: main
Commit: fc437ef9440f0e67aefcd0e882d28fc8841a8646
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc437ef9440f0e67aefcd0e882d28fc8841a8646
Author: Georg Lehmann <dadschoorse at gmail.com>
Date: Thu Jun 10 14:14:24 2021 +0200
ac: Enable 32bit predication on gfx10.
Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11297>
---
src/amd/common/ac_gpu_info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c
index ab778a36e20..bc7be71b23c 100644
--- a/src/amd/common/ac_gpu_info.c
+++ b/src/amd/common/ac_gpu_info.c
@@ -909,7 +909,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
/* Support for GFX10.3 was added with F32_ME_FEATURE_VERSION_31 but the
* feature version wasn't bumped.
*/
- info->has_32bit_predication = info->chip_class >= GFX10_3 &&
+ info->has_32bit_predication = info->chip_class >= GFX10 &&
info->me_fw_feature >= 32;
/* Get the number of good compute units. */
More information about the mesa-commit
mailing list