summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_gem.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-22 19:14:27 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-22 19:14:27 +1100
commit8da64e9b5951b89700b22a78f9e13d58bb5d0df0 (patch)
treea225ab0c2d46d4fed8ff836eaba72723d7dc3f9f /sys/dev/pci/drm/i915_gem.c
parent59b9d29256cb3784ac50f5437b2d1fb101fb48d1 (diff)
add some missing chipset flush calls
Diffstat (limited to 'sys/dev/pci/drm/i915_gem.c')
-rw-r--r--sys/dev/pci/drm/i915_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915_gem.c b/sys/dev/pci/drm/i915_gem.c
index 23f9bc483e6..31ebe2cd706 100644
--- a/sys/dev/pci/drm/i915_gem.c
+++ b/sys/dev/pci/drm/i915_gem.c
@@ -2520,7 +2520,7 @@ void i915_gem_detach_phys_object(struct drm_device *dev,
}
#endif
}
-// intel_gtt_chipset_flush();
+ inteldrm_chipset_flush(dev->dev_private);
obj->phys_obj->cur_obj = NULL;
obj->phys_obj = NULL;
@@ -2595,7 +2595,7 @@ i915_gem_phys_pwrite(struct drm_device *dev,
ret = copyin((char *)(uintptr_t)args->data_ptr,
vaddr, args->size);
- // intel_gtt_chipset_flush();
+ inteldrm_chipset_flush(dev->dev_private);
return ret;
}