All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Properly suspend/resume sub-allocator
@ 2013-03-11 21:06 alexdeucher
  2013-03-11 21:06 ` [PATCH 1/2] drm/radeon: fix S/R on VM systems (cayman/TN/SI) alexdeucher
  2013-03-11 21:06 ` [PATCH 2/2] drm/radeon: tear down the IB pool on suspend alexdeucher
  0 siblings, 2 replies; 5+ messages in thread
From: alexdeucher @ 2013-03-11 21:06 UTC (permalink / raw)
  To: dri-devel; +Cc: Alex Deucher

From: Alex Deucher <alexander.deucher@amd.com>

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(-)

-- 
1.7.7.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-12  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 21:06 [PATCH 0/2] Properly suspend/resume sub-allocator alexdeucher
2013-03-11 21:06 ` [PATCH 1/2] drm/radeon: fix S/R on VM systems (cayman/TN/SI) alexdeucher
2013-03-12  8:59   ` Christian König
2013-03-11 21:06 ` [PATCH 2/2] drm/radeon: tear down the IB pool on suspend alexdeucher
2013-03-12  8:52   ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.