[PATCH v2 0/4] Prepare Xe force-wake code for VFs

Michal Wajdeczko michal.wajdeczko at intel.com
Tue Jun 11 10:07:53 UTC 2024


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.

But before doing that, make some improvements inside xe_force_wake.c

v1: https://patchwork.freedesktop.org/series/134690/#rev1
v2: remove ret2 and rename str_wake_sleep helper param (Rodrigo)
    drop inline from str_wake_sleep helper (Michal)

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Cc: Badal Nilawar <badal.nilawar at intel.com>

Michal Wajdeczko (4):
  drm/xe: Prefer GT oriented messages in xe_force_wake.c
  drm/xe: Include additional info on failed force-wake operation
  drm/xe: Combine common force-wake code into helpers
  drm/xe/vf: Ignore force-wake requests if VF

 drivers/gpu/drm/xe/xe_force_wake.c | 71 ++++++++++++++++++------------
 1 file changed, 42 insertions(+), 29 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list