summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-11-05 18:12:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-23 21:14:44 +0100
commit40ce6575102b23e432932b5ce41c44bf7cc5023b (patch)
treec14bb9bf62a83e35f81d0aaef55536c324bdbb3b /drivers/char/agp
parentdrm/i915|intel-gtt: consolidate intel-gtt.h headers (diff)
downloadlinux-40ce6575102b23e432932b5ce41c44bf7cc5023b.tar.xz
linux-40ce6575102b23e432932b5ce41c44bf7cc5023b.zip
drm/i915/gtt: call chipset flush directly
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/intel-gtt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 291ac5113576..8e2e208c925b 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1476,6 +1476,13 @@ const struct intel_gtt *intel_gtt_get(void)
}
EXPORT_SYMBOL(intel_gtt_get);
+void intel_gtt_chipset_flush(void)
+{
+ if (intel_private.driver->chipset_flush)
+ intel_private.driver->chipset_flush();
+}
+EXPORT_SYMBOL(intel_gtt_chipset_flush);
+
void intel_gmch_remove(struct pci_dev *pdev)
{
if (intel_private.pcidev)