summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_gem_execbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/i915_gem_execbuffer.c')
-rw-r--r--sys/dev/pci/drm/i915_gem_execbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_gem_execbuffer.c b/sys/dev/pci/drm/i915_gem_execbuffer.c
index b2cd48e01da..a6dfcc5f6ec 100644
--- a/sys/dev/pci/drm/i915_gem_execbuffer.c
+++ b/sys/dev/pci/drm/i915_gem_execbuffer.c
@@ -143,7 +143,7 @@ i915_gem_execbuffer_move_to_gpu(struct intel_ring_buffer *ring,
}
if (flush_domains & I915_GEM_DOMAIN_CPU)
- inteldrm_chipset_flush(ring->dev->dev_private);
+ i915_gem_chipset_flush(ring->dev);
if (flush_domains & I915_GEM_DOMAIN_GTT)
DRM_WRITEMEMORYBARRIER();