From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
To: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: "Maxime Ripard" <mripard@kernel.org>,
"Maíra Canal" <mcanal@igalia.com>,
"Raspberry Pi Kernel Maintenance" <kernel-list@raspberrypi.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
kernel@collabora.com, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 7/7] drm/vc4: hdmi: Defer pixel clock validation to HDMI helpers
Date: Mon, 12 Oct 2026 01:00:45 +0300 [thread overview]
Message-ID: <eac822b3-8468-4067-aa1d-579a2dd9cf6e@collabora.com> (raw)
In-Reply-To: <CAPY8ntDCU80hkxdDEGphQCX362ut4AdWJUTGkDOwOHWfkPW6BQ@mail.gmail.com>
Hi Dave,
On 10/8/26 9:01 PM, Dave Stevenson wrote:
> Hi Cristian
>
> Sorry for coming in late on this one.
>
> On Thu, 1 Oct 2026 at 01:27, Cristian Ciocaltea
> <cristian.ciocaltea@collabora.com> wrote:
>>
>> drm_atomic_helper_connector_hdmi_check() rejects modes whose computed
>> TMDS character rate exceeds the connector limit before invoking the
>> driver's .tmds_char_rate_valid() hook.
>>
>> BCM2835 is capped at 162 MHz, slightly below the 165 MHz limit of HDMI
>> 1.2.
>
> Nothing I have says that BCM2835 is HDMI capped at 162MHz.
> Working back through the history, originally the HSM clock was always
> set to 163.7MHz and the pixel rate had to be >1% below that, hence
> below 162MHz.
>
> However that was reworked so that the HSM clock rate is now set to the
> pixel clock * 101/100.
> The HSM clock can run at 166.65MHz without issue, so a pixel clock of
> 165MHz is fine.
Thanks for checking this out.
Since that would be a functional change, I think it's worth introducing a
dedicated patch, acting as a prerequisite to the current one. I'll handle it
in v2.
Speaking of which, assuming no additional changes are required, would you be
able to merge the series afterwards? That would get us one step closer to
finalizing the infrastructure cleanup.
Cristian
prev parent reply other threads:[~2026-10-11 22:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 0:26 [PATCH 0/7] drm/vc4: hdmi: Convert to common HDMI 2.0 scrambling infrastructure Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 1/7] drm/vc4: hdmi: Use common TMDS char rate constants Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 2/7] drm/vc4: hdmi: Switch to drm_hdmi_mode_needs_scrambling() Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 3/7] drm/vc4: hdmi: Switch to .force_ctx() connector helper Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 4/7] drm/vc4: hdmi: Propagate -EDEADLK to the top level Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 5/7] drm/vc4: hdmi: Convert to drmm_connector_hdmi_init() Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 6/7] drm/vc4: hdmi: Convert to common HDMI 2.0 scrambling infrastructure Cristian Ciocaltea
2026-10-01 0:26 ` [PATCH 7/7] drm/vc4: hdmi: Defer pixel clock validation to HDMI helpers Cristian Ciocaltea
2026-10-08 18:01 ` Dave Stevenson
2026-10-11 22:00 ` Cristian Ciocaltea [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=eac822b3-8468-4067-aa1d-579a2dd9cf6e@collabora.com \
--to=cristian.ciocaltea@collabora.com \
--cc=airlied@gmail.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel-list@raspberrypi.com \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mcanal@igalia.com \
--cc=mripard@kernel.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®