]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/pf: Add function to sanitize VF resources
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 28 Aug 2024 21:08:06 +0000 (23:08 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 30 Aug 2024 08:51:06 +0000 (10:51 +0200)
commit16ba2b28df3a83443fc6b4e5491189d2e5caca64
treeb395c2428af4e44499fd33fd161505d96ced1f5d
parent02a416afbe127b1c9ce85ffa340c0a32dbc53184
drm/xe/pf: Add function to sanitize VF resources

On current platforms it is a PF driver responsibility to clear
some of the VF's resources during a VF FLR. Add simple function
that will clear configured VF resources (GGTT, LMEM). We will
start using this function soon.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240828210809.1528-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h