[PATCH] drm/radeon: use pointers instead of indexes for CS chunks

2014-12-03 Thread Christian König
From: Christian König 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 --- drivers/gpu/drm/radeon/evergreen_cs.c | 6 ++-- drivers/gpu/drm/radeon/r100.c | 2 +- drivers/gp

[PATCH] drm/radeon: use pointers instead of indexes for CS chunks

2014-12-03 Thread Alex Deucher
On Wed, Dec 3, 2014 at 9:53 AM, Christian König wrote: > From: Christian König > > 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 Applied to my -next tree. Thanks, Alex