tests/kms_color: Improve CTM tests
cover tests/kms_color: Improve CTM tests
From: Ville Syrjälä <[email protected]>
Bunch of fixe and cleanups to the CTM tests. Also add a new "signed" subtest to highlight a bug in the i915 CHV CGM code.
Ville Syrjälä (8):
tests/kms_color: Use legacy LUT for chopping off the lsbs tests/kms_color: Use named initializers tests/kms_color: Make loads of stuff static const tests/kms_color: Pass down the colors used to paint the fb tests/kms_color: Get rid of hand coded "expected_colors" tests/kms_color: Add and additional "signed" subtest tests/kms_color: Dump the CTM before/after color values tests/intel-ci/fast-feedback: Run ctm tests
tests/intel-ci/fast-feedback.testlist | 11 + tests/kms_color.c | 285 +++++++++++++++----------- tests/kms_color_helper.c | 4 +- tests/kms_color_helper.h | 4 +- 4 files changed, 183 insertions(+), 121 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/8 tests/kms_color: Use legacy LUT for chopping off the lsbs
From: Ville Syrjälä <[email protected]>
Trying to use an interpolated gamma mode (as is the case currently on eg. icl/tgl) for chopping off the lsbs doesn't really work. Use the legacy LUT instead. Also get rid of the degamma LUT as that can't even be enabled alognside the legacy LUT on split gamma i915 platforms (ivb-skl).
--- tests/kms_color.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
tests/kms_color.c +1 -4
@@ -504,13 +504,10 @@ static bool test_pipe_ctm(data_t *data,* rounding issues and inaccuracies leading to crc mismatch. */ if (is_i915_device (data->drm_fd) &&memcmp (before, after,sizeof (color_t))) { -igt_require (igt_pipe_obj_has_prop (primary->pipe,IGT_CRTC_DEGAMMA_LUT ));igt_require (igt_pipe_obj_has_prop (primary->pipe,IGT_CRTC_GAMMA_LUT )); - degamma_linear =generate_table (data->degamma_lut_size,1.0 ); - gamma_linear =generate_table (data->gamma_lut_size,1.0 ); + gamma_linear =generate_table (256 ,1.0 ); -set_degamma (data, primary->pipe, degamma_linear);set_gamma (data, primary->pipe, gamma_linear); }
Signature · 1 line
2.39.2
PATCH 2/8 tests/kms_color: Use named initializers
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Use named initializers to make it actually possible to figure out what is happening. And sprinkle some missing commas around while at it.
--- tests/kms_color.c | 202 +++++++++++++++++++++++++++------------------- 1 file changed, 118 insertions(+), 84 deletions(-)
tests/kms_color.c +118 -84
@@ -35,7 +35,7 @@ static bool test_pipe_degamma(data_t *data,color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, };drmModeModeInfo *mode = data->mode;struct igt_fb fb_modeset, fb;
@@ -127,7 +127,7 @@ static bool test_pipe_gamma(data_t *data,color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, };drmModeModeInfo *mode = data->mode;struct igt_fb fb_modeset, fb;
@@ -215,7 +215,7 @@ static bool test_pipe_legacy_gamma(data_t *data,color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, };drmModeCrtc *kms_crtc;uint32_t i, legacy_lut_size;
@@ -324,7 +324,7 @@ static bool test_pipe_legacy_gamma_reset(data_t *data,const double ctm_identity[] = {1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 , -0.0 ,0.0 ,1.0 +0.0 ,0.0 ,1.0 , };drmModeCrtc *kms_crtc;gamma_lut_t *degamma_linear =NULL , *gamma_zero;
@@ -461,7 +461,7 @@ static bool test_pipe_ctm(data_t *data,const double ctm_identity[] = {1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 , -0.0 ,0.0 ,1.0 +0.0 ,0.0 ,1.0 , };gamma_lut_t *degamma_linear =NULL , *gamma_linear =NULL ;igt_output_t *output = data->output;
@@ -569,16 +569,18 @@ static void test_pipe_limited_range_ctm(data_t *data,color_t red_green_blue_limited[] = { { limited_result,0.0 ,0.0 }, {0.0 , limited_result,0.0 }, - {0.0 ,0.0 , limited_result } + {0.0 ,0.0 , limited_result }, };color_t red_green_blue_full[] = { {0.5 ,0.0 ,0.0 }, {0.0 ,0.5 ,0.0 }, - {0.0 ,0.0 ,0.5 } + {0.0 ,0.0 ,0.5 }, + }; +double ctm[] = { +1.0 ,0.0 ,0.0 , +0.0 ,1.0 ,0.0 , +0.0 ,0.0 ,1.0 , }; -double ctm[] = {1.0 ,0.0 ,0.0 , -0.0 ,1.0 ,0.0 , -0.0 ,0.0 ,1.0 };gamma_lut_t *degamma_linear, *gamma_linear;igt_output_t *output;bool has_broadcast_rgb_output = false;
@@ -743,7 +745,7 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, };test_setup (data, p);
@@ -799,16 +801,18 @@ run_deep_color_tests_for_pipe(data_t *data, enum pipe p)color_t blue_green_blue[] = { {0.0 ,0.0 ,1.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, };color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, {0.0 ,0.0 ,1.0 } }; -double ctm[] = {0.0 ,0.0 ,0.0 , -0.0 ,1.0 ,0.0 , -1.0 ,0.0 ,1.0 }; +double ctm[] = { +0.0 ,0.0 ,0.0 , +0.0 ,1.0 ,0.0 , +1.0 ,0.0 ,1.0 , + };if (is_i915_device (data->drm_fd)) igt_require_f((intel_display_ver(data->devid) >= 11),
@@ -924,17 +928,22 @@ run_tests_for_pipe(data_t *data)bool (*test_t)(data_t *,igt_plane_t *);const char *desc; } gamma_degamma_tests[] = { - {"degamma" , test_pipe_degamma, - "Verify that degamma LUT transformation works correctly" }, - - { "gamma", test_pipe_gamma, - "Verify that gamma LUT transformation works correctly" }, - - { "legacy-gamma", test_pipe_legacy_gamma, - "Verify that legacy gamma LUT transformation works correctly" }, - - { "legacy-gamma-reset", test_pipe_legacy_gamma_reset, - "Verify that setting the legacy gamma LUT resets the gamma LUT set through GAMMA_LUT property" }, + { .name = "degamma", + .test_t = test_pipe_degamma, + .desc = "Verify that degamma LUT transformation works correctly", + }, + { .name = "gamma", + .test_t = test_pipe_gamma, + .desc = "Verify that gamma LUT transformation works correctly", + }, + { .name = "legacy-gamma", + .test_t = test_pipe_legacy_gamma, + .desc = "Verify that legacy gamma LUT transformation works correctly", + }, + { .name = "legacy-gamma-reset", + .test_t = test_pipe_legacy_gamma_reset, + .desc = "Verify that setting the legacy gamma LUT resets the gamma LUT set through GAMMA_LUT property", + }, }; struct { const char *name;
@@ -943,71 +952,96 @@ run_tests_for_pipe(data_t *data)double ctm[9 ];const char *desc; } ctm_tests[] = { - { "ctm-red-to-blue", 0, - {{ 0.0, 0.0, 1.0 }, - { 0.0, 1.0, 0.0 }, - { 0.0, 0.0, 1.0 }}, - { 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0, - 1.0, 0.0, 1.0 }, - "Check the color transformation from red to blue" + { .name = "ctm-red-to-blue", + .colors = { + { 0.0, 0.0, 1.0 }, + { 0.0, 1.0, 0.0 }, + { 0.0, 0.0, 1.0 }, + }, + .ctm = { + 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, + 1.0, 0.0, 1.0, + }, + .desc = "Check the color transformation from red to blue", }, - { "ctm-green-to-red", 0, - {{ 1.0, 0.0, 0.0 }, - { 1.0, 0.0, 0.0 }, - { 0.0, 0.0, 1.0 }}, - { 1.0, 1.0, 0.0, - 0.0, 0.0, 0.0, - 0.0, 0.0, 1.0 }, - "Check the color transformation from green to red" + { .name = "ctm-green-to-red", + .colors = { + { 1.0, 0.0, 0.0 }, + { 1.0, 0.0, 0.0 }, + { 0.0, 0.0, 1.0 }, + }, + .ctm = { + 1.0, 1.0, 0.0, + 0.0, 0.0, 0.0, + 0.0, 0.0, 1.0, + }, + .desc = "Check the color transformation from green to red", }, - { "ctm-blue-to-red", 0, - {{ 1.0, 0.0, 0.0 }, - { 0.0, 1.0, 0.0 }, - { 1.0, 0.0, 0.0 }}, - { 1.0, 0.0, 1.0, - 0.0, 1.0, 0.0, - 0.0, 0.0, 0.0 }, - "Check the color transformation from blue to red" + { .name = "ctm-blue-to-red", + .colors = { + { 1.0, 0.0, 0.0 }, + { 0.0, 1.0, 0.0 }, + { 1.0, 0.0, 0.0 }, + }, + .ctm = { + 1.0, 0.0, 1.0, + 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, + }, + .desc = "Check the color transformation from blue to red", }, - { "ctm-max", 0, - {{ 1.0, 0.0, 0.0 }, - { 0.0, 1.0, 0.0 }, - { 0.0, 0.0, 1.0 }}, - { 100.0, 0.0, 0.0, - 0.0, 100.0, 0.0, - 0.0, 0.0, 100.0 }, - "Check the color transformation for maximum transparency" + { .name = "ctm-max", + .colors = { + { 1.0, 0.0, 0.0 }, + { 0.0, 1.0, 0.0 }, + { 0.0, 0.0, 1.0 }, + }, + .ctm = { 100.0, 0.0, 0.0, + 0.0, 100.0, 0.0, + 0.0, 0.0, 100.0, + }, + .desc = "Check the color transformation for maximum transparency", }, - { "ctm-negative", 0, - {{ 0.0, 0.0, 0.0 }, - { 0.0, 0.0, 0.0 }, - { 0.0, 0.0, 0.0 }}, - { -1.0, 0.0, 0.0, - 0.0, -1.0, 0.0, - 0.0, 0.0, -1.0 }, - "Check the color transformation for negative transparency" + { .name = "ctm-negative", + .colors = { + { 0.0, 0.0, 0.0 }, + { 0.0, 0.0, 0.0 }, + { 0.0, 0.0, 0.0 }, + }, + .ctm = { + -1.0, 0.0, 0.0, + 0.0, -1.0, 0.0, + 0.0, 0.0, -1.0, + }, + .desc = "Check the color transformation for negative transparency", }, - { "ctm-0-25", 5, - {{ 0.0, }, { 0.0, }, { 0.0, }}, - { 0.25, 0.0, 0.0, - 0.0, 0.25, 0.0, - 0.0, 0.0, 0.25 }, - "Check the color transformation for 0.25 transparency" + { .name = "ctm-0-25", + .iter = 5, + .ctm = { + 0.25, 0.0, 0.0, + 0.0, 0.25, 0.0, + 0.0, 0.0, 0.25, + }, + .desc = "Check the color transformation for 0.25 transparency", }, - { "ctm-0-50", 5, - {{ 0.0, }, { 0.0, }, { 0.0, }}, - { 0.5, 0.0, 0.0, - 0.0, 0.5, 0.0, - 0.0, 0.0, 0.5 }, - "Check the color transformation for 0.5 transparency" + { .name = "ctm-0-50", + .iter = 5, + .ctm = { + 0.5, 0.0, 0.0, + 0.0, 0.5, 0.0, + 0.0, 0.0, 0.5, + }, + .desc = "Check the color transformation for 0.5 transparency", }, - { "ctm-0-75", 7, - {{ 0.0, }, { 0.0, }, { 0.0, }}, - { 0.75, 0.0, 0.0, - 0.0, 0.75, 0.0, - 0.0, 0.0, 0.75 }, - "Check the color transformation for 0.75 transparency" + { .name = "ctm-0-75", + .iter = 7, + .ctm = { + 0.75, 0.0, 0.0, + 0.0, 0.75, 0.0, + 0.0, 0.0, 0.75, + }, + .desc = "Check the color transformation for 0.75 transparency", }, }; int i;
Signature · 1 line
2.39.2
PATCH 3/8 tests/kms_color: Make loads of stuff static const
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Huge swaths of the data used in the test can be made static const. The one slightly tricky part is 'expected_colors' which is being mutated in the ctm tests. But we can just use an on stack variable for that.
--- tests/kms_color.c | 47 +++++++++++++++++++++------------------- tests/kms_color_helper.c | 4 ++-- tests/kms_color_helper.h | 4 ++-- 3 files changed, 29 insertions(+), 26 deletions(-)
tests/kms_color.c +25 -22
@@ -321,7 +321,7 @@ static bool test_pipe_legacy_gamma(data_t *data,static bool test_pipe_legacy_gamma_reset (data_t *data,igt_plane_t *primary) { -const double ctm_identity[] = { +static const double ctm_identity[] = {1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,
@@ -454,11 +454,11 @@ end:*/ static bool test_pipe_ctm (data_t *data,igt_plane_t *primary, -color_t *before, -color_t *after, -double *ctm_matrix) +const color_t *before, +const color_t *after, +const double *ctm_matrix) { -const double ctm_identity[] = { +static const double ctm_identity[] = {1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,
@@ -566,17 +566,17 @@ static void test_pipe_limited_range_ctm(data_t *data, igt_plane_t *primary) {double limited_result =235.0 /255.0 ; -color_t red_green_blue_limited[] = { +static const color_t red_green_blue_limited[] = { { limited_result,0.0 ,0.0 }, {0.0 , limited_result,0.0 }, {0.0 ,0.0 , limited_result }, }; -color_t red_green_blue_full[] = { +static const color_t red_green_blue_full[] = { {0.5 ,0.0 ,0.0 }, {0.0 ,0.5 ,0.0 }, {0.0 ,0.0 ,0.5 }, }; -double ctm[] = { +static const double ctm[] = {1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 ,0.0 ,0.0 ,1.0 ,
@@ -737,12 +737,12 @@ out:static void run_ctm_tests_for_pipe (data_t *data,enum pipe p, -color_t *expected_colors, -double *ctm, +const color_t *expected_colors, +const double *ctm,int iter) {double delta; -color_t red_green_blue[] = { +static const color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, {0.0 ,0.0 ,1.0 },
@@ -777,12 +777,15 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,* for odd number of items in the LUTs. */ for (i =0 ; i < iter; i++) { - expected_colors[0 ].r = - expected_colors[1 ].g = - expected_colors[2 ].b = - ctm[0 ] + delta * (i - (iter /2 )); +float c = ctm[0 ] + delta * (i - (iter /2 )); +color_t expected_colors_local[] = { + { .r = c, }, + { .g = c, }, + { .b = c, }, + }; +if (test_pipe_ctm (data, data->primary, red_green_blue, - expected_colors, ctm)) { + expected_colors_local, ctm)) { success = true;break ; }
@@ -798,17 +801,17 @@ static void run_deep_color_tests_for_pipe(data_t *data, enum pipe p) {igt_output_t *output; -color_t blue_green_blue[] = { +static const color_t blue_green_blue[] = { {0.0 ,0.0 ,1.0 }, {0.0 ,1.0 ,0.0 }, {0.0 ,0.0 ,1.0 }, }; -color_t red_green_blue[] = { +static const color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 } + {0.0 ,0.0 ,1.0 }, }; -double ctm[] = { +static const double ctm[] = {0.0 ,0.0 ,0.0 ,0.0 ,1.0 ,0.0 ,1.0 ,0.0 ,1.0 ,
@@ -923,7 +926,7 @@ static void run_tests_for_pipe(data_t *data) {enum pipe pipe; -struct { + static const struct { const char *name; bool (*test_t)(data_t*, igt_plane_t*); const char *desc;
@@ -945,7 +948,7 @@ run_tests_for_pipe(data_t *data) .desc = "Verify that setting the legacy gamma LUT resets the gamma LUT set through GAMMA_LUT property", }, }; -struct { + static const struct { const char *name; int iter; color_t colors[3];
tests/kms_color_helper.c +2 -2
@@ -54,7 +54,7 @@ uint64_t get_max_bpc(igt_output_t *output)void paint_gradient_rectangles (data_t *data,drmModeModeInfo *mode, -color_t *colors, +const color_t *colors,struct igt_fb *fb) {cairo_t *cr =igt_get_cairo_ctx (data->drm_fd, fb);
@@ -90,7 +90,7 @@ void paint_gradient_rectangles(data_t *data,void paint_rectangles (data_t *data,drmModeModeInfo *mode, -color_t *colors, +const color_t *colors,struct igt_fb *fb) {cairo_t *cr =igt_get_cairo_ctx (data->drm_fd, fb);
tests/kms_color_helper.h +2 -2
@@ -74,11 +74,11 @@ bool panel_supports_deep_color(int fd, char *output_name);uint64_t get_max_bpc (igt_output_t *output);void paint_gradient_rectangles (data_t *data,drmModeModeInfo *mode, -color_t *colors, +const color_t *colors,struct igt_fb *fb);void paint_rectangles (data_t *data,drmModeModeInfo *mode, -color_t *colors, +const color_t *colors,struct igt_fb *fb);gamma_lut_t *alloc_lut (int lut_size);void free_lut (gamma_lut_t *gamma);
Signature · 1 line
2.39.2
PATCH 4/8 tests/kms_color: Pass down the colors used to paint the fb
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Instead of assuming we always want RGB stripes in the fb let's pass those colors down from the top. Will be needed to make more interesting tests that mix colors from multiple channels.
--- tests/kms_color.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-)
tests/kms_color.c +18 -7
@@ -737,16 +737,12 @@ out:static void run_ctm_tests_for_pipe (data_t *data,enum pipe p, +const color_t *fb_colors,const color_t *expected_colors,const double *ctm,int iter) {double delta; -static const color_t red_green_blue[] = { - {1.0 ,0.0 ,0.0 }, - {0.0 ,1.0 ,0.0 }, - {0.0 ,0.0 ,1.0 }, - };test_setup (data, p);
@@ -767,7 +763,7 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,int i;if (!iter) - success =test_pipe_ctm (data, data->primary, red_green_blue, + success =test_pipe_ctm (data, data->primary, fb_colors, expected_colors, ctm);/*
@@ -784,7 +780,7 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p, { .b = c, }, }; -if (test_pipe_ctm (data, data->primary, red_green_blue, +if (test_pipe_ctm (data, data->primary, fb_colors, expected_colors_local, ctm)) { success = true;break ;
@@ -948,14 +944,21 @@ run_tests_for_pipe(data_t *data) .desc = "Verify that setting the legacy gamma LUT resets the gamma LUT set through GAMMA_LUT property", }, }; +static const color_t colors_rgb[] = { + {1.0 ,0.0 ,0.0 }, + {0.0 ,1.0 ,0.0 }, + {0.0 ,0.0 ,1.0 }, + };static const struct {const char *name;int iter; +const color_t *fb_colors;color_t colors[3 ];double ctm[9 ];const char *desc; } ctm_tests[] = { { .name ="ctm-red-to-blue" , + .fb_colors = colors_rgb, .colors = { {0.0 ,0.0 ,1.0 }, {0.0 ,1.0 ,0.0 },
@@ -969,6 +972,7 @@ run_tests_for_pipe(data_t *data) .desc = "Check the color transformation from red to blue", }, { .name = "ctm-green-to-red", + .fb_colors = colors_rgb, .colors = { { 1.0, 0.0, 0.0 }, { 1.0, 0.0, 0.0 },
@@ -982,6 +986,7 @@ run_tests_for_pipe(data_t *data) .desc = "Check the color transformation from green to red", }, { .name = "ctm-blue-to-red", + .fb_colors = colors_rgb, .colors = { { 1.0, 0.0, 0.0 }, { 0.0, 1.0, 0.0 },
@@ -995,6 +1000,7 @@ run_tests_for_pipe(data_t *data) .desc = "Check the color transformation from blue to red", }, { .name = "ctm-max", + .fb_colors = colors_rgb, .colors = { { 1.0, 0.0, 0.0 }, { 0.0, 1.0, 0.0 },
@@ -1007,6 +1013,7 @@ run_tests_for_pipe(data_t *data) .desc = "Check the color transformation for maximum transparency", }, { .name = "ctm-negative", + .fb_colors = colors_rgb, .colors = { { 0.0, 0.0, 0.0 }, { 0.0, 0.0, 0.0 },
@@ -1021,6 +1028,7 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-0-25", .iter = 5, + .fb_colors = colors_rgb, .ctm = {0.25 ,0.0 ,0.0 , 0.0, 0.25, 0.0,
@@ -1030,6 +1038,7 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-0-50", .iter = 5, + .fb_colors = colors_rgb, .ctm = {0.5 ,0.0 ,0.0 , 0.0, 0.5, 0.0,
@@ -1039,6 +1048,7 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-0-75", .iter = 7, + .fb_colors = colors_rgb, .ctm = {0.75 ,0.0 ,0.0 , 0.0, 0.75, 0.0,
@@ -1064,6 +1074,7 @@ run_tests_for_pipe(data_t *data) igt_subtest_with_dynamic_f("%s", ctm_tests[i].name) {for_each_pipe (&data->display, pipe) {run_ctm_tests_for_pipe (data, pipe, + ctm_tests[i].fb_colors, ctm_tests[i].colors, ctm_tests[i].ctm, ctm_tests[i].iter);
Signature · 1 line
2.39.2
PATCH 5/8 tests/kms_color: Get rid of hand coded "expected_colors"
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Instead of specifying the expected colors by hand just apply the ctm to the fb colors and let the computer do the work for us.
--- tests/kms_color.c | 59 +++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 38 deletions(-)
tests/kms_color.c +21 -38
@@ -735,10 +735,18 @@ out:test_cleanup (data); } +static void transform_color (color_t *color,const double *ctm,double offset) +{ +color_t tmp = *color; + + color->r = ctm[0 ] * tmp.r + ctm[1 ] * tmp.g + ctm[2 ] * tmp.b + offset; + color->g = ctm[3 ] * tmp.r + ctm[4 ] * tmp.g + ctm[5 ] * tmp.b + offset; + color->b = ctm[6 ] * tmp.r + ctm[7 ] * tmp.g + ctm[8 ] * tmp.b + offset; +} +static void run_ctm_tests_for_pipe (data_t *data,enum pipe p,const color_t *fb_colors, -const color_t *expected_colors,const double *ctm,int iter) {
@@ -758,14 +766,13 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,if (!pipe_output_combo_valid (data, p)) goto out; +if (!iter) + iter =1 ; + igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(p), data->output->name) {bool success = false;int i; -if (!iter) - success =test_pipe_ctm (data, data->primary, fb_colors, - expected_colors, ctm); -/* * We tests a few values around the expected result because * it depends on the hardware we're dealing with, we can either
@@ -773,15 +780,18 @@ run_ctm_tests_for_pipe(data_t *data, enum pipe p,* for odd number of items in the LUTs. */ for (i =0 ; i < iter; i++) { -float c = ctm[0 ] + delta * (i - (iter /2 )); -color_t expected_colors_local[] = { - { .r = c, }, - { .g = c, }, - { .b = c, }, +color_t expected_colors[3 ] = { + fb_colors[0 ], + fb_colors[1 ], + fb_colors[2 ], }; +transform_color (&expected_colors[0 ], ctm, delta * (i - (iter /2 ))); +transform_color (&expected_colors[1 ], ctm, delta * (i - (iter /2 ))); +transform_color (&expected_colors[2 ], ctm, delta * (i - (iter /2 ))); +if (test_pipe_ctm (data, data->primary, fb_colors, - expected_colors_local, ctm)) { + expected_colors, ctm)) { success = true;break ; }
@@ -953,17 +963,11 @@ run_tests_for_pipe(data_t *data)const char *name;int iter;const color_t *fb_colors; -color_t colors[3 ];double ctm[9 ];const char *desc; } ctm_tests[] = { { .name = "ctm-red-to-blue", .fb_colors = colors_rgb, - .colors = { - { 0.0, 0.0, 1.0 }, - { 0.0, 1.0, 0.0 }, - { 0.0, 0.0, 1.0 }, - }, .ctm = {0.0 ,0.0 ,0.0 , 0.0, 1.0, 0.0,
@@ -973,11 +977,6 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-green-to-red", .fb_colors = colors_rgb, - .colors = { - { 1.0, 0.0, 0.0 }, - { 1.0, 0.0, 0.0 }, - { 0.0, 0.0, 1.0 }, - }, .ctm = {1.0 ,1.0 ,0.0 , 0.0, 0.0, 0.0,
@@ -987,11 +986,6 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-blue-to-red", .fb_colors = colors_rgb, - .colors = { - { 1.0, 0.0, 0.0 }, - { 0.0, 1.0, 0.0 }, - { 1.0, 0.0, 0.0 }, - }, .ctm = {1.0 ,0.0 ,1.0 , 0.0, 1.0, 0.0,
@@ -1001,11 +995,6 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-max", .fb_colors = colors_rgb, - .colors = { - { 1.0, 0.0, 0.0 }, - { 0.0, 1.0, 0.0 }, - { 0.0, 0.0, 1.0 }, - }, .ctm = { 100.0, 0.0, 0.0,0.0 ,100.0 ,0.0 , 0.0, 0.0, 100.0,
@@ -1014,11 +1003,6 @@ run_tests_for_pipe(data_t *data) }, { .name = "ctm-negative", .fb_colors = colors_rgb, - .colors = { - { 0.0, 0.0, 0.0 }, - { 0.0, 0.0, 0.0 }, - { 0.0, 0.0, 0.0 }, - }, .ctm = {-1.0 ,0.0 ,0.0 , 0.0, -1.0, 0.0,
@@ -1075,7 +1059,6 @@ run_tests_for_pipe(data_t *data)for_each_pipe (&data->display, pipe) {run_ctm_tests_for_pipe (data, pipe, ctm_tests[i].fb_colors, - ctm_tests[i].colors, ctm_tests[i].ctm, ctm_tests[i].iter); }
Signature · 1 line
2.39.2
PATCH 6/8 tests/kms_color: Add and additional "signed" subtest
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
i915 CHV CSC code has a bug where it treats the hardware CSC coefficient as sign-magnitude instead of the two's complement value that it is. None of the current tests manage to notice this.
Add a testcase that uses suitable negative coefficients to catch the issue. With CHV's s4.12 coefficients the -0.25 ends up as -7.75 and the results won't match.
--- tests/kms_color.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
tests/kms_color.c +15 -0
@@ -959,6 +959,11 @@ run_tests_for_pipe(data_t *data) { 0.0, 1.0, 0.0 }, { 0.0, 0.0, 1.0 }, }; + static const color_t colors_cmy[] = { + { 0.0, 1.0, 1.0 }, + { 1.0, 0.0, 1.0 }, + { 1.0, 1.0, 0.0 } + }; static const struct { const char *name; int iter;
@@ -1040,6 +1045,16 @@ run_tests_for_pipe(data_t *data) }, .desc = "Check the color transformation for 0.75 transparency", }, + { .name = "ctm-signed", + .fb_colors = colors_cmy, + .iter = 3, + .ctm = { + -0.25, 0.75, 0.75, + 0.75, -0.25, 0.75, + 0.75, 0.75, -0.25, + }, + .desc = "Check the color transformation for correct signed handling", + }, }; int i;
Signature · 1 line
2.39.2
PATCH 7/8 tests/kms_color: Dump the CTM before/after color values
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Include the before/after color values in the debug output to help with diagnosing failures.
--- tests/kms_color.c | 8 ++++++++ 1 file changed, 8 insertions(+)
tests/kms_color.c +8 -0
@@ -511,6 +511,14 @@ static bool test_pipe_ctm(data_t *data,set_gamma (data, primary->pipe, gamma_linear); } +igt_debug ("color before[0] %f,%f,%f\n" , before[0 ].r, before[0 ].g, before[0 ].b); +igt_debug ("color before[1] %f,%f,%f\n" , before[1 ].r, before[1 ].g, before[1 ].b); +igt_debug ("color before[2] %f,%f,%f\n" , before[2 ].r, before[2 ].g, before[2 ].b); + +igt_debug ("color after[0] %f,%f,%f\n" , after[0 ].r, after[0 ].g, after[0 ].b); +igt_debug ("color after[1] %f,%f,%f\n" , after[1 ].r, after[1 ].g, after[1 ].b); +igt_debug ("color after[2] %f,%f,%f\n" , after[2 ].r, after[2 ].g, after[2 ].b); +disable_ctm (primary->pipe);igt_display_commit (&data->display);
Signature · 1 line
2.39.2
PATCH 8/8 tests/intel-ci/fast-feedback: Run ctm tests
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
--- tests/intel-ci/fast-feedback.testlist | 11 +++++++++++ 1 file changed, 11 insertions(+)
tests/intel-ci/fast-feedback.testlist +11 -0
@@ -181,3 +181,14 @@ igt@gem_exec_suspend@basic-s0 igt@gem_exec_suspend@basic-s3 igt@kms_chamelium_hpd@common-hpd-after-suspend igt@kms_pipe_crc_basic@suspend-read-crc + +igt@kms_color@ctm-red-to-blue +igt@kms_color@ctm-green-to-red +igt@kms_color@ctm-blue-to-red +igt@kms_color@ctm-max +igt@kms_color@ctm-negative +igt@kms_color@ctm-0-25 +igt@kms_color@ctm-0-50 +igt@kms_color@ctm-0-75 +igt@kms_color@ctm-signed +igt@kms_color@invalid-ctm-matrix-sizes
Signature · 1 line
2.39.2
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_color: Improve CTM tests
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: tests/kms_color: Improve CTM tests
URL : https://patchwork.freedesktop.org/series/116300/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12987 -> IGTPW_8776
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html
Participating hosts (35 -> 34)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8776:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_color@ctm-signed} (NEW):
- bat-dg1-7: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-dg1-7/igt@[email protected]
- bat-rpls-2: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-rpls-2/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_12987 and IGTPW_8776:
### New IGT tests (24) ###
* igt@kms_color@ctm-signed:
- Statuses : 9 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-dp-1:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-dp-3:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-edp-1:
- Statuses : 7 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-hdmi-a-1:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-hdmi-a-2:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-vga-1:
- Statuses : 2 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-dp-1:
- Statuses : 4 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-dp-2:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-dp-3:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-edp-1:
- Statuses : 7 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-hdmi-a-1:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-hdmi-a-2:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-vga-1:
- Statuses : 2 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-dp-1:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-dp-3:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-edp-1:
- Statuses : 7 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-hdmi-a-1:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-hdmi-a-2:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-vga-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-dp-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-dp-3:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-edp-1:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_8776 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_color@ctm-0-50:
- bat-dg1-7: NOTRUN -> [SKIP][3] ([i915#3546]) +7 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-dg1-7/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#3546]) +7 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-bsw-nick/igt@[email protected]
* igt@kms_color@ctm-0-75:
- bat-rpls-2: NOTRUN -> [SKIP][5] ([i915#1849] / [i915#3546]) +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-rpls-2/igt@[email protected]
* igt@kms_color@ctm-0-75@pipe-a-hdmi-a-1:
- fi-elk-e7500: NOTRUN -> [SKIP][6] ([fdo#109271]) +19 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-elk-e7500/igt@kms_color@[email protected]
* igt@kms_color@ctm-blue-to-red:
- fi-bsw-n3050: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#3546]) +7 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-bsw-n3050/igt@[email protected]
* igt@kms_color@ctm-green-to-red:
- fi-kbl-x1275: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#3546]) +7 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-x1275/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3546]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-8809g/igt@[email protected]
* igt@kms_color@ctm-max:
- fi-kbl-guc: NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#3546]) +7 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-guc/igt@[email protected]
* igt@kms_color@ctm-max@pipe-a-vga-1:
- fi-ilk-650: NOTRUN -> [SKIP][11] ([fdo#109271]) +19 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-ilk-650/igt@kms_color@[email protected]
* igt@kms_color@ctm-negative:
- bat-rpls-2: NOTRUN -> [SKIP][12] ([i915#3546]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-rpls-2/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][13] ([i915#3546] / [i915#5354]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-dg2-11/igt@[email protected]
* {igt@kms_color@ctm-signed} (NEW):
- bat-dg2-11: NOTRUN -> [SKIP][14] ([i915#5354])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-dg2-11/igt@[email protected]
- fi-kbl-x1275: NOTRUN -> [SKIP][15] ([fdo#109271])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-x1275/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [SKIP][16] ([fdo#109271])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-8809g/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [SKIP][17] ([fdo#109271])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-bsw-nick/igt@[email protected]
- fi-kbl-guc: NOTRUN -> [SKIP][18] ([fdo#109271])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-kbl-guc/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [SKIP][19] ([fdo#109271])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/fi-bsw-n3050/igt@[email protected]
- {bat-kbl-2}: NOTRUN -> [SKIP][20] ([fdo#109271])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-kbl-2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [PASS][21] -> [FAIL][22] ([i915#7932]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Warnings ####
* igt@i915_selftest@live@slpc:
- bat-rpls-2: [DMESG-FAIL][23] ([i915#6997] / [i915#7913]) -> [DMESG-FAIL][24] ([i915#6367] / [i915#7913])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/bat-rpls-2/igt@i915_selftest@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/bat-rpls-2/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7249 -> IGTPW_8776
CI-20190529: 20190529
CI_DRM_12987: 603a179375a194085e1462cf1c24f2a0006dd72b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8776: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html
IGT_7249: 44cc06fb6a20c8907f696ca61ba87e152b3dcd11 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@kms_color@ctm-signed
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_color: Improve CTM tests
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: tests/kms_color: Improve CTM tests
URL : https://patchwork.freedesktop.org/series/116300/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12987_full -> IGTPW_8776_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8776_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- {shard-rkl}: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-rkl-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-rkl-7/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_12987_full and IGTPW_8776_full:
### New IGT tests (16) ###
* igt@kms_color@ctm-signed:
- Statuses :
- Exec time: [None] s
* igt@kms_color@ctm-signed@pipe-a-dp-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-a-vga-1:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-dp-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-hdmi-a-2:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-b-vga-1:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-dp-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-c-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_color@ctm-signed@pipe-d-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_8776_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [PASS][3] -> [FAIL][4] ([i915#2842]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-glk9/igt@gem_exec_fair@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rps@reset:
- shard-snb: [PASS][5] -> [DMESG-FAIL][6] ([i915#8319])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-snb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-snb7/igt@[email protected]
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#3886])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl4/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium_hpd@hdmi-hpd-storm:
- shard-snb: NOTRUN -> [SKIP][8] ([fdo#109271]) +46 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-snb4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][9] -> [FAIL][10] ([i915#2346])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-glk5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-glk3/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][11] -> [FAIL][12] ([i915#2346])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@2x-plain-flip-ts-check-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#2122])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-glk5/igt@kms_flip@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-glk3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a2:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#79])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-glk5/igt@kms_flip@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_plane_alpha_blend@constant-alpha-max@pipe-c-dp-1:
- shard-apl: NOTRUN -> [FAIL][17] ([i915#4573]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl2/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#658])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl3/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_vblank@pipe-d-ts-continuation-dpms-rpm:
- shard-apl: NOTRUN -> [SKIP][19] ([fdo#109271]) +24 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl4/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#2437])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl6/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@read:
- {shard-dg1}: [FAIL][21] -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-dg1-16/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-dg1-18/igt@[email protected]
* igt@gem_barrier_race@remote-request@rcs0:
- shard-apl: [ABORT][23] ([i915#8211] / [i915#8234]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-apl6/igt@gem_barrier_race@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl2/igt@gem_barrier_race@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-rkl}: [FAIL][25] ([i915#6268]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-rkl-6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-rkl-4/igt@[email protected]
- {shard-tglu}: [FAIL][27] ([i915#6268]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-tglu-3/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-tglu-3/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][29] ([fdo#109271]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-apl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl3/igt@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-rkl}: [SKIP][31] ([i915#1397]) -> [PASS][32] +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-rkl-3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-rkl-7/igt@[email protected]
* igt@i915_selftest@perf@engine_cs:
- shard-snb: [ABORT][33] ([i915#4528]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-snb2/igt@i915_selftest@perf@engine_cs.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-snb5/igt@i915_selftest@perf@engine_cs.html
* igt@i915_suspend@fence-restore-untiled:
- {shard-tglu}: [ABORT][35] ([i915#5122]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-tglu-7/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-tglu-10/igt@[email protected]
* igt@kms_color@ctm-0-75@pipe-a-hdmi-a-1:
- {shard-tglu}: [FAIL][37] ([i915#315] / [i915#6946]) -> [PASS][38] +7 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-tglu-5/igt@kms_color@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-tglu-10/igt@kms_color@[email protected]
* igt@kms_color@ctm-0-75@pipe-b-hdmi-a-2:
- {shard-rkl}: [FAIL][39] ([i915#315]) -> [PASS][40] +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-rkl-4/igt@kms_color@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-rkl-3/igt@kms_color@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-apl: [FAIL][41] ([i915#2346]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-apl3/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-apl1/igt@[email protected]
* igt@kms_cursor_legacy@forked-bo@pipe-b:
- {shard-rkl}: [INCOMPLETE][43] ([i915#8011]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-rkl-7/igt@kms_cursor_legacy@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-rkl-2/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@dpms-vs-vblank-race-interruptible@b-hdmi-a2:
- shard-glk: [FAIL][45] ([i915#407]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-glk1/igt@kms_flip@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-glk6/igt@kms_flip@[email protected]
* igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1:
- {shard-tglu}: [FAIL][47] ([i915#8292]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12987/shard-tglu-8/igt@kms_plane_scaling@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/shard-tglu-6/igt@kms_plane_scaling@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#407]: https://gitlab.freedesktop.org/drm/intel/issues/407
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4884]: https://gitlab.freedesktop.org/drm/intel/issues/4884
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5251]: https://gitlab.freedesktop.org/drm/intel/issues/5251
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8234]: https://gitlab.freedesktop.org/drm/intel/issues/8234
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8319]: https://gitlab.freedesktop.org/drm/intel/issues/8319
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7249 -> IGTPW_8776
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12987: 603a179375a194085e1462cf1c24f2a0006dd72b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8776: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html
IGT_7249: 44cc06fb6a20c8907f696ca61ba87e152b3dcd11 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8776/index.html