mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Damon Ding <damon.ding@rock-chips.com>
To: Nikita Zhandarovich <n.zhandarovich@fintech.ru>,
	Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>
Cc: "Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>,
	"Sandy Huang" <hjc@rock-chips.com>,
	"Heiko Stübner" <heiko@sntech.de>, "Andy Yan" <andyshrk@163.com>,
	"Alexandre Marquet" <tb@a-marquet.fr>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>,
	linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	lvc-project@linuxtesting.org
Subject: Re: [PATCH v2 1/3] drm/bridge: analogix_dp: Check runtime resume before accessing hardware
Date: Mon, 30 Nov 2026 20:00:13 +0800	[thread overview]
Message-ID: <b6dabdd9-3295-4201-b389-4b86faf167e9@rock-chips.com> (raw)
In-Reply-To: <20261125153958.1349811-2-n.zhandarovich@fintech.ru>

Hi Nikita,

On 11/25/2026 11:39 PM, Nikita Zhandarovich wrote:
> Check runtime resume before continuing with the bridge's initialization
> or accessing AUX registers. A failed resume may leave the controller
> clock disabled.
> 
> Therefore, use pm_runtime_resume_and_get() so that an error return
> does not retain a runtime-PM usage reference.
> 
> Fixes: 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory")
> Fixes: 8fb6c44fe846 ("drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX")
> Fixes: c8f0b7cb01ea ("drm/bridge: analogix_dp: Add support for &drm_dp_aux.wait_hpd_asserted()")
> Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
> ---
> v1 -> v2: no code changes since v1.
> 

I rebased this on top of my v8 HPD support patch series and it
works well:

Tested-by: Damon Ding <damon.ding@rock-chips.com>
Reviewed-by: Damon Ding <damon.ding@rock-chips.com>

Best regards,
Damon


  reply	other threads:[~2026-11-30 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:39 [PATCH v2 0/3] drm: analogix_dp: Handle runtime resume failures Nikita Zhandarovich
2026-11-25 15:39 ` [PATCH v2 1/3] drm/bridge: analogix_dp: Check runtime resume before accessing hardware Nikita Zhandarovich
2026-11-30 12:00   ` Damon Ding [this message]
2026-11-25 15:39 ` [PATCH v2 2/3] drm/rockchip: analogix_dp: Disable pclk if setting eDP mode fails Nikita Zhandarovich
2026-11-30 12:01   ` Damon Ding
2026-11-25 15:39 ` [PATCH v2 3/3] drm/bridge: analogix_dp: Propagate errors from runtime resume Nikita Zhandarovich
2026-11-30 12:28   ` Damon Ding

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=b6dabdd9-3295-4201-b389-4b86faf167e9@rock-chips.com \
    --to=damon.ding@rock-chips.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=andyshrk@163.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=hjc@rock-chips.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=lvc-project@linuxtesting.org \
    --cc=m.szyprowski@samsung.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=n.zhandarovich@fintech.ru \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tb@a-marquet.fr \
    --cc=tzimmermann@suse.de \
    /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®