From: Alex Deucher Date: Thu, 10 May 2012 17:00:06 +0000 (-0400) Subject: drm/radeon: make use of radeon_gem_init() consistent X-Git-Tag: v3.5-rc1~100^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9c3dd0220600391611637c2f04371dbc896e21;p=pandora-kernel.git drm/radeon: make use of radeon_gem_init() consistent 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 Reviewed-by: Michel Dänzer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed