From: Jerome Glisse Date: Wed, 13 Jan 2010 14:16:38 +0000 (+0100) Subject: drm/radeon/kms: Use radeon_agp_disable when disabling AGP X-Git-Tag: v2.6.33-rc6~27^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700a0cc088a42a2ed92c6f961534fdb38588af87;p=pandora-kernel.git drm/radeon/kms: Use radeon_agp_disable when disabling AGP Use same common function to disable agp so we replace the GART callback by the proper one when we do so. This fix oops if radeon_agp_init report failure. This patch also move radeon_agp_init out of *_mc_init for r600 & rv770 so that we can have a similar behavior than for previous hw, ie if agp_init fails it will fallback to GPU GART and disable AGP. Signed-off-by: Jerome Glisse Signed-off-by: Dave Airlie --- Reading git-diff-tree failed