Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v4 0/1] tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek
@ 2026-05-31  3:17 Jay Liu
  2026-05-31  3:17 ` [PATCH v4 1/1] " Jay Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jay Liu @ 2026-05-31  3:17 UTC (permalink / raw)
  To: igt-dev
  Cc: Jason-JH Lin, Paul-PL Chen, Nancy Lin, Singo Chang, Gil Dekel,
	Yacoub, Sharma Swati2, Project_Global_Chrome_Upstream_Group,
	Jay Liu

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 v4:
- Refactor lut_value assignment: declare lut_value variable at the beginning of the function and assign it outside the loop to improve code efficiency.
- Rename is_mtk to depth_10bit: use a more descriptive variable name that reflects the actual purpose (10-bit color depth requirement) rather than device vendor.

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 | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

-- 
2.46.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-02 19:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-31  3:17 [PATCH i-g-t v4 0/1] tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek Jay Liu
2026-05-31  3:17 ` [PATCH v4 1/1] " Jay Liu
2026-06-02 19:52   ` Sharma, Swati2
2026-05-31  3:59 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-05-31  4:13 ` ✓ i915.CI.BAT: " Patchwork
2026-05-31  5:12 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-05-31  6:18 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox