]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe/vf: Ignore force-wake requests if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 11 Jun 2024 16:35:37 +0000 (18:35 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 12 Jun 2024 09:57:05 +0000 (11:57 +0200)
commit513ea833c20109d475b4ace9e6a18f6c0c25de4c
tree9fbfd846339d683f2e7c0a1ab0c7d93012d7d2ed
parentec8727568299255798da50ffa97c9b479da56543
drm/xe/vf: Ignore force-wake requests if VF

The control and ack force-wake registers are not accessible for
the VF drivers. To avoid changing existing code logic that tracks
woken domains, simply ignore all attempts to access control or ack
registers if we are running as a VF driver.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240611163537.1944-6-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_force_wake.c