diff options
author | Mark Janes <markjanes@swizzler.org> | 2022-08-01 15:46:24 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-08-05 18:59:37 +0000 |
commit | bd1c04e187b00b2886bf59b3d7c50bea1d5377da (patch) | |
tree | 15e615434a1f05b2d26cf2ba5f31167944dce1d0 | |
parent | cbc81bdbf5982e98e06d56f14ef407a90c3291a3 (diff) | |
download | mesa-bd1c04e187b00b2886bf59b3d7c50bea1d5377da.tar.gz |
intel/dev: drop warning for unhandled hwconfig keys
The hwconfig api may change unexpectedly prior to public release of
new platforms. Also, public documentation of the hwconfig api
sometimes lags the release.
For these reasons, warnings about unhandled hwconfig keys are noisy,
likely to occur, and unhelpful to most users. This commit drops those
warnings, in favor of a separate internal process for tracking
hwconfig api changes.
Suggested-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
(cherry picked from commit 6401d768b9937083bbd28998769309330a495c44)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17862>
-rw-r--r-- | src/intel/dev/intel_hwconfig.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intel/dev/intel_hwconfig.c b/src/intel/dev/intel_hwconfig.c index e2a49fb442d..4622a030046 100644 --- a/src/intel/dev/intel_hwconfig.c +++ b/src/intel/dev/intel_hwconfig.c @@ -265,10 +265,8 @@ apply_hwconfig_item(struct intel_device_info *devinfo, case INTEL_HWCONFIG_MAX_EU_PER_SUBSLICE: case INTEL_HWCONFIG_RAMBO_L3_BANK_SIZE_IN_KB: case INTEL_HWCONFIG_SLM_SIZE_PER_SS_IN_KB: - break; /* ignore */ default: - fprintf(stderr, "hwconfig key %d (%s) unhandled!\n", item->key, - key_to_name(item->key)); + break; /* ignore */ } } |