[PATCH] drm/radeon/kms: clean up gart dummy page handling

Michel Dänzer michel at daenzer.net
Tue Apr 12 10:41:11 PDT 2011


On Die, 2011-04-12 at 13:32 -0400, Alex Deucher wrote: 
> As per Konrad's original patch, the dummy page used
> by the gart code and allocated in radeon_gart_init()
> was not freed properly in radeon_gart_fini().
> 
> At the same time r6xx and newer allocated and freed the
> dummy page on their own.  So to do Konrad's patch one
> better, just remove the allocation and freeing of the
> dummy page in the r6xx, 7xx, evergreen, and ni code and
> allocate and free in the gart_init/fini() functions for
> all asics.
> 
> Cc: Konrad Rzeszutek Wilk <konrad.wilk at oracle.com>
> Cc: Jerome Glisse <jglisse at redhat.com>
> Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

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


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


More information about the dri-devel mailing list