diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-11-05 13:12:18 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 15:14:44 -0500 |
commit | 40ce6575102b23e432932b5ce41c44bf7cc5023b (patch) | |
tree | c14bb9bf62a83e35f81d0aaef55536c324bdbb3b /drivers/char/agp | |
parent | 23ed992a5ebe6964ebe312b54142fbc5e8185cdc (diff) |
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.c | 7 |
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) | |||
1476 | } | 1476 | } |
1477 | EXPORT_SYMBOL(intel_gtt_get); | 1477 | EXPORT_SYMBOL(intel_gtt_get); |
1478 | 1478 | ||
1479 | void intel_gtt_chipset_flush(void) | ||
1480 | { | ||
1481 | if (intel_private.driver->chipset_flush) | ||
1482 | intel_private.driver->chipset_flush(); | ||
1483 | } | ||
1484 | EXPORT_SYMBOL(intel_gtt_chipset_flush); | ||
1485 | |||
1479 | void intel_gmch_remove(struct pci_dev *pdev) | 1486 | void intel_gmch_remove(struct pci_dev *pdev) |
1480 | { | 1487 | { |
1481 | if (intel_private.pcidev) | 1488 | if (intel_private.pcidev) |