drm/radeon: rework ring function handling
authorChristian König <christian.koenig@amd.com>
Tue, 13 Aug 2013 09:56:50 +0000 (11:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:39 +0000 (16:30 -0400)
commit76a0df859defc53e6cb61f698a48ac7da92c8d84
tree7882f906bd5bb67bd95088bc853117295a85a48d
parent4543eda52113d1e2cc0e9bf416f79597e6ef1ec7
drm/radeon: rework ring function handling

Give the ring functions a separate structure and let the asic
structure point to the ring specific functions. This simplifies
the code and allows us to make changes at only one point.

No change in functionality.

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