tests/kms_color: New test for pipe level color management

This test enables testing of :

     * degamma LUTs
     * csc matrix
     * gamma LUTs
     * legacy gamma LUTs

v2: turn assert into require to skip on platform not supporting color
    management

v3: add invalid blob ids tests

v4: Try to match CRC results against several values around the
    expected result for platforms with odd LUT items

v5: Fix running tests with multiple screens

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
Lionel Landwerlin 2016-03-18 17:33:04 +00:00 committed by Matt Roper
parent c7e9be2302
commit aa55641d4f
2 changed files with 1046 additions and 0 deletions

View File

@ -91,6 +91,7 @@ TESTS_progs_M = \
kms_legacy_colorkey \
kms_mmio_vs_cs_flip \
kms_pipe_b_c_ivb \
kms_pipe_color \
kms_pipe_crc_basic \
kms_plane \
kms_psr_sink_crc \

1045
tests/kms_pipe_color.c Normal file

File diff suppressed because it is too large Load Diff