From cb589ee394287fa1291cc7ce564f946d8af73583 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 15 Jul 2021 21:41:06 -0500 Subject: [PATCH] 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: --- 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;