drm/i915: Clean steer semaphore on resume
authorNirmoy Das <nirmoy.das@intel.com>
Thu, 28 Sep 2023 13:00:14 +0000 (15:00 +0200)
committerNirmoy Das <nirmoy.das@intel.com>
Fri, 29 Sep 2023 07:11:55 +0000 (09:11 +0200)
commit37280ef5c1c4f600d18dbf8588c4bd3325efe156
tree8c3a8aca79c11b71bdbadb6d988b4344a193a875
parent35ba33f76c2f514d6ece6ded44c4bd0d68ba68c9
drm/i915: Clean steer semaphore on resume

During resume, the steer semaphore on GT1 was observed to be held. The
hardware team has confirmed the safety of clearing steer semaphores
for all GTs during driver load/resume, as no lock acquisitions can occur
in this process by other agents.

v2: reset on resume not in intel_gt_init().
v3: do the reset on intel_gt_resume_early()
v4: do general sanitization for all GTs(Matt)

Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230928130015.6758-3-nirmoy.das@intel.com
drivers/gpu/drm/i915/gt/intel_gt_pm.c