Skip to content

Commit f01c22f

Browse files
icklekeith-packard
authored andcommitted
drm/i915: Use chipset-specific irq installers
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 <[email protected]> Signed-off-by: Keith Packard <[email protected]>
1 parent 2573282 commit f01c22f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/i915_gem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,8 +2080,8 @@ i915_wait_request(struct intel_ring_buffer *ring,
20802080
if (!ier) {
20812081
DRM_ERROR("something (likely vbetool) disabled "
20822082
"interrupts, re-enabling\n");
2083-
i915_driver_irq_preinstall(ring->dev);
2084-
i915_driver_irq_postinstall(ring->dev);
2083+
ring->dev->driver->irq_preinstall(ring->dev);
2084+
ring->dev->driver->irq_postinstall(ring->dev);
20852085
}
20862086

20872087
trace_i915_gem_request_wait_begin(ring, seqno);

0 commit comments

Comments
 (0)