]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/pf: Take RPM during calls to SR-IOV attr.store()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 Oct 2025 22:23:33 +0000 (23:23 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 31 Oct 2025 19:01:33 +0000 (20:01 +0100)
commitf909179475c0de50a3ca5083a43b900eda18d7c9
treefe7a097d948d754b81337da4cdaceeba04f85802
parent5c170a4d9c530e872f2f788d95258fbaa39b4415
drm/xe/pf: Take RPM during calls to SR-IOV attr.store()

We expect that all SR-IOV attr.store() handlers will require active
runtime PM reference. To simplify implementation of those handlers,
take an implicit RPM reference on their behalf. Also wait until PF
completes its restart.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patch.msgid.link/20251030222348.186658-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c