drm/radeon: use pointers instead of indexes for CS chunks
authorChristian König <christian.koenig@amd.com>
Wed, 3 Dec 2014 14:53:24 +0000 (15:53 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Dec 2014 23:26:53 +0000 (18:26 -0500)
commit6d2d13dd0e746a2bbdd2159abbdf603f0e37189e
treeb4785d60b69a5d686a62967a6b18ec77e95eb65a
parent466be3386f1c14451a9a9c0a586a9df5f06eecdf
drm/radeon: use pointers instead of indexes for CS chunks

Nobody is interested at which index the chunk is. What's needed is
a pointer to the chunk. Remove unused chunk_id field as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r600_cs.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_trace.h
drivers/gpu/drm/radeon/radeon_uvd.c
drivers/gpu/drm/radeon/radeon_vce.c