[PATCH] drm/radeon: make use of radeon_gem_init() consistent

Michel Dänzer michel at daenzer.net
Fri May 11 00:12:31 PDT 2012


On Don, 2012-05-10 at 13:00 -0400, alexdeucher at gmail.com wrote: 
> From: Alex Deucher <alexander.deucher at amd.com>
> 
> All radeon_gem_init() does is initialize the gem objects
> list.  radeon_device.c does this explicitly.  r600+ calls
> radeon_gem_init() so the list gets initialized twice.  Older
> asics don't call it at all and rely on the the init in
> radeon_device.c.  Just call radeon_gem_init() in radeon_device.c
> and remove the explicit calls from all the newer asics.
> 
> All asics call radeon_gem_fini() in their fini pathes.  That
> could possibly be cleaned up too.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the dri-devel mailing list