From: John Kacur Date: Sun, 31 Jan 2010 19:38:03 +0000 (+0100) Subject: drm/kms/radeon/agp: Move the check of the aper_size after drm_acp_acquire and drm_agp... X-Git-Tag: v2.6.33-rc7~46^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dea2e29b9fad48c759aa406b5ea426bff4339af;p=pandora-kernel.git drm/kms/radeon/agp: Move the check of the aper_size after drm_acp_acquire and drm_agp_info First call drm_agp_acquire to check if agp has been acquired. Second call drm_agp_info to fill in the info data struct, including aper_size. Finally do the check to see if the aper_size makes sense. Signed-off-by: John Kacur Signed-off-by: Dave Airlie --- Reading git-diff-tree failed