diff options
author | Bhanuprakash Modem <bhanuprakash.modem@intel.com> | 2021-09-15 09:03:58 +0530 |
---|---|---|
committer | Bhanuprakash Modem <bhanuprakash.modem@intel.com> | 2021-09-16 16:41:04 +0530 |
commit | 6fecb640dd3d0fd8243992227a6cb09c8029ed01 (patch) | |
tree | a2d4f6681760eadc225b243fbbe99d8f6e73163e /tests/kms_color_chamelium.c | |
parent | 07d6594ed02f55b68d64fa6dd7f80cfbc1ce4ef8 (diff) |
tests/kms_color_chamelium: Skip CTM test if property is not present
CRTC property "CTM" is required for all CTM tests.
Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4133
Cc: Uma Shankar <uma.shankar@intel.com>
Cc: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to 'tests/kms_color_chamelium.c')
-rw-r--r-- | tests/kms_color_chamelium.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c index bc4356bf..7173bc69 100644 --- a/tests/kms_color_chamelium.c +++ b/tests/kms_color_chamelium.c @@ -398,6 +398,8 @@ static void test_pipe_limited_range_ctm(data_t *data, struct chamelium_port *port; char *connected_ports[4]; + igt_require(igt_pipe_obj_has_prop(primary->pipe, IGT_CRTC_CTM)); + degamma_linear = generate_table(data->degamma_lut_size, 1.0); gamma_linear = generate_table(data->gamma_lut_size, 1.0); |