From: Zhenyu Wang Date: Thu, 19 Jun 2008 04:00:37 +0000 (+1000) Subject: [AGP] intel_agp: extra stolen mem size available for IGD_GM chipset X-Git-Tag: v2.6.26-rc7~14^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=598d14482380312939a3e3a4ae0657eb6b50a532;p=linux-2.6-omap-h63xx.git [AGP] intel_agp: extra stolen mem size available for IGD_GM chipset This adds missing stolen memory size detect for IGD_GM, be sure to detect right size as current X intel driver (2.3.2) which has already worked out. Signed-off-by: Zhenyu Wang Signed-off-by: Dave Airlie --- diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 02356595ac1..e73f8f01328 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c @@ -567,13 +567,13 @@ static void intel_i830_init_gtt_entries(void) gtt_entries = 0; break; case G33_GMCH_GMS_STOLEN_128M: - if (IS_G33) + if (IS_G33 || IS_I965) gtt_entries = MB(128) - KB(size); else gtt_entries = 0; break; case G33_GMCH_GMS_STOLEN_256M: - if (IS_G33) + if (IS_G33 || IS_I965) gtt_entries = MB(256) - KB(size); else gtt_entries = 0;