Skip to contentSkip to conversation

tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek

PATCH Superseded Jay Liu 1 participant 1 message Apr 12

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Jay Liu

author
#0 lore raw

v2 cover tests/kms_color: Add 10-bit color depth support to gamma test for MediaTek

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 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 | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)
Signature · 1 line
2.46.0