From: Daniel Vetter Date: Fri, 5 Nov 2010 21:23:30 +0000 (+0100) Subject: drm/i915: restore gtt on resume in the drm instead of in intel-gtt.ko X-Git-Tag: v2.6.38-rc1~419^2~23^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76aaf22016caa7764f40e792aaca7b4918312b22;p=pandora-kernel.git drm/i915: restore gtt on resume in the drm instead of in intel-gtt.ko This still uses the agp functions to actually reinstate the mappings (with a gross hack to make agp cooperate), but it wires everything up correctly for the switchover. The call to agp_rebind_memory can be dropped because all non-kms drivers do all their rebinding on EnterVT. v2: Be more paranoid and flush the chipset cache after restoring gtt mappings. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed