]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe/pf: Update the LMTT when freeing VF GT config
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 27 May 2024 11:54:08 +0000 (13:54 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 31 May 2024 12:44:09 +0000 (14:44 +0200)
commitc063cce7df3a765539e2a2d75ab943f334446cce
treed3afd27ec1a71033d7e11a9bb6b067d882a0b3fc
parent2d3789e325e6aa91d228aa461c152d8e8f107bc4
drm/xe/pf: Update the LMTT when freeing VF GT config

The LMTT must be updated whenever we change the VF LMEM configuration.
We missed that step when freeing the whole VF GT config, which could
result in stale PTE in LMTT or LMTT PT object leaks. Fix that.

Fixes: ac6598aed1b3 ("drm/xe/pf: Add support to configure SR-IOV VFs")
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/20240527115408.1064-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c