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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17846>
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user