]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Check EQ/PT/PRIO when testing VF config
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 2 Apr 2026 19:17:21 +0000 (21:17 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 12 Apr 2026 08:32:52 +0000 (10:32 +0200)
commit0701bf6fce0aa6f0f2122c9a324bd954d3d91b0b
treefa7a9960d122db97abdf25d627a86d869a2666ae
parent43533f75c4577885da1f2e6fddeb88ccf61005f0
drm/xe/pf: Check EQ/PT/PRIO when testing VF config

In addition to the hard resources (like GGTT, CTXs, DBs) we should
also check if VF was already configured (by sysfs or debugfs) with
optional parameters like execution quantum (EQ), preemption timeout
(PT) or scheduling priority (PRIO) as otherwise we might miss to
send to the GuC updated latest values after a resume or GT reset.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20260402191726.4932-9-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c