From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com,
Sergey Senozhatsky <senozhatsky@chromium.org>,
Ville Syrjala <ville.syrjala@linux.intel.com>,
Suraj Kandpal <suraj.kandpal@intel.com>
Subject: [PATCH v3 0/6] drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases
Date: Fri, 13 Dec 2024 16:15:52 +0200 [thread overview]
Message-ID: <cover.1734099220.git.jani.nikula@intel.com> (raw)
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@intel.com
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
next reply other threads:[~2024-12-13 14:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 14:15 Jani Nikula [this message]
2024-12-13 14:15 ` [PATCH v3 1/6] drm/i915/ddi: change intel_ddi_init_{dp, hdmi}_connector() return type Jani Nikula
2024-12-13 15:05 ` [PATCH v3 1/6] drm/i915/ddi: change intel_ddi_init_{dp,hdmi}_connector() " Kandpal, Suraj
2024-12-16 11:38 ` Jani Nikula
2024-12-13 14:15 ` [PATCH v3 2/6] drm/i915/hdmi: propagate errors from intel_hdmi_init_connector() Jani Nikula
2024-12-13 14:15 ` [PATCH v3 3/6] drm/i915/hdmi: add error handling in g4x_hdmi_init() Jani Nikula
2024-12-13 14:15 ` [PATCH v3 4/6] drm/i915/ddi: gracefully handle errors from intel_ddi_init_hdmi_connector() Jani Nikula
2024-12-16 18:20 ` Kandpal, Suraj
2024-12-13 14:15 ` [PATCH v3 5/6] drm/i915/display: add intel_encoder_is_hdmi() Jani Nikula
2024-12-13 14:15 ` [PATCH v3 6/6] drm/i915/ddi: only call shutdown hooks for valid encoders Jani Nikula
2024-12-13 14:47 ` ✗ Fi.CI.SPARSE: warning for drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev2) Patchwork
2024-12-13 15:01 ` ✓ i915.CI.BAT: success " Patchwork
2024-12-13 19:54 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-17 13:35 ` Jani Nikula
2024-12-19 6:54 ` [PATCH v3 0/6] drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases Sergey Senozhatsky
2024-12-19 7:14 ` Sergey Senozhatsky
2024-12-20 10:33 ` ✗ Fi.CI.SPARSE: warning for drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev3) Patchwork
2024-12-20 10:55 ` ✗ i915.CI.BAT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1734099220.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=senozhatsky@chromium.org \
--cc=suraj.kandpal@intel.com \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).