]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/pf: Introduce mutex to protect VFs configurations
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 10 Apr 2024 17:03:34 +0000 (19:03 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 12 Apr 2024 14:23:26 +0000 (16:23 +0200)
commit0bdd5b16ba0444f41d538f5927cb9b995d684594
tree74d86aea98256cb83d0d5f4f07ed86eb00caeb62
parent79790b6818e96c58fe2bffee1b418c16e64e7b80
drm/xe/pf: Introduce mutex to protect VFs configurations

PF driver will maintain configurations and resources for every VF
and this data could span multiple tiles and/or GTs.  Prepare mutex
to protect data that we will add in upcoming patches.

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/20240410170338.1199-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_sriov.c
drivers/gpu/drm/xe/xe_sriov_pf.c
drivers/gpu/drm/xe/xe_sriov_pf.h
drivers/gpu/drm/xe/xe_sriov_types.h