drm/radeon: update rptr saving logic for memory buffers
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jul 2012 18:02:31 +0000 (14:02 -0400)
committerChristian König <deathsimple@vodafone.de>
Wed, 18 Jul 2012 11:53:17 +0000 (13:53 +0200)
commit89d35807fb0fe53b84e88e759cc39107a6195e5f
treeafb2e2cb9439239e6f83ad339ad624f42d012adc
parent8b25ed3482885e5f1dc65ace796e90f879d76c52
drm/radeon: update rptr saving logic for memory buffers

Add support for using memory buffers rather than
scratch registers.  Some rings may not be able to
write to scratch registers.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/si.c