public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Alex Hung <alex.hung@amd.com>
To: igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t, v3 1/5] lib/igt_hdr: Move HDR helpers from kms_hdr into shared library
Date: Fri, 17 Apr 2026 17:36:31 -0600	[thread overview]
Message-ID: <6ac2399c-3950-4aa1-810f-0ccb4783d43a@amd.com> (raw)
In-Reply-To: <20260417213818.2050571-2-swati2.sharma@intel.com>



On 4/17/26 15:38, Swati Sharma wrote:
> +void igt_hdr_disable(igt_output_t *output)
> +{
> +	igt_hdr_set_metadata(output, NULL);
> +	igt_output_set_prop_value(output, IGT_CONNECTOR_MAX_BPC, 8);
> +}
> +
> +void igt_hdr_enable(igt_output_t *output)
> +{
> +	struct hdr_output_metadata meta;
> +
> +	/* Fill HDR metadata and enable it on the output */
> +	igt_hdr_fill_st2084(&meta);
> +	igt_hdr_set_metadata(output, &meta);
> +	igt_output_set_prop_value(output, IGT_CONNECTOR_MAX_BPC, 10);
> +}

There are warnings during compilation, and there are fixed by PATCH 4 
"lib/igt_hdr: Add helpers to enable and disable HDR on an output".

[11/927] Compiling C object lib/libigt-igt_hdr_c.a.p/igt_hdr.c.o
../lib/igt_hdr.c:203:6: warning: no previous prototype for 
‘igt_hdr_disable’ [-Wmissing-prototypes]
   203 | void igt_hdr_disable(igt_output_t *output)
       |      ^~~~~~~~~~~~~~~
../lib/igt_hdr.c:209:6: warning: no previous prototype for 
‘igt_hdr_enable’ [-Wmissing-prototypes]
   209 | void igt_hdr_enable(igt_output_t *output)
       |      ^~~~~~~~~~~~~~

How about squashing patch 4 to patch 1?

  reply	other threads:[~2026-04-17 23:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17 21:38 [PATCH i-g-t,v3 0/5] Enable HDR in IGT Frontbuffer Feature Tests Swati Sharma
2026-04-17 21:38 ` [PATCH i-g-t, v3 1/5] lib/igt_hdr: Move HDR helpers from kms_hdr into shared library Swati Sharma
2026-04-17 23:36   ` Alex Hung [this message]
2026-04-28 11:15     ` Sharma, Swati2
2026-04-20 18:46   ` Kamil Konieczny
2026-04-21 12:41     ` Jani Nikula
2026-04-22 17:01       ` Kamil Konieczny
2026-04-28 11:33       ` Sharma, Swati2
2026-04-28 11:28     ` Sharma, Swati2
2026-04-17 21:38 ` [PATCH i-g-t,v3 2/5] lib/igt_hdr: Fix EOTF bit flag checking Swati Sharma
2026-04-17 21:38 ` [PATCH i-g-t, v3 3/5] tests/intel/kms_frontbuffer_tracking: Add HDR feature support Swati Sharma
2026-04-17 21:38 ` [PATCH i-g-t, v3 4/5] lib/igt_hdr: Add helpers to enable and disable HDR on an output Swati Sharma
2026-04-17 21:38 ` [PATCH i-g-t, v3 5/5] tests/intel/kms_frontbuffer_tracking: Enable HDR in feature tests Swati Sharma
2026-04-21 12:31 ` ✓ i915.CI.BAT: success for Enable HDR in IGT Frontbuffer Feature Tests (rev3) Patchwork
2026-04-21 12:50 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-21 13:59 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-21 17:01 ` ✗ i915.CI.Full: " 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=6ac2399c-3950-4aa1-810f-0ccb4783d43a@amd.com \
    --to=alex.hung@amd.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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