drm/i915: Pass hpd_status_i915[] to intel_get_hpd_pins() in pre-g4x
authorVille Syrjälä <[email protected]>
Thu, 27 Aug 2015 20:56:12 +0000 (23:56 +0300)
committerJani Nikula <[email protected]>
Wed, 2 Sep 2015 13:33:54 +0000 (16:33 +0300)
Pass the correct hpd[] array to intel_get_hpd_pins() on pre-g4x
platforms.

This got broken in the following commit:
commit fd63e2a972c670887e5e8a08440111d3812c0996
Author: Imre Deak <[email protected]>
Date:   Tue Jul 21 15:32:44 2015 -0700

    drm/i915: combine i9xx_get_hpd_pins and pch_get_hpd_pins

Cc: Imre Deak <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Egbert Eich <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/i915_irq.c

index d94c92d842fb9edfc0549257ea1fafb67aa1a820..a2bceb70a3fdf7a63436ac5e6efa6c765b429e38 100644 (file)
@@ -1558,7 +1558,7 @@ static void i9xx_hpd_irq_handler(struct drm_device *dev)
                u32 hotplug_trigger = hotplug_status & HOTPLUG_INT_STATUS_I915;
 
                intel_get_hpd_pins(&pin_mask, &long_mask, hotplug_trigger,
-                                  hotplug_trigger, hpd_status_g4x,
+                                  hotplug_trigger, hpd_status_i915,
                                   i9xx_port_hotplug_long_detect);
                intel_hpd_irq_handler(dev, pin_mask, long_mask);
        }