[PATCH v3 0/6] drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another round of [1], adding patch 1 and slightly modifying patch 4.

There are cases where we want to gracefully handle but *not* propagate
errors from HDMI connector init, because we don't want to fail the
entire DDI init, as the DP could still be functional.

BR,
Jani.

[1] https://lore.kernel.org/r/cover.1733324735.git.jani.nikula@xxxxxxxxx

Jani Nikula (6):
  drm/i915/ddi: change intel_ddi_init_{dp,hdmi}_connector() return type
  drm/i915/hdmi: propagate errors from intel_hdmi_init_connector()
  drm/i915/hdmi: add error handling in g4x_hdmi_init()
  drm/i915/ddi: gracefully handle errors from
    intel_ddi_init_hdmi_connector()
  drm/i915/display: add intel_encoder_is_hdmi()
  drm/i915/ddi: only call shutdown hooks for valid encoders

 drivers/gpu/drm/i915/display/g4x_hdmi.c       | 35 ++++++++++++------
 drivers/gpu/drm/i915/display/g4x_hdmi.h       |  5 ++-
 drivers/gpu/drm/i915/display/intel_ddi.c      | 37 ++++++++++++-------
 .../drm/i915/display/intel_display_types.h    | 13 +++++++
 drivers/gpu/drm/i915/display/intel_hdmi.c     | 10 +++--
 drivers/gpu/drm/i915/display/intel_hdmi.h     |  2 +-
 6 files changed, 69 insertions(+), 33 deletions(-)

-- 
2.39.5




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux