drm/radeon: remove radeon_ring_index()
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jul 2012 18:02:30 +0000 (14:02 -0400)
committerChristian König <deathsimple@vodafone.de>
Wed, 18 Jul 2012 11:33:54 +0000 (13:33 +0200)
commit8b25ed3482885e5f1dc65ace796e90f879d76c52
treea7007f257a3bf108d18af6a7ca5ff7d6ed59c429
parenta85a7da4c5922e6621526946d5a56b2194692fdd
drm/radeon: remove radeon_ring_index()

Just store the index in the ring structure.
Idea taken from one of Jerome's wip rptr patches.

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