From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: igt-dev@lists.freedesktop.org, Simon Ser <contact@emersion.fr>
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms-hdr: Fix HDMI_STATIC_METADATA_TYPE1.
Date: Fri, 12 Feb 2021 16:31:50 +0200 [thread overview]
Message-ID: <YCaRVjmkh6sxPNXs@intel.com> (raw)
In-Reply-To: <20210212054447.31713-1-mario.kleiner.de@gmail.com>
On Fri, Feb 12, 2021 at 06:44:47AM +0100, Mario Kleiner wrote:
> According to the CTA 861.G specification, table 44
> in section 6.9 and also specifically section 6.9.1,
> the value of the constant must be 0, not 1, so fix
> this.
>
> An identical fix has been submitted for inclusion into
> the kernel headers (this is not exposed uapi). See:
>
> https://lists.freedesktop.org/archives/dri-devel/2021-February/297233.html
>
> Fixing this constant for Kodi also fixed some HDR TVs,
> so the wrong constant has real world consequences on
> some display hardware. See:
>
> https://github.com/xbmc/xbmc/pull/19129
>
> Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
> Cc: Simon Ser <contact@emersion.fr>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Thanks. Pushed.
> ---
> tests/kms_hdr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
> index aa7e685b..e9dd7f27 100644
> --- a/tests/kms_hdr.c
> +++ b/tests/kms_hdr.c
> @@ -35,7 +35,7 @@ IGT_TEST_DESCRIPTION("Test HDR metadata interfaces and bpc switch");
>
> /* DRM HDR definitions. Not in the UAPI header, unfortunately. */
> enum hdmi_metadata_type {
> - HDMI_STATIC_METADATA_TYPE1 = 1,
> + HDMI_STATIC_METADATA_TYPE1 = 0,
> };
>
> enum hdmi_eotf {
> --
> 2.25.1
--
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
prev parent reply other threads:[~2021-02-12 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-12 5:44 [igt-dev] [PATCH i-g-t] tests/kms-hdr: Fix HDMI_STATIC_METADATA_TYPE1 Mario Kleiner
2021-02-12 6:30 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-02-12 7:25 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-02-12 14:31 ` Ville Syrjälä [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=YCaRVjmkh6sxPNXs@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=contact@emersion.fr \
--cc=igt-dev@lists.freedesktop.org \
--cc=mario.kleiner.de@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox