From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: contact@alex-min.fr, Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jesszhan0024@gmail.com>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
phone-devel@vger.kernel.org
Subject: Re: [PATCH 1/2] drm/msm/mdp4: keep the bus clock enabled while a CRTC is active
Date: Thu, 11 Jun 2026 09:51:00 +0200 [thread overview]
Message-ID: <998b673a-9754-4bdd-a305-73824a8f8060@oss.qualcomm.com> (raw)
In-Reply-To: <20260611-mainline-fix-mdp4-blue-screen-sending-v1-v1-1-22925600e4f2@alex-min.fr>
On 6/11/26 8:07 AM, Alexandre MINETTE via B4 Relay wrote:
> From: Alexandre MINETTE <contact@alex-min.fr>
>
> MDP4 scanout continues to fetch framebuffer data while the CRTC is
> active. Keep the AXI/bus clock enabled for the lifetime of each active
> CRTC so that temporary MDP4 disable paths do not gate the bus clock
> while scanout is still running.
>
> This avoids display corruption seen on the Samsung Galaxy S4 when the
> display pipeline is active.
>
> Signed-off-by: Alexandre MINETTE <contact@alex-min.fr>
> ---
[...]
> +void mdp4_crtc_bus_put(struct mdp4_kms *mdp4_kms)
> +{
> + mutex_lock(&mdp4_kms->clock_lock);
If you use guard(mutex)(&mdp4_kms->lock_lock), you can drop
the manual _unlock() calls (the lock will be dropped once you
exit the scope
Konrad
next prev parent reply other threads:[~2026-06-11 7:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 6:07 [PATCH 0/2] drm/msm/mdp4: fix intermittent blue screen on Galaxy S4 Alexandre MINETTE via B4 Relay
2026-06-11 6:07 ` [PATCH 1/2] drm/msm/mdp4: keep the bus clock enabled while a CRTC is active Alexandre MINETTE via B4 Relay
2026-06-11 7:51 ` Konrad Dybcio [this message]
2026-06-12 7:23 ` Dmitry Baryshkov
2026-06-11 6:07 ` [PATCH 2/2] drm/msm/mdp4: keep inherited display clocks enabled until modeset Alexandre MINETTE via B4 Relay
2026-06-12 7:27 ` Dmitry Baryshkov
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=998b673a-9754-4bdd-a305-73824a8f8060@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=contact@alex-min.fr \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=phone-devel@vger.kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
/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®