From: Neil Armstrong <neil.armstrong@linaro.org>
To: Dang Huynh <dang.huynh@mainlining.org>,
Jessica Zhang <jesszhan0024@gmail.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>,
Sam Ravnborg <sam@ravnborg.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@somainline.org>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
phone-devel@vger.kernel.org
Subject: Re: [PATCH] drm/panel: boe-bf060y8m-aj0: Correct display pixel clock
Date: Thu, 3 Dec 2026 20:22:02 +0100 [thread overview]
Message-ID: <6c4e3c7b-ee1e-4769-a4d7-6ea534728f9a@linaro.org> (raw)
In-Reply-To: <20261109-pro1x-display-pixelclock-v1-1-c81453fab5e4@mainlining.org>
On 11/8/26 22:32, Dang Huynh wrote:
> The driver has been using the wrong pixel clock ever since it's
> submission.
>
> The panel is 60Hz, but the mainline driver ran at 165268 Hz
> which is 61Hz and the following formula can confirm this:
> (1080 + 36 + 24 + 96) * (2160 + 16 + 1 + 15) * 61 / 1000
>
> This causes the panel to show heavy signs of ghost touches, making
> the display unusable for anything practical.
>
> After the pixel clock is corrected, the display no longer show any
> sign of ghost touches.
>
> Fixes: a19125a28112 ("drm/panel: Add BOE BF060Y8M-AJ0 5.99" AMOLED panel driver")
> Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
> ---
> drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c b/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c
> index 84c21c62a43e..b1f428e0808d 100644
> --- a/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c
> +++ b/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c
> @@ -168,7 +168,7 @@ static int boe_bf060y8m_aj0_unprepare(struct drm_panel *panel)
> }
>
> static const struct drm_display_mode boe_bf060y8m_aj0_mode = {
> - .clock = 165268,
> + .clock = (1080 + 36 + 24 + 96) * (2160 + 16 + 1 + 15) * 60 / 1000,
> .hdisplay = 1080,
> .hsync_start = 1080 + 36,
> .hsync_end = 1080 + 36 + 24,
>
> ---
> base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
> change-id: 20261109-pro1x-display-pixelclock-8b00f09972fd
>
> Best regards,
> --
> Dang Huynh <dang.huynh@mainlining.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
prev parent reply other threads:[~2026-12-03 19:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 21:32 Dang Huynh
2026-12-03 19:22 ` Neil Armstrong [this message]
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=6c4e3c7b-ee1e-4769-a4d7-6ea534728f9a@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=airlied@gmail.com \
--cc=angelogioacchino.delregno@somainline.org \
--cc=dang.huynh@mainlining.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=simona@ffwll.ch \
--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®