From bc86fd5b1fc899fb7d32c2e0e9e6a5dbbb2048dc Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Wed, 26 Mar 2025 17:13:40 -0700 Subject: [PATCH] intel/dev: Stop checking hwconfig values at driver runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We will move this check into the `intel_dev_info` tool. Unfortunately, this means we will be much less likely to notice inconsistencies, but the current strategy has proven to be far too noisy. For example, if the driver was built in debug mode, then when test suites are running thousands of tests, the current approach can lead to thousands of messages being printed. Closes: mesa/mesa#12141 Signed-off-by: Jordan Justen Reviewed-by: José Roberto de Souza Part-of: --- src/intel/dev/intel_device_info.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 2f2a4c54e66..15870aef2f6 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -1933,8 +1933,6 @@ intel_get_device_info_from_fd(int fd, struct intel_device_info *devinfo, int min intel_device_info_init_was(devinfo); intel_device_info_apply_workarounds(devinfo); - intel_check_hwconfig_items(fd, devinfo); - return true; }