drm/xe/pf: Add support to configure GuC SR-IOV policies
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 10 Apr 2024 17:03:38 +0000 (19:03 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Apr 2024 14:23:37 +0000 (16:23 +0200)
commit48b05e3c3dbbac4275c3e94bed68a36bec6bddfe
treee0e063b24b5cbe39f8342cd2e0e94c2fe73fa9a6
parent0ddc1e0721d410ae09a8ea4cbfebfb20bc1e2e03
drm/xe/pf: Add support to configure GuC SR-IOV policies

There are few knobs inside GuC firmware to control VFs scheduling.
Add basic functions to support their reconfigurations.
We will start using them shortly once we prepare debugfs.

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