Mesa (main): intel/dev: Drop a bogus assert
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 16 02:54:24 UTC 2021
Module: Mesa
Branch: main
Commit: cb589ee394287fa1291cc7ce564f946d8af73583
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb589ee394287fa1291cc7ce564f946d8af73583
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Jul 15 21:41:06 2021 -0500
intel/dev: Drop a bogus assert
In c24ba6cecbac, I copied over the CHV thread count code from i965 and
ANV into common code. While at it, I added an assert that I thought
should be true based on the comments. It turns out to be invalid. Drop
it.
Fixes: c24ba6cecbac "intel/dev: Handle CHV CS thread weirdness in..."
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5072
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11918>
---
src/intel/dev/intel_device_info.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c
index 4a7cea5a718..156519dffc1 100644
--- a/src/intel/dev/intel_device_info.c
+++ b/src/intel/dev/intel_device_info.c
@@ -1447,7 +1447,6 @@ fixup_chv_device_info(struct intel_device_info *devinfo)
eu_total / subslice_total * devinfo->num_thread_per_eu;
/* Fuse configurations may give more threads than expected, never less. */
- assert(max_cs_threads >= devinfo->max_cs_threads);
if (max_cs_threads > devinfo->max_cs_threads)
devinfo->max_cs_threads = max_cs_threads;
More information about the mesa-commit
mailing list