summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.c')
-rw-r--r--sys/dev/pci/drm/i915_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index 245d66b2a76..68e98e78d07 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -1379,9 +1379,9 @@ nope:
}
void
-inteldrm_chipset_flush(struct inteldrm_softc *dev_priv)
+i915_gem_chipset_flush(struct drm_device *dev)
{
- struct drm_device *dev = (struct drm_device *)dev_priv->drmdev;
+ drm_i915_private_t *dev_priv = dev->dev_private;
/*
* Write to this flush page flushes the chipset write cache.