From: Jayesh Choudhary <j-choudhary@ti.com>
To: <dianders@chromium.org>, <andrzej.hajda@intel.com>,
<neil.armstrong@linaro.org>, <rfoss@kernel.org>,
<Laurent.pinchart@ideasonboard.com>,
<dri-devel@lists.freedesktop.org>,
<tomi.valkeinen@ideasonboard.com>,
<alexander.stein@ew.tq-group.com>
Cc: <jonas@kwiboo.se>, <jernej.skrabec@gmail.com>,
<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
<tzimmermann@suse.de>, <airlied@gmail.com>, <simona@ffwll.ch>,
<lumag@kernel.org>, <jani.nikula@intel.com>,
<andy.yan@rock-chips.com>, <mordan@ispras.ru>,
<linux@treblig.org>, <viro@zeniv.linux.org.uk>,
<yamonkar@cadence.com>, <sjakhade@cadence.com>,
<quentin.schulz@free-electrons.com>, <jsarha@ti.com>,
<linux-kernel@vger.kernel.org>, <devarsht@ti.com>,
<j-choudhary@ti.com>
Subject: [RFC PATCH v2 0/3] CDNS-MHDP8546 minor cleanups
Date: Wed, 21 May 2025 13:02:34 +0530 [thread overview]
Message-ID: <20250521073237.366463-1-j-choudhary@ti.com> (raw)
Hello All,
These 3 patches does some fixup for the cdns-mhdp8546 bridge.
- First of all, it removes the legacy !DRM_BRIDGE_ATTACH_NO_CONNECTOR
usecase.
- Then it fixes possible NULL POINTER in cdns_mhdp_modeset_retry_fn
function call where the connector mutex is called. Since we cannot
use the atomic_state in these worker threads, we cannot get to
connector state in the worker thread. So we ensure that connector
field is propagated before the first possible call for this worker
thread by using pointer to the drm_connector.
- Then it reduces log level inside cdns_mhdp_transfer to avoid flooding
of these logs.
v1 patch:
<https://lore.kernel.org/all/20250116111636.157641-1-j-choudhary@ti.com/>
Changelog v1->v2:
- Remove !DRM_BRIDGE_ATTACH_NO_CONNECTOR entirely
- Add mode_valid in drm_bridge_funcs[0]
- Fix NULL POINTER differently since we cannot access atomic_state
- Reduce log level in cdns_mhdp_transfer call
[0]: https://lore.kernel.org/all/20240530091757.433106-1-j-choudhary@ti.com/
Jayesh Choudhary (3):
drm/bridge: cadence: cdns-mhdp8546-core: Remove legacy support for
connector initialisation in bridge
drm/bridge: cadence: cdns-mhdp8546*: Change drm_connector from pointer
to structure
drm/bridge: cadence: cdns-mhdp8546-core: Reduce log level for DPCD
read/write
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 218 ++++--------------
.../drm/bridge/cadence/cdns-mhdp8546-core.h | 2 +-
.../drm/bridge/cadence/cdns-mhdp8546-hdcp.c | 8 +-
3 files changed, 46 insertions(+), 182 deletions(-)
--
2.34.1
next reply other threads:[~2025-05-21 7:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 7:32 Jayesh Choudhary [this message]
2025-05-21 7:32 ` [RFC PATCH v2 1/3] drm/bridge: cadence: cdns-mhdp8546-core: Remove legacy support for connector initialisation in bridge Jayesh Choudhary
2025-05-21 8:15 ` Andy Yan
2025-05-21 8:26 ` Andy Yan
2025-05-27 7:38 ` [RFC " Tomi Valkeinen
2025-05-27 8:41 ` Jayesh Choudhary
2025-05-27 9:17 ` Tomi Valkeinen
2025-05-27 10:49 ` Jayesh Choudhary
2025-05-21 7:32 ` [RFC PATCH v2 2/3] drm/bridge: cadence: cdns-mhdp8546*: Change drm_connector from pointer to structure Jayesh Choudhary
2025-05-27 7:58 ` Tomi Valkeinen
2025-05-27 9:29 ` Jayesh Choudhary
2025-05-27 10:39 ` Jayesh Choudhary
2025-05-27 11:37 ` Tomi Valkeinen
2025-05-28 11:25 ` Jayesh Choudhary
2025-05-28 12:32 ` Tomi Valkeinen
2025-05-21 7:32 ` [RFC PATCH v2 3/3] drm/bridge: cadence: cdns-mhdp8546-core: Reduce log level for DPCD read/write Jayesh Choudhary
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=20250521073237.366463-1-j-choudhary@ti.com \
--to=j-choudhary@ti.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=andrzej.hajda@intel.com \
--cc=andy.yan@rock-chips.com \
--cc=devarsht@ti.com \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=jsarha@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@treblig.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mordan@ispras.ru \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quentin.schulz@free-electrons.com \
--cc=rfoss@kernel.org \
--cc=simona@ffwll.ch \
--cc=sjakhade@cadence.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tzimmermann@suse.de \
--cc=viro@zeniv.linux.org.uk \
--cc=yamonkar@cadence.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
all inboxes | Powered by JetHome®