mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maxime Ripard <mripard@kernel.org>
To: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Cc: Helge Deller <deller@gmx.de>, Martin Bugge <marbugge@cisco.com>,
	 Thierry Reding <treding@nvidia.com>,
	Hans Verkuil <hverkuil@kernel.org>,
	 Mauro Carvalho Chehab <mchehab@kernel.org>,
	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, linux-fbdev@vger.kernel.org,
	 dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 15/25] drm/tests: edid: Add 4K@60Hz EDID with 600MHz TMDS
Date: Mon, 23 Nov 2026 16:52:18 +0100	[thread overview]
Message-ID: <awRhHORNYR8MYT1R@houat> (raw)
In-Reply-To: <20261114-drm-conn-hdmi-cleanup-v1-15-20e8a33a2286@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]

On Sat, Nov 14, 2026 at 08:03:39PM +0200, Cristian Ciocaltea wrote:
> Add a new test EDID advertising the following capabilities:
> 
> Max resolution: 3840x2160@60Hz with RGB, YUV444, YUV422, YUV420
> Max BPC:        16
> Max TMDS clock: 600 MHz
> 
> This is needed to exercise the new HDMI infrastructure that decides
> whether scrambling needs to be enabled for a given display mode and
> to validate that high-rate modes are properly rejected/accepted
> depending on the source/sink scrambling capability.
> 
> The EDID is derived from test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz
> with the following changes:
> 
> - Upgraded the first DTD from 3840x2160@30 (297 MHz) to 3840x2160@60
>   (594 MHz).  The H/V totals (4400x2250) and porches already match the
>   HDMI 2.0 4K@60Hz standard timing, so only the pixel clock had to be
>   bumped.
> - Widened Display Range Limits descriptor to cover the new timing, i.e.
>   24-140 kHz H, max dotclock 600 MHz.
> - Updated CTA-861 Video Data Block to advertise VIC 97 (4K@60Hz) instead
>   of VIC 95 (4k30).
> - Bumped HF-VSDB Max TMDS Character Rate to 600 MHz, keeping
>   SCDC_Present set so that the sink advertises scrambling support.
> - Cleared HDMI VSDB Max TMDS clock byte, as required by HDMI 2.0 when
>   the HF-VSDB declares a Max TMDS Character Rate above 340 MHz.
> - Provided a Video Capability Data Block advertising selectable RGB and
>   YCC quantization range plus underscan for IT/CE formats; also set the
>   'IT Video Formats Underscanned' bit in the CTA-861 extension header to
>   match.
> - Aligned base block image size with the DTD (160x90 cm) and set the
>   Week of Manufacture to 0x00 instead of 0xff, since the Model Year
>   flag is not supported by EDID 1.3, so that the Model year field
>   becomes a regular Year of Manufacture.  Both fix inherited EDID
>   conformity failures.
> - Dropped the empty YCbCr 4:2:0 Video Data Block inherited from the
>   parent EDID, which is flagged as a failure by edid-decode v1.33.0
> 
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
> ---
>  drivers/gpu/drm/tests/drm_kunit_edid.c | 129 +++++++++++++++++++++++++++++++++
>  drivers/gpu/drm/tests/drm_kunit_edid.h |   1 +
>  2 files changed, 130 insertions(+)

Acked-by: Maxime Ripard <mripard@kernel.org>

Having a sample for that one would be nice too
Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]

  reply	other threads:[~2026-11-23 15:52 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14 18:03 [PATCH 00/25] drm: HDMI connector API cleanup and HDMI 2.0 test coverage Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 01/25] video/hdmi: Copy SPD vendor/product with strtomem_pad() Cristian Ciocaltea
2026-11-23 12:53   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 02/25] video/hdmi: Define SPD InfoFrame vendor/product field lengths Cristian Ciocaltea
2026-11-23 12:52   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 03/25] drm/display: hdmi-state-helper: Drop drm_atomic_helper_connector_hdmi_force() Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 04/25] drm/display: hdmi-state-helper: Reject connectors lacking HDMI funcs Cristian Ciocaltea
2026-11-23 12:57   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 05/25] drm/tests: connector: Convert to drmm_connector_hdmi_init() Cristian Ciocaltea
2026-11-23 12:57   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 06/25] drm/tests: hdmi: " Cristian Ciocaltea
2026-11-23 12:58   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 07/25] drm/connector: Remove drmm_connector_hdmi_ini2() Cristian Ciocaltea
2026-11-23 13:02   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 08/25] drm/connector: Drop redundant hdmi vendor/product fields Cristian Ciocaltea
2026-11-23 13:07   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 09/25] drm/connector: Drop redundant hdmi supported_formats field Cristian Ciocaltea
2026-11-23 13:07   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 10/25] drm/connector: Drop redundant max_bpc field Cristian Ciocaltea
2026-11-23 13:07   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 11/25] drm/connector: Use the SPD InfoFrame field length defines Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 12/25] drm/connector: Fix comment in drmm_connector_hdmi_init() Cristian Ciocaltea
2026-11-23 15:31   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 13/25] drm/tests: edid: Fix conformity for 1080p+4K YUV420 200MHz EDID Cristian Ciocaltea
2026-11-23 15:51   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 14/25] drm/tests: edid: Fix conformity for 4K RGB/YUV 340MHz EDID Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 15/25] drm/tests: edid: Add 4K@60Hz EDID with 600MHz TMDS Cristian Ciocaltea
2026-11-23 15:52   ` Maxime Ripard [this message]
2026-11-14 18:03 ` [PATCH 16/25] drm/tests: connector: Add HDMI max_tmds_char_rate init coverage Cristian Ciocaltea
2026-11-23 16:02   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 17/25] drm/tests: connector: Add HDMI source-side scrambler coverage Cristian Ciocaltea
2026-11-23 16:03   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 18/25] drm/tests: hdmi: Cover mode validation against connector max_tmds_char_rate Cristian Ciocaltea
2026-11-23 16:31   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 19/25] drm/tests: hdmi: Verify scrambler_needed computation Cristian Ciocaltea
2026-11-23 16:32   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 20/25] drm/tests: hdmi: Add SPD InfoFrame vendor/product coverage Cristian Ciocaltea
2026-11-23 16:34   ` Maxime Ripard
2026-11-14 18:03 ` [PATCH 21/25] drm/tests: hdmi: Add HDMI 2.0 scrambling helpers coverage Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 22/25] drm/tests: hdmi: Verify SCDC resync on hotplug Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 23/25] drm/tests: bridge: Set supported HDMI version Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 24/25] drm/tests: bridge: Add HDMI 2.0 bridge connector coverage Cristian Ciocaltea
2026-11-14 18:03 ` [PATCH 25/25] drm/tests: probe-helper: Add .force_ctx() callback coverage Cristian Ciocaltea

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=awRhHORNYR8MYT1R@houat \
    --to=mripard@kernel.org \
    --cc=airlied@gmail.com \
    --cc=cristian.ciocaltea@collabora.com \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hverkuil@kernel.org \
    --cc=kernel@collabora.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=marbugge@cisco.com \
    --cc=mchehab@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=treding@nvidia.com \
    --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®