]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/pf: Track adverse events notifications from GuC
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 14 May 2024 19:00:14 +0000 (21:00 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 16 May 2024 16:04:51 +0000 (18:04 +0200)
commit335d62ade5feaa46082f8da755ffdc569ae51768
tree26c1fdf33d947ce5bce0b796d38224df789c378b
parentd5e12fffcc01b3a22157a9cd4a7474ee6355182e
drm/xe/pf: Track adverse events notifications from GuC

When thresholds used to monitor VFs activities are configured,
then GuC may send GUC2PF_ADVERSE_EVENT messages informing the
PF driver about exceeded thresholds. Start handling such messages.

Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240514190015.2172-8-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor_types.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h
drivers/gpu/drm/xe/xe_guc_ct.c