Skip to content

Commit a36dbec

Browse files
jbarnes993ickle
authored andcommitted
drm/i915: don't enable FDI & transcoder interrupts after all
We can enable some safely, but FDI and transcoder interrupts can occur and block other interrupts from being detected (like port hotplug events). So keep them disabled by default (they can be re-enabled for debugging display bringup, but should generally be off). Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
1 parent 86b27d8 commit a36dbec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/gpu/drm/i915/i915_irq.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ static void i915_hotplug_work_func(struct work_struct *work)
316316
struct drm_mode_config *mode_config = &dev->mode_config;
317317
struct intel_encoder *encoder;
318318

319+
DRM_DEBUG_KMS("running encoder hotplug functions\n");
320+
319321
list_for_each_entry(encoder, &mode_config->encoder_list, base.head)
320322
if (encoder->hot_plug)
321323
encoder->hot_plug(encoder);
@@ -1649,9 +1651,7 @@ static int ironlake_irq_postinstall(struct drm_device *dev)
16491651
} else {
16501652
hotplug_mask = SDE_CRT_HOTPLUG | SDE_PORTB_HOTPLUG |
16511653
SDE_PORTC_HOTPLUG | SDE_PORTD_HOTPLUG;
1652-
hotplug_mask |= SDE_AUX_MASK | SDE_FDI_MASK | SDE_TRANS_MASK;
1653-
I915_WRITE(FDI_RXA_IMR, 0);
1654-
I915_WRITE(FDI_RXB_IMR, 0);
1654+
hotplug_mask |= SDE_AUX_MASK;
16551655
}
16561656

16571657
dev_priv->pch_irq_mask = ~hotplug_mask;

0 commit comments

Comments
 (0)