]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Add handling for MLRC adverse event threshold
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 16 Dec 2025 21:48:59 +0000 (22:48 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 17 Dec 2025 22:42:46 +0000 (23:42 +0100)
commit487524c891d3cc21eb6d243c2885273c5b142b44
tree65ab31245c1246fd2830bd5f121c393f1ed5feda
parent4cffecaf127ae10ada4da0636f87e0170e347402
drm/xe/pf: Add handling for MLRC adverse event threshold

Since it is illegal to register a MLRC context when scheduler groups are
enabled, the GuC consider the VF doing so as an adverse event. Like for
other adverse event, there is a threshold for how many times the event
can happen before the GuC throws an error, which we need to add support
for.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Acked-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20251216214902.1429-5-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/abi/guc_klvs_abi.h
drivers/gpu/drm/xe/xe_guc_klv_thresholds_set_types.h