public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jay Liu <jay.liu@mediatek.com>
To: <igt-dev@lists.freedesktop.org>
Cc: Jay Liu <jay.liu@mediatek.com>,
	Paul-PL Chen <paul-pl.chen@mediatek.com>,
	 Nancy Lin <nancy.lin@mediatek.com>,
	Singo Chang <singo.chang@mediatek.com>,
	Gil Dekel <gildekel@google.com>, Yacoub <markyacoub@chromium.org>,
	Jani Nikula <jani.nikula@intel.com>,
	Swati2 Sharma <swati2.sharma@intel.com>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: [PATCH i-g-t v3 0/1] tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek
Date: Mon, 20 Apr 2026 21:43:24 +0800	[thread overview]
Message-ID: <20260420134348.21855-1-jay.liu@mediatek.com> (raw)

Hi,

This patch introduces support for 10-bit color depth in the kms_color test suite to accommodate MediaTek devices that require a 10-bit pipeline to achieve bit-true results during color verification.

Change in v3:
- Fix build error in kms_color.c:the previous patch mistakenly changed primary->crtc to primary->pipe, which caused compilation to fail.

Change in v2:
- Replace the depth_10bit variable with is_mtk to simplify the logic.
- Include a code comment to clarify the justification for using 0xFFD0 as the maximum threshold for the Gamma LUT.

Jay Liu (1):
  tests/kms_color: Add 10-bit color depth support to gamma test for
    MediaTek

 tests/kms_color.c | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

-- 
2.46.0


             reply	other threads:[~2026-04-20 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 13:43 Jay Liu [this message]
2026-04-20 13:43 ` [PATCH i-g-t v3 1/1] tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek Jay Liu
2026-04-21 19:05 ` ✓ i915.CI.BAT: success for " Patchwork
2026-04-21 19:27 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-21 23:06 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-22  1:40 ` ✓ i915.CI.Full: success " 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=20260420134348.21855-1-jay.liu@mediatek.com \
    --to=jay.liu@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=gildekel@google.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=markyacoub@chromium.org \
    --cc=nancy.lin@mediatek.com \
    --cc=paul-pl.chen@mediatek.com \
    --cc=singo.chang@mediatek.com \
    --cc=swati2.sharma@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox