Skip to content

Properly suspend/resume sub-allocator

[email protected] dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/radeon: fix S/R on VM systems (cayman/TN/SI)drivers/gpu/drm/radeon/ni.c drivers/gpu/drm/radeon/si.c+2 -01 reply
2/2drm/radeon: tear down the IB pool on suspenddrivers/gpu/drm/radeon/evergreen.c drivers/gpu/drm/radeon/ni.c drivers/gpu/drm/radeon/r100.c +9 more+12 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDmitry CherkasovChristian König
1/2T-b R-b
2/2

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] Properly suspend/resume sub-allocator

From: Alex Deucher <[email protected]>

This patch set is a bit of a heavy hammer, but I'm
not sure it's worth the effort to create separate suspend functions for all sub-allocator
users that basically just calls radeon_sa_bo_manager_suspend() and fix up all the sub allocator init functions to call radeon_sa_bo_manager_start() since all we are really avoiding is the allocation of sub-allocator bo. Additionally in the VM case, we have to tear down all the VMs on suspend since the physical addresses of various buffers may have changed on resume.

The first patch fixes suspend and resume on cards with VM in use.

The second patches doesn't fix any bugs that I know of, but the current code seems wrong to me unless I'm missing something.

Alex Deucher (2):
drm/radeon: fix S/R on VM systems (cayman/TN/SI) drm/radeon: tear down the IB pool on suspend

 drivers/gpu/drm/radeon/evergreen.c |    1 +
 drivers/gpu/drm/radeon/ni.c        |    2 ++
 drivers/gpu/drm/radeon/r100.c      |    1 +
 drivers/gpu/drm/radeon/r300.c      |    1 +
 drivers/gpu/drm/radeon/r420.c      |    1 +
 drivers/gpu/drm/radeon/r600.c      |    1 +
 drivers/gpu/drm/radeon/rs400.c     |    1 +
 drivers/gpu/drm/radeon/rs600.c     |    1 +
 drivers/gpu/drm/radeon/rs690.c     |    1 +
 drivers/gpu/drm/radeon/rv515.c     |    1 +
 drivers/gpu/drm/radeon/rv770.c     |    1 +
 drivers/gpu/drm/radeon/si.c        |    2 ++
 12 files changed, 14 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.7.5