From: Daniel Green <danielgreenhome@gmail.com>
To: Yitian Shao <fighters390@qq.com>, intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org, ville.syrjala@linux.intel.com,
jani.nikula@intel.com, sebastian.wick@redhat.com,
uma.shankar@intel.com, suraj.kandpal@intel.com
Subject: Testing: [PATCH v4 4/4] drm/i915/dp: Always write the HDR content luminance
Date: Sun, 22 Nov 2026 16:59:54 +0000 [thread overview]
Message-ID: <519cee89-1315-4edb-90cd-fa99e6eabf77@gmail.com> (raw)
In-Reply-To: <tencent_4B4D5022969E4FEF24BDDD2C4993D2D39709@qq.com>
Tested-by: Daniel Green <danielgreenhome@gmail.com>
I've tested the above set of 4 patches locally on an Asus Zenbook ux535,
I can confirm that these correctly enable HDR on my internal monitor.
On 21/11/2026 01:35, Yitian Shao wrote:
> intel_dp_aux_write_content_luminance() skips the DPCD write when the
> encoder cannot send a gamut metadata SDP. That is backwards: the DPCD
> register is what the AUX HDR interface uses on those platforms.
>
> Drop the check instead of inverting it. INTEL_EDP_HDR_TCON_SDP_OVERRIDE_AUX
> already tells the TCON whether to use the SDP or the DPCD value, so the
> write is harmless where the SDP takes precedence.
>
> Signed-off-by: Yitian Shao <fighters390@qq.com>
> ---
> drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
> index 8c7fd99..6b33ba0 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
> @@ -250,9 +250,6 @@ intel_dp_aux_write_content_luminance(struct intel_connector *connector,
> int ret;
> u8 buf[4];
>
> - if (!intel_dp_has_gamut_metadata_dip(connector->encoder))
> - return;
> -
> buf[0] = hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF;
> buf[1] = (hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF00) >> 8;
> buf[2] = hdr_metadata->hdmi_metadata_type1.max_fall & 0xFF;
next prev parent reply other threads:[~2026-11-22 17:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261121013532.21135-1-fighters390@qq.com>
2026-11-21 1:35 ` [PATCH v4 1/4] drm/i915/dp: Drop LSPCON check from intel_dp_has_gamut_metadata_dip() Yitian Shao
2026-11-21 1:35 ` [PATCH v4 2/4] drm/i915/dp: Attach HDR_OUTPUT_METADATA on eDP with TCON HDR support Yitian Shao
2026-11-21 1:35 ` [PATCH v4 3/4] drm/i915/display: Check gamut metadata DIP support in LSPCON HDR detection Yitian Shao
2026-11-21 1:35 ` [PATCH v4 4/4] drm/i915/dp: Always write the HDR content luminance Yitian Shao
2026-11-22 16:59 ` Daniel Green [this message]
2026-11-21 1:57 ` ✗ LGCI.VerificationFailed: failure for series starting with [v4,1/4] drm/i915/dp: Drop LSPCON check from intel_dp_has_gamut_metadata_dip() Patchwork
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=519cee89-1315-4edb-90cd-fa99e6eabf77@gmail.com \
--to=danielgreenhome@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=fighters390@qq.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=sebastian.wick@redhat.com \
--cc=suraj.kandpal@intel.com \
--cc=uma.shankar@intel.com \
--cc=ville.syrjala@linux.intel.com \
/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.