We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7603ba8 commit 8ea07e2Copy full SHA for 8ea07e2
drivers/gpu/drm/i915/display/intel_ddi.c
@@ -4757,7 +4757,16 @@ static int intel_ddi_init_hdmi_connector(struct intel_digital_port *dig_port)
4757
return -ENOMEM;
4758
4759
dig_port->hdmi.hdmi_reg = DDI_BUF_CTL(port);
4760
- intel_hdmi_init_connector(dig_port, connector);
+
4761
+ if (!intel_hdmi_init_connector(dig_port, connector)) {
4762
+ /*
4763
+ * HDMI connector init failures may just mean conflicting DDC
4764
+ * pins or not having enough lanes. Handle them gracefully, but
4765
+ * don't fail the entire DDI init.
4766
+ */
4767
+ dig_port->hdmi.hdmi_reg = INVALID_MMIO_REG;
4768
+ kfree(connector);
4769
+ }
4770
4771
return 0;
4772
}
0 commit comments