Skip to content

Suspend improvements

Thomas Hellström intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/pm: Hold the validation lock around evicting user-space bos for suspenddrivers/gpu/drm/xe/xe_pm.c+7 -01 reply
2/2drm/xe/pm: Add lockdep annotation for the pm_block completiondrivers/gpu/drm/xe/xe_exec.c drivers/gpu/drm/xe/xe_pm.c drivers/gpu/drm/xe/xe_pm.h +1 more+65 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew Auld
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Suspend improvements

Two patches to improve suspend handling and code:

First patch takes the validation lock around user-space eviction. This minimizes the number of bo locks held by racing processes and therefore the likelyhood of a system bo being available for shrinking if needed.

The second patch annotates the pm_block completion to avoid hard-to track down suspend deadlocks moving forward.

Thomas Hellström (2):
drm/xe/pm: Hold the validation lock around evicting user-space bos for
suspend
drm/xe/pm: Add lockdep annotation for the pm_block completion

 drivers/gpu/drm/xe/xe_exec.c |  3 +-
 drivers/gpu/drm/xe/xe_pm.c   | 66 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pm.h   |  2 ++
 drivers/gpu/drm/xe/xe_vm.c   |  2 ++
 4 files changed, 72 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0