Skip to content

Commit

Permalink
drm/i915: Use chipset-specific irq installers
Browse files Browse the repository at this point in the history
Konstantin Belousov pointed out that 4697995 replaced the generic
i915_driver_irq_*install() functions with chipset specific routines
accessible only through driver->irq_*install(). So update the sanity
check in i915_request_wait() to match.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
Chris Wilson authored and Keith Packard committed Jun 28, 2011
1 parent 2573282 commit f01c22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,8 +2080,8 @@ i915_wait_request(struct intel_ring_buffer *ring,
if (!ier) {
DRM_ERROR("something (likely vbetool) disabled "
"interrupts, re-enabling\n");
i915_driver_irq_preinstall(ring->dev);
i915_driver_irq_postinstall(ring->dev);
ring->dev->driver->irq_preinstall(ring->dev);
ring->dev->driver->irq_postinstall(ring->dev);
}

trace_i915_gem_request_wait_begin(ring, seqno);
Expand Down

0 comments on commit f01c22f

Please sign in to comment.