From: sashiko-bot@kernel.org
To: "Alexandre Marquet" <tb@a-marquet.fr>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 2/4] drm/exynos: exynos_dp: change poweron/off to encoder enable/disable
Date: Sat, 05 Dec 2026 23:57:41 +0000 [thread overview]
Message-ID: <sashiko-outbox-252013@kernel.org> (raw)
In-Reply-To: <20261206-drm-misc-next-manta-auxbus-v2-2-390b739ce0db@a-marquet.fr>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Low] drm/exynos: exynos_dp: missing Fixes trailer for regression fix
- [Low] drm/exynos: exynos_dp: inaccurate commit message failure site
and clock name
- [Low] drm/exynos: exynos_dp: unused to_dp() macro left behind
--
commit 269abfdbef2082384c741927ed813980afbb8c76
Author: Alexandre Marquet <tb@a-marquet.fr>
> drm/exynos: exynos_dp: change poweron/off to encoder enable/disable
>
> Current functions exynos_dp_poweron()/exynos_dp_poweroff(), that
> supposedly powers on/off the device, actually only enable the encoder
> clock. This causes issues where poweron() calls fail silently in
> analogix_dp_probe(), leading in some cases to a state where the encoder
> is never enabled but the rest of the driver assumes that it is.
[Severity: Low]
Is this description of the failure site and clock accurate?
analogix_dp_probe() only enables runtime PM and never calls power_on().
The silent -EPERM failure happens in analogix_dp_resume() when runtime PM
resumes for a pre-modeset DP AUX transaction while encoder->crtc is NULL.
Also, exynos_dp_crtc_clock_enable() toggles the CRTC's FIMD-to-DP pipeline
clock via exynos_drm_pipe_clk_enable(), not the DP encoder clock
(dp->clock), which remains managed in analogix_dp_resume() and
analogix_dp_suspend().
> This commit fixes the issue by moving the code enabling/disabling
> encoder clocks from the analogix DP bridge platform data, to the DRM
> encoder funcs struct (exynos_dp_encoder_helper_funcs).
>
> Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
[Severity: Low]
This fixes a regression introduced when platform power handling moved into
runtime PM. Should this include:
Fixes: 73f613908eb1 ("drm/bridge: analogix_dp: move platform and PHY power handling into runtime PM")
> diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c
> index 4db7400c8a232..e6c43bd0018ea 100644
> --- a/drivers/gpu/drm/exynos/exynos_dp.c
> +++ b/drivers/gpu/drm/exynos/exynos_dp.c
> @@ -43,39 +43,27 @@ struct exynos_dp_device {
> struct analogix_dp_plat_data plat_data;
> };
>
> -static int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *plat_data,
> - bool enable)
> -{
> - struct exynos_dp_device *dp = to_dp(plat_data);
> - struct drm_encoder *encoder = &dp->encoder;
[Severity: Low]
With this caller removed, the to_dp() macro in exynos_dp.c has no
remaining users. Can it be removed in this commit too?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261206-drm-misc-next-manta-auxbus-v2-0-390b739ce0db@a-marquet.fr?part=2
next prev parent reply other threads:[~2026-12-05 23:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 23:44 [PATCH v2 0/4] DRM Google Nexus 10 display support Alexandre Marquet
2026-12-05 23:44 ` Alexandre Marquet via B4 Relay
2026-12-05 23:44 ` [PATCH v2 1/4] drm/bridge: analogix_dp: deassert DP_PHY_PD on power-on for exynos Alexandre Marquet
2026-12-05 23:44 ` Alexandre Marquet via B4 Relay
2026-12-06 0:05 ` sashiko-bot
2026-12-05 23:44 ` [PATCH v2 2/4] drm/exynos: exynos_dp: change poweron/off to encoder enable/disable Alexandre Marquet
2026-12-05 23:44 ` Alexandre Marquet via B4 Relay
2026-12-05 23:57 ` sashiko-bot [this message]
2026-12-05 23:44 ` [PATCH v2 3/4] drm/panel-edp: put panel delays in lexical order Alexandre Marquet
2026-12-05 23:44 ` Alexandre Marquet via B4 Relay
2026-12-05 23:44 ` [PATCH v2 4/4] drm/panel-edp: Add SEC LTL101DL02-002 panel Alexandre Marquet
2026-12-05 23:44 ` Alexandre Marquet via B4 Relay
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=sashiko-outbox-252013@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tb@a-marquet.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.