summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/i915_irq.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2008-11-22 05:03:26 +0000
committeroga <oga@openbsd.org>2008-11-22 05:03:26 +0000
commiteeba14a6e891a9c1fb5e46b0fc2307738ff9b41a (patch)
treeb55ce943671768d174fd705ce6833fd3943f3f02 /sys/dev/pci/drm/i915_irq.c
parentinteldrm currently checks the pcidev of the device every time it needs to check (diff)
downloadwireguard-openbsd-eeba14a6e891a9c1fb5e46b0fc2307738ff9b41a.tar.xz
wireguard-openbsd-eeba14a6e891a9c1fb5e46b0fc2307738ff9b41a.zip
Slightly fix up previous
Diffstat (limited to 'sys/dev/pci/drm/i915_irq.c')
-rw-r--r--sys/dev/pci/drm/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_irq.c b/sys/dev/pci/drm/i915_irq.c
index e1f4d5119c9..34efc2de3b1 100644
--- a/sys/dev/pci/drm/i915_irq.c
+++ b/sys/dev/pci/drm/i915_irq.c
@@ -364,7 +364,7 @@ int i915_enable_vblank(struct drm_device *dev, int plane)
int pipe = i915_get_pipe(dev, plane);
mtx_enter(&dev_priv->user_irq_lock);
- i915_enable_pipestat(dev_priv, pipe, (IS_I965G(dev) ?
+ i915_enable_pipestat(dev_priv, pipe, (IS_I965G(dev_priv) ?
PIPE_START_VBLANK_INTERRUPT_ENABLE : PIPE_VBLANK_INTERRUPT_ENABLE));
mtx_leave(&dev_priv->user_irq_lock);