lib/igt_kms: Add support for display with
cover lib/igt_kms: Add support for display with
With non-contiguous pipes display, pipe mapping is always not same as crtc mapping, pipe is enum id of i915 crtc object and it is not equal to crtc offset of a pipe in mode config list. Hence allocating upper bound array for igt_pipes and reading pipe id using CRTC_ID_TO_PIPE ioctl. Using crtc offset for a pipe from mode config list to read vblank events.
V6:
Updated documentation for using crtc offset for a pipe
Mohammed Khajapasha (11):
lib/igt_kms: Add support for display with non-contiguous pipes lib/igt_kms: Add igt_require_pipe() function tests/kms_cursor_legacy: Read crtc id for enable pipes tests/kms_lease: Get pipe from crtc for enable pipes tests/kms_lease: Read crtc id for a valid pipe lib/kms: Skip igt test cases for disabled display pipes tests/kms: Skip kms test cases for disabled pipes tests/kms_atomic_transition: Set modeset for enable pipes only i915/gem_eio: Set modeset for enable pipes
lib/kms: Convert pipe id flags for a vblank using crtc offset tests/kms: Use crtc offset to read vblank event for a pipe
lib/igt_kms.c | 136 ++++++++++++++++++++++++++------ lib/igt_kms.h | 41 ++++++++-- tests/i915/gem_eio.c | 2 + tests/i915/perf_pmu.c | 3 +- tests/kms_atomic_transition.c | 15 +++- tests/kms_available_modes_crc.c | 4 +- tests/kms_color.c | 37 ++++++--- tests/kms_color_chamelium.c | 2 +- tests/kms_concurrent.c | 2 +- tests/kms_cursor_crc.c | 18 +++-- tests/kms_cursor_edge_walk.c | 4 +- tests/kms_cursor_legacy.c | 13 +-- tests/kms_lease.c | 26 ++++-- tests/kms_pipe_crc_basic.c | 9 ++- tests/kms_plane.c | 10 ++- tests/kms_plane_lowres.c | 2 +- tests/kms_plane_multiple.c | 2 +- tests/kms_sequence.c | 3 +- tests/kms_universal_plane.c | 12 +-- tests/kms_vblank.c | 3 +- 20 files changed, 255 insertions(+), 89 deletions(-)
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 1/11 lib/igt_kms: Add support for display with non-contiguous pipes
Add support for non-contiguous pipe display by allocating upper bound pipes array for display. Set the pipe enum name to igt pipe for enabled pipes in drm.
v5:
Updated documentation in igt_require_display() fn Made minor changes in __igt_pipe_populate_outputs() fn
--- lib/igt_kms.c | 66 +++++++++++++++++++++++++++++++++++++++++++++------ lib/igt_kms.h | 14 +++++++---- 2 files changed, 68 insertions(+), 12 deletions(-)
lib/igt_kms.c +59 -7
@@ -1873,6 +1873,21 @@ void igt_display_reset(igt_display_t *display)static void igt_fill_plane_format_mod (igt_display_t *display,igt_plane_t *plane);static void igt_fill_display_format_mod (igt_display_t *display); +/* Get crtc mask for a pipe using crtc id */ +static int +__get_crtc_mask_for_pipe (drmModeRes *resources,igt_pipe_t *pipe) +{ +int offset; + +for (offset =0 ; offset < resources->count_crtcs; offset++) + { +if (pipe->crtc_id == resources->crtcs[offset]) +break ; + } + +return (1 << offset); +} +/** * igt_display_require: * @display: a pointer to an #igt_display_t structure
@@ -1889,12 +1904,14 @@ void igt_display_require(igt_display_t *display, int drm_fd)drmModeRes *resources;drmModePlaneRes *plane_resources;int i; +bool is_i915_dev;memset (display,0 ,sizeof (igt_display_t));LOG_INDENT (display,"init" ); display->drm_fd = drm_fd; + is_i915_dev =is_i915_device (drm_fd); resources =drmModeGetResources (display->drm_fd);if (!resources)
@@ -1921,10 +1938,38 @@ void igt_display_require(igt_display_t *display, int drm_fd)* We cache the number of pipes, that number is a physical limit of the * hardware and cannot change of time (for now, at least). */ - display->n_pipes = resources->count_crtcs; + display->n_pipes =IGT_MAX_PIPES ; display->pipes =calloc (sizeof (igt_pipe_t), display->n_pipes);igt_assert_f (display->pipes,"Failed to allocate memory for %d pipes\n" , display->n_pipes); +for (i =0 ; i < resources->count_crtcs; i++) { +igt_pipe_t *pipe; + +/* +* In i915, pipe is a i915's specific crtc object, +* with non-contiguous pipes display, crtc mapping is not always same +* with pipe mapping, hence get right pipe enum for a crtc using +* GET_PIPE_FROM_CRTC_ID ioctl for a pipe. +*/ +if (is_i915_dev) { +struct drm_i915_get_pipe_from_crtc_id get_pipe; + + get_pipe.pipe =0 ; + get_pipe.crtc_id = resources->crtcs[i]; +do_ioctl (display->drm_fd, +DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID , &get_pipe); + pipe = &display->pipes[get_pipe.pipe]; + pipe->pipe = get_pipe.pipe; + } +else { + pipe = &display->pipes[i]; + pipe->pipe = i; + } + + pipe->enabled = true; + pipe->crtc_id = resources->crtcs[i]; + } +drmSetClientCap (drm_fd,DRM_CLIENT_CAP_UNIVERSAL_PLANES ,1 );if (drmSetClientCap (drm_fd,DRM_CLIENT_CAP_ATOMIC ,1 ) ==0 ) display->is_atomic =1 ;
@@ -1955,25 +2000,26 @@ void igt_display_require(igt_display_t *display, int drm_fd)for_each_pipe (display, i) {igt_pipe_t *pipe = &display->pipes[i];igt_plane_t *plane; -int p =1 ; +int p =1 , crtc_mask =0 ;int j, type;uint8_t last_plane =0 , n_planes =0 ; - pipe->crtc_id = resources->crtcs[i]; pipe->display = display; - pipe->pipe = i; pipe->plane_cursor =-1 ; pipe->plane_primary =-1 ; pipe->planes =NULL ;igt_fill_pipe_props (display, pipe,IGT_NUM_CRTC_PROPS , igt_crtc_prop_names); +/* Get valid crtc index from crtcs for a pipe */ + crtc_mask =__get_crtc_mask_for_pipe (resources, pipe); +/* count number of valid planes */ for (j =0 ; j < display->n_planes; j++) {drmModePlane *drm_plane = display->planes[j].drm_plane;igt_assert (drm_plane); -if (drm_plane->possible_crtcs & (1 << i)) +if (drm_plane->possible_crtcs & crtc_mask) n_planes++; }
@@ -1987,7 +2033,7 @@ void igt_display_require(igt_display_t *display, int drm_fd)igt_plane_t *global_plane = &display->planes[j];drmModePlane *drm_plane = global_plane->drm_plane; -if (!(drm_plane->possible_crtcs & (1 << i))) +if (!(drm_plane->possible_crtcs & crtc_mask))continue ; type = global_plane->type;
@@ -2409,12 +2455,18 @@ static bool output_is_internal_panel(igt_output_t *output)igt_output_t **__igt_pipe_populate_outputs (igt_display_t *display,igt_output_t **chosen_outputs) { -unsigned full_pipe_mask = (1 << (display->n_pipes)) -1 , assigned_pipes =0 ; +unsigned full_pipe_mask, assigned_pipes =0 ;igt_output_t *output;int i, j;memset (chosen_outputs,0 ,sizeof (*chosen_outputs) * display->n_pipes); +for (i =0 ; i < display->n_pipes; i++) { +igt_pipe_t *pipe = &display->pipes[i]; +if (pipe->enabled) + full_pipe_mask |= (1 << i); + } +/* * Try to assign all outputs to the first available CRTC for * it, start with the outputs restricted to 1 pipe, then increase
lib/igt_kms.h +9 -5
@@ -341,6 +341,8 @@ typedef struct igt_plane {struct igt_pipe {igt_display_t *display;enum pipe pipe; +/* pipe is enabled or not */ +bool enabled;int n_planes;int plane_cursor;
@@ -510,8 +512,9 @@ static inline bool igt_output_is_connected(igt_output_t *output)* depends upon runtime probing of the actual kms driver that is being tested. * Use #for_each_pipe_static instead. */ -#define for_each_pipe (display, pipe) \ - for (pipe = 0; assert(igt_can_fail()), pipe < igt_display_get_n_pipes(display); pipe++) +#define for_each_pipe (display, pipe) \ + for_each_pipe_static(pipe) \ + for_each_if((display)->pipes[(pipe)].enabled)/** * for_each_pipe_with_valid_output:
@@ -530,8 +533,9 @@ static inline bool igt_output_is_connected(igt_output_t *output)for (int con__ = (pipe) =0 ; \assert (igt_can_fail ()), (pipe) <igt_display_get_n_pipes ((display)) && con__ < (display)->n_outputs; \ con__ = (con__ +1 < (display)->n_outputs) ? con__ +1 : (pipe = pipe +1 ,0 )) \ -for_each_if ((((output) = &(display)->outputs[con__]), \ - igt_pipe_connector_valid((pipe), (output)))) + for_each_if((display)->pipes[pipe].enabled) \ +for_each_if ((((output) = &(display)->outputs[con__]), \ + igt_pipe_connector_valid((pipe), (output))))igt_output_t **__igt_pipe_populate_outputs (igt_display_t *display,igt_output_t **chosen_outputs);
@@ -549,7 +553,7 @@ igt_output_t **__igt_pipe_populate_outputs(igt_display_t *display,#define for_each_pipe_with_single_output (display, pipe, output) \ for (igt_output_t *__outputs[(display)->n_pipes], \ **__output = __igt_pipe_populate_outputs((display), __outputs); \ - __output < &__outputs[(display)->n_pipes]; __output++) \ + __output < &__outputs[(display)->n_pipes]; __output++) \ for_each_if (*__output && \ ((pipe) = (__output - __outputs), (output) = *__output, 1))
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/11 lib/igt_kms: Add igt_require_pipe() function
In reply to Mohammed KhajapashaAdd igt_require_pipe() fn to check whether a pipe is enabled or not
--- lib/igt_kms.c | 17 +++++++++++++++++ lib/igt_kms.h | 13 +++++++++++++ 2 files changed, 30 insertions(+)
lib/igt_kms.c +17 -0
@@ -1873,6 +1873,23 @@ void igt_display_reset(igt_display_t *display)static void igt_fill_plane_format_mod (igt_display_t *display,igt_plane_t *plane);static void igt_fill_display_format_mod (igt_display_t *display); +/* +* igt_require_pipe: +* @display: pointer to igt_display_t +* @pipe: pipe which need to check +* +* Skip a (sub-)test if the pipe not enabled. +* +* Should be used everywhere where a test checks pipe and skip +* test when pipe is not enabled. +*/ +void igt_require_pipe (igt_display_t *display,enum pipe pipe) +{ +igt_skip_on_f (!display->pipes[pipe].enabled, +"Pipe %s does not exist or not enabled\n" , +kmstest_pipe_name (pipe)); +} +/* Get crtc mask for a pipe using crtc id */ static int __get_crtc_mask_for_pipe (drmModeRes *resources,igt_pipe_t *pipe)
lib/igt_kms.h +13 -0
@@ -858,4 +858,17 @@ int igt_connector_sysfs_open(int drm_fd, drmModeConnector *connector);uint32_t igt_reduce_format (uint32_t format); +/* +* igt_require_pipe: +* @display: pointer to igt_display_t +* @pipe: pipe which need to check +* +* Skip a (sub-)test if the pipe not enabled. +* +* Should be used everywhere where a test checks pipe and skip +* test when pipe is not enabled. +*/ +void igt_require_pipe (igt_display_t *display, +enum pipe pipe); +#endif /* __IGT_KMS_H__ */
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 3/11 tests/kms_cursor_legacy: Read crtc id for enable pipes
In reply to Mohammed KhajapashaRead the crtc ids for enable pipes only in display.
--- tests/kms_cursor_legacy.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
tests/kms_cursor_legacy.c +8 -5
@@ -58,7 +58,7 @@ static void stress(igt_display_t *display,uint64_t *results;bool torture;int n; -unsigned crtc_id[IGT_MAX_PIPES ], num_crtcs; +unsigned crtc_id[IGT_MAX_PIPES ] = {0 }, num_crtcs; torture = false;if (num_children <0 ) {
@@ -84,8 +84,10 @@ static void stress(igt_display_t *display, } }else { num_crtcs =1 ; - arg.crtc_id = crtc_id[0 ] = display->pipes[pipe].crtc_id; -do_ioctl (display->drm_fd,DRM_IOCTL_MODE_CURSOR , &arg); +if (display->pipes[pipe].enabled) { + arg.crtc_id = crtc_id[0 ] = display->pipes[pipe].crtc_id; +do_ioctl (display->drm_fd,DRM_IOCTL_MODE_CURSOR , &arg); + } } arg.flags = mode;
@@ -103,7 +105,8 @@ static void stress(igt_display_t *display,hars_petruska_f54_1_random_perturb (child);igt_until_timeout (timeout) { arg.crtc_id = crtc_id[hars_petruska_f54_1_random_unsafe () % num_crtcs]; -do_ioctl (display->drm_fd,DRM_IOCTL_MODE_CURSOR , &arg); +if (arg.crtc_id) +do_ioctl (display->drm_fd,DRM_IOCTL_MODE_CURSOR , &arg); count++; }
@@ -1390,7 +1393,7 @@ igt_main errno =0 ; igt_fixture { -igt_skip_on (n >= display.n_pipes); +igt_require_pipe (&display, n); }igt_subtest_f ("pipe-%s-single-bo" ,kmstest_pipe_name (n))
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 4/11 tests/kms_lease: Get pipe from crtc for enable pipes
In reply to Mohammed KhajapashaGet pipe from drm crtc for enabled pipes only.
--- tests/kms_lease.c | 2 ++ 1 file changed, 2 insertions(+)
tests/kms_lease.c +2 -0
@@ -684,6 +684,8 @@ static void lease_unleased_crtc(data_t *data)/* Find another CRTC that we don't control */ bad_crtc_id =0 ;for (p =0 ; bad_crtc_id ==0 && p < data->master.display.n_pipes; p++) { +if (!(data->master.display.pipes[p].enabled)) +continue ;if (pipe_to_crtc_id (&data->master.display, p) != data->crtc_id) bad_crtc_id =pipe_to_crtc_id (&data->master.display, p); }
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 5/11 tests/kms_lease: Read crtc id for a valid pipe
In reply to Mohammed KhajapashaRead crtc id for enabled pipes only.
--- tests/kms_lease.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
tests/kms_lease.c +4 -2
@@ -136,9 +136,11 @@ static enum pipe crtc_id_to_pipe(igt_display_t *display, uint32_t crtc_id) {enum pipe pipe; -for (pipe =0 ; pipe < display->n_pipes; pipe++) -if (display->pipes[pipe].crtc_id == crtc_id) +for (pipe =0 ; pipe < display->n_pipes; pipe++) { +if (display->pipes[pipe].enabled && + display->pipes[pipe].crtc_id == crtc_id)return pipe; + }return -1 ; }
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 6/11 lib/kms: Skip igt test cases for disabled display pipes
In reply to Mohammed KhajapashaSkip igt test cases for disabled pipes.
--- lib/igt_kms.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
lib/igt_kms.c +2 -3
@@ -2193,8 +2193,7 @@ void igt_display_require_output_on_pipe(igt_display_t *display, enum pipe pipe) {igt_output_t *output; -igt_skip_on_f (pipe >=igt_display_get_n_pipes (display), -"Pipe %s does not exist.\n" ,kmstest_pipe_name (pipe)); +igt_require_pipe (display, pipe);for_each_valid_output_on_pipe (display, pipe, output)return ;
@@ -2549,7 +2548,7 @@ igt_output_t *igt_get_single_output_for_pipe(igt_display_t *display, enum pipe pigt_output_t *chosen_outputs[display->n_pipes];igt_assert (pipe !=PIPE_NONE ); -igt_require (pipe < display->n_pipes); +igt_require_pipe (display, pipe);__igt_pipe_populate_outputs (display, chosen_outputs);
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 7/11 tests/kms: Skip kms test cases for disabled pipes
In reply to Mohammed KhajapashaSkip the kms test cases for disabled pipes with
non-contiguous pipe display.
--- tests/kms_color.c | 2 +- tests/kms_color_chamelium.c | 2 +- tests/kms_concurrent.c | 2 +- tests/kms_pipe_crc_basic.c | 4 ++-- tests/kms_plane.c | 2 +- tests/kms_plane_lowres.c | 2 +- tests/kms_plane_multiple.c | 2 +- tests/kms_universal_plane.c | 12 ++++++------ 8 files changed, 14 insertions(+), 14 deletions(-)
tests/kms_color.c +1 -1
@@ -628,7 +628,7 @@ run_tests_for_pipe(data_t *data, enum pipe p) igt_fixture {igt_require_pipe_crc (data->drm_fd); -igt_require (p < data->display.n_pipes); +igt_require_pipe (&data->display, p); pipe = &data->display.pipes[p];igt_require (pipe->n_planes >=0 );
tests/kms_color_chamelium.c +1 -1
@@ -519,7 +519,7 @@ run_tests_for_pipe(data_t *data, enum pipe p) igt_fixture { -igt_require (p < data->display.n_pipes); +igt_require_pipe (&data->display, p); pipe = &data->display.pipes[p];igt_require (pipe->n_planes >=0 );
tests/kms_concurrent.c +1 -1
@@ -320,7 +320,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe) igt_fixture {int valid_tests =0 ; -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_require (data->display.pipes[pipe].n_planes >0 );for_each_valid_output_on_pipe (&data->display, pipe, output)
tests/kms_pipe_crc_basic.c +2 -2
@@ -71,7 +71,7 @@ static void test_read_crc(data_t *data, enum pipe pipe, unsigned flags)igt_crc_t *crcs =NULL ;int c, j; -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (display, pipe);igt_require_f (output,"No connector found for pipe %s\n" ,kmstest_pipe_name (pipe));
@@ -187,7 +187,7 @@ igt_maintest_read_crc (&data, pipe,TEST_SEQUENCE |TEST_NONBLOCK ); igt_subtest_f("suspend-read-crc-pipe-%s", kmstest_pipe_name(pipe)) { -igt_skip_on (pipe >= data.display.n_pipes); +igt_require_pipe (&data.display, pipe);test_read_crc (&data, pipe,0 );
tests/kms_plane.c +1 -1
@@ -940,7 +940,7 @@ static void run_tests_for_pipe_plane(data_t *data, enum pipe pipe) { igt_fixture { -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_require (data->display.pipes[pipe].n_planes >0 ); }
tests/kms_plane_lowres.c +1 -1
@@ -259,7 +259,7 @@ test_planes_on_pipe(data_t *data, uint64_t modifier)igt_plane_t *plane;unsigned tested =0 ; -igt_skip_on (data->pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, data->pipe);igt_display_require_output_on_pipe (&data->display, data->pipe);igt_skip_on (!igt_display_has_format_mod (&data->display,DRM_FORMAT_XRGB8888 , modifier));
tests/kms_plane_multiple.c +1 -1
@@ -378,7 +378,7 @@ static void run_tests_for_pipe(data_t *data, enum pipe pipe) { igt_fixture { -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_require (data->display.pipes[pipe].n_planes >0 ); }
tests/kms_universal_plane.c +6 -6
@@ -135,7 +135,7 @@ functional_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)int num_primary =0 , num_cursor =0 ;int i; -igt_skip_on (pipe >= display->n_pipes); +igt_require_pipe (display, pipe);igt_info ("Testing connector %s using pipe %s\n" ,igt_output_name (output),kmstest_pipe_name (pipe));
@@ -364,7 +364,7 @@ sanity_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)int i;int expect; -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_output_set_pipe (output, pipe); mode =igt_output_get_mode (output);
@@ -476,7 +476,7 @@ pageflip_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)fd_set fds;int ret =0 ; -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_output_set_pipe (output, pipe);
@@ -577,7 +577,7 @@ cursor_leak_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)int r, g, b;int count1, count2; -igt_skip_on (pipe >= display->n_pipes); +igt_require_pipe (display, pipe);igt_require (display->has_cursor_plane);igt_output_set_pipe (output, pipe);
@@ -705,7 +705,7 @@ gen9_test_pipe(data_t *data, enum pipe pipe, igt_output_t *output)int ret =0 ;igt_skip_on (data->gen <9 ); -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);igt_output_set_pipe (output, pipe);
@@ -750,7 +750,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe) igt_fixture {int valid_tests =0 ; -igt_skip_on (pipe >= data->display.n_pipes); +igt_require_pipe (&data->display, pipe);for_each_valid_output_on_pipe (&data->display, pipe, output) valid_tests++;
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 8/11 tests/kms_atomic_transition: Set modeset for enable pipes only
In reply to Mohammed KhajapashaSet the modeset for enable pipes only by using max iteration from enable pipe count.
--- tests/kms_atomic_transition.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
tests/kms_atomic_transition.c +7 -2
@@ -737,8 +737,8 @@ static void collect_crcs_mask(igt_pipe_crc_t **pipe_crcs, unsigned mask, igt_crcstatic void run_modeset_tests (igt_display_t *display,int howmany,bool nonblocking,bool fencing) {struct igt_fb fbs[2 ]; -int i, j; -unsigned iter_max =1 << display->n_pipes; +int i, j =0 ; +unsigned iter_max;igt_pipe_crc_t *pipe_crcs[IGT_MAX_PIPES ] = {0 };igt_output_t *output;unsigned width =0 , height =0 ;
@@ -762,6 +762,9 @@ static void run_modeset_tests(igt_display_t *display, int howmany, bool nonblockigt_plane_t *plane =igt_pipe_get_plane_type (pipe,DRM_PLANE_TYPE_PRIMARY );drmModeModeInfo *mode =NULL ; +/* count enable pipes to set max iteration */ + j +=1 ; +if (is_i915_device (display->drm_fd)) pipe_crcs[i] =igt_pipe_crc_new (display->drm_fd, i,INTEL_PIPE_CRC_SOURCE_AUTO );
@@ -785,6 +788,8 @@ static void run_modeset_tests(igt_display_t *display, int howmany, bool nonblockigt_plane_set_fb (plane,NULL ); } + iter_max =1 << j; +igt_display_commit2 (display,COMMIT_ATOMIC );for (i =0 ; i < iter_max; i++) {
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 9/11 i915/gem_eio: Set modeset for enable pipes
In reply to Mohammed KhajapashaSet modeset for enable pipes only in kms test
--- tests/i915/gem_eio.c | 2 ++ 1 file changed, 2 insertions(+)
tests/i915/gem_eio.c +2 -0
@@ -851,6 +851,8 @@ static void display_helper(igt_display_t *dpy, int *done)int pipe; pipe =rand () % dpy->n_pipes; +if (!dpy->pipes[pipe].enabled) +continue ; output =igt_get_single_output_for_pipe (dpy, pipe);if (!output)continue ;
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 10/11 lib/kms: Convert pipe id flags for a vblank using crtc offset
In reply to Mohammed KhajapashaIn i915 with non-contiguous pipes display, pipes always not same as crtc index in display pipes array. Hence reading pipe id flags for a vblank event using crtc offset.
--- lib/igt_kms.c | 48 ++++++++++++++++++++++++++++++++---------------- lib/igt_kms.h | 14 +++++++++++--- 2 files changed, 43 insertions(+), 19 deletions(-)
lib/igt_kms.c +32 -16
@@ -1985,6 +1985,8 @@ void igt_display_require(igt_display_t *display, int drm_fd) pipe->enabled = true; pipe->crtc_id = resources->crtcs[i]; +/* offset of a pipe in crtcs list */ + pipe->crtc_offset = i; }drmSetClientCap (drm_fd,DRM_CLIENT_CAP_UNIVERSAL_PLANES ,1 );
@@ -4133,18 +4135,22 @@ void igt_pipe_request_out_fence(igt_pipe_t *pipe)/** * igt_wait_for_vblank_count: * @drm_fd: A drm file descriptor -* @pipe: Pipe to wait_for_vblank on +* @crtc_offset: offset of a Pipe to wait_for_vblank on * @count: Number of vblanks to wait on * +* In i915, with non-contiguous pipe display, pipe mapping always +* not same with crtc mapping, passing crtc offset of a pipe to +* read vblank count for a pipe, in i915 pipe is i915's crtc object id. +* * Waits for a given number of vertical blank intervals */ -void igt_wait_for_vblank_count (int drm_fd,enum pipe pipe,int count) +void igt_wait_for_vblank_count (int drm_fd,int crtc_offset,int count) {drmVBlank wait_vbl;uint32_t pipe_id_flag;memset (&wait_vbl,0 ,sizeof (wait_vbl)); - pipe_id_flag =kmstest_get_vbl_flag (pipe); + pipe_id_flag =kmstest_get_vbl_flag (crtc_offset); wait_vbl.request.type =DRM_VBLANK_RELATIVE ; wait_vbl.request.type |= pipe_id_flag;
@@ -4156,13 +4162,17 @@ void igt_wait_for_vblank_count(int drm_fd, enum pipe pipe, int count)/** * igt_wait_for_vblank: * @drm_fd: A drm file descriptor -* @pipe: Pipe to wait_for_vblank on +* @crtc_offset: offset of a Pipe to wait_for_vblank on +* +* In i915, with non-contiguous pipe display, pipe mapping always +* not same with crtc mapping, passing crtc offset of a pipe to +* read vblank count for a pipe. * * Waits for 1 vertical blank intervals */ -void igt_wait_for_vblank (int drm_fd,enum pipe pipe) +void igt_wait_for_vblank (int drm_fd,int crtc_offset) { -igt_wait_for_vblank_count (drm_fd, pipe,1 ); +igt_wait_for_vblank_count (drm_fd, crtc_offset,1 ); }/**
@@ -4385,22 +4395,28 @@ void igt_cleanup_uevents(struct udev_monitor *mon)/** * kmstest_get_vbl_flag: -* @pipe_id: Pipe to convert to flag representation. +* @crtc_offset: CRTC offset to convert into pipe flag representation. * -* Convert a pipe id into the flag representation -* expected in DRM while processing DRM_IOCTL_WAIT_VBLANK. +* In i915, with non-contiguous pipe display, pipe mapping always +* not same with crtc mapping, pipe is enum id of i915's crtc object +* passing crtc offset of a pipe to convert into the pipe flag +* representation expected in DRM while processing DRM_IOCTL_WAIT_VBLANK. */ -uint32_t kmstest_get_vbl_flag (uint32_t pipe_id) +uint32_t kmstest_get_vbl_flag (int crtc_offset) { -if (pipe_id ==0 ) -return 0 ; -else if (pipe_id ==1 ) -return _DRM_VBLANK_SECONDARY; +uint32_t pipe_id; + +if (crtc_offset ==0 ) + pipe_id =0 ; +else if (crtc_offset ==1 ) + pipe_id = _DRM_VBLANK_SECONDARY;else { -uint32_t pipe_flag = pipe_id <<1 ; +uint32_t pipe_flag = crtc_offset <<1 ;igt_assert (!(pipe_flag & ~DRM_VBLANK_HIGH_CRTC_MASK )); -return pipe_flag; + pipe_id = pipe_flag; } + +return pipe_id; } static inline const uint32_t *
lib/igt_kms.h +11 -3
@@ -338,8 +338,14 @@ typedef struct igt_plane {int format_mod_count; } igt_plane_t; +/* +* In i915, with non-contiguous pipe display, a pipe is not always +* same as a crtc mapping in display, pipe is enum id of a i915's crtc object +* using crtc offset to get the offset of a pipe from mode config list +*/ struct igt_pipe {igt_display_t *display; +/* Id of a pipe object */ enum pipe pipe;/* pipe is enabled or not */ bool enabled;
@@ -354,6 +360,8 @@ struct igt_pipe {uint64_t values[IGT_NUM_CRTC_PROPS ];uint32_t crtc_id; +/* crtc offset of a pipe in mode config list */ +uint32_t crtc_offset;int32_t out_fence_fd; };
@@ -448,8 +456,8 @@ void igt_fb_set_position(struct igt_fb *fb, igt_plane_t *plane,void igt_fb_set_size (struct igt_fb *fb,igt_plane_t *plane,uint32_t w,uint32_t h); -void igt_wait_for_vblank (int drm_fd,enum pipe pipe); -void igt_wait_for_vblank_count (int drm_fd,enum pipe pipe,int count); +void igt_wait_for_vblank (int drm_fd,int crtc_offset); +void igt_wait_for_vblank_count (int drm_fd,int crtc_offset,int count);static inline bool igt_output_is_connected (igt_output_t *output) {
@@ -769,7 +777,7 @@ void igt_pipe_refresh(igt_display_t *display, enum pipe pipe, bool force);void igt_enable_connectors (int drm_fd);void igt_reset_connectors (void ); -uint32_t kmstest_get_vbl_flag (uint32_t pipe_id); +uint32_t kmstest_get_vbl_flag (int crtc_offset);const struct edid *igt_kms_get_base_edid (void );const struct edid *igt_kms_get_alt_edid (void );
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 11/11 tests/kms: Use crtc offset to read vblank event for a pipe
In reply to Mohammed KhajapashaPass crtc_offset parameter to read a vblank event for a pipe to vblank helper functions.
--- tests/i915/perf_pmu.c | 3 ++- tests/kms_atomic_transition.c | 6 ++++-- tests/kms_available_modes_crc.c | 4 +++- tests/kms_color.c | 35 +++++++++++++++++++++++---------- tests/kms_cursor_crc.c | 18 +++++++++++------ tests/kms_cursor_edge_walk.c | 4 +++- tests/kms_lease.c | 18 ++++++++++++----- tests/kms_pipe_crc_basic.c | 5 +++-- tests/kms_plane.c | 8 ++++++-- tests/kms_sequence.c | 3 ++- tests/kms_vblank.c | 3 ++- 11 files changed, 75 insertions(+), 32 deletions(-)
tests/i915/perf_pmu.c +2 -1
@@ -874,7 +874,8 @@ static void prepare_crtc(data_t *data, int fd, igt_output_t *output)igt_display_commit (display); -igt_wait_for_vblank (fd, data->pipe); +igt_wait_for_vblank (fd, + display->pipes[data->pipe].crtc_offset); }static void cleanup_crtc (data_t *data,int fd,igt_output_t *output)
tests/kms_atomic_transition.c +4 -2
@@ -77,13 +77,15 @@ run_primary_test(igt_display_t *display, enum pipe pipe, igt_output_t *output)igt_display_commit2 (display,COMMIT_ATOMIC );if (!(i &1 )) -igt_wait_for_vblank (display->drm_fd, pipe); +igt_wait_for_vblank (display->drm_fd, + display->pipes[pipe].crtc_offset);igt_plane_set_fb (primary, (i &1 ) ? &fb :NULL );igt_display_commit2 (display,COMMIT_ATOMIC );if (i &1 ) -igt_wait_for_vblank (display->drm_fd, pipe); +igt_wait_for_vblank (display->drm_fd, + display->pipes[pipe].crtc_offset);igt_plane_set_fb (primary, (i &1 ) ?NULL : &fb); }
tests/kms_available_modes_crc.c +3 -1
@@ -285,6 +285,7 @@ test_one_mode(data_t* data, igt_output_t *output, igt_plane_t* plane,igt_crc_t current_crc;signed rVal =0 ;int i; +igt_display_t *display = &data->display;/* * Limit tests only to those fb formats listed in fillers table
@@ -304,7 +305,8 @@ test_one_mode(data_t* data, igt_output_t *output, igt_plane_t* plane,igt_fb_set_position (&data->fb, plane,0 ,0 );igt_display_commit2 (&data->display, data->commit); -igt_wait_for_vblank (data->gfx_fd, pipe); +igt_wait_for_vblank (data->gfx_fd, + display->pipes[pipe].crtc_offset);igt_pipe_crc_get_current (data->gfx_fd, data->pipe_crc, ¤t_crc);if (plane->type !=DRM_PLANE_TYPE_CURSOR ) {
tests/kms_color.c +25 -10
@@ -30,6 +30,7 @@ static void test_pipe_degamma(data_t *data, igt_plane_t *primary) {igt_output_t *output; +igt_display_t *display = &data->display;gamma_lut_t *degamma_linear, *degamma_full;gamma_lut_t *gamma_linear;color_t red_green_blue[] = {
@@ -82,7 +83,8 @@ static void test_pipe_degamma(data_t *data,paint_rectangles (data, mode, red_green_blue, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullcolors);/* Draw a gradient with degamma LUT to remap all
@@ -92,7 +94,8 @@ static void test_pipe_degamma(data_t *data,igt_plane_set_fb (primary, &fb);set_degamma (data, primary->pipe, degamma_full);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullgamma);/* Verify that the CRC of the software computed output is
@@ -117,6 +120,7 @@ static void test_pipe_gamma(data_t *data, igt_plane_t *primary) {igt_output_t *output; +igt_display_t *display = &data->display;gamma_lut_t *gamma_full;color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 },
@@ -164,7 +168,8 @@ static void test_pipe_gamma(data_t *data,paint_rectangles (data, mode, red_green_blue, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullcolors);/* Draw a gradient with gamma LUT to remap all values
@@ -173,7 +178,8 @@ static void test_pipe_gamma(data_t *data,paint_gradient_rectangles (data, mode, red_green_blue, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullgamma);/* Verify that the CRC of the software computed output is
@@ -197,6 +203,7 @@ static void test_pipe_legacy_gamma(data_t *data, igt_plane_t *primary) {igt_output_t *output; +igt_display_t *display = &data->display;color_t red_green_blue[] = { {1.0 ,0.0 ,0.0 }, {0.0 ,1.0 ,0.0 },
@@ -250,7 +257,8 @@ static void test_pipe_legacy_gamma(data_t *data,paint_rectangles (data, mode, red_green_blue, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullcolors);/* Draw a gradient with gamma LUT to remap all values
@@ -265,7 +273,8 @@ static void test_pipe_legacy_gamma(data_t *data,igt_assert_eq (drmModeCrtcSetGamma (data->drm_fd, primary->pipe->crtc_id, legacy_lut_size, red_lut, green_lut, blue_lut),0 );igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_fullgamma);/* Verify that the CRC of the software computed output is
@@ -426,6 +435,7 @@ static bool test_pipe_ctm(data_t *data,gamma_lut_t *degamma_linear, *gamma_linear;igt_output_t *output;bool ret = true; +igt_display_t *display = &data->display;igt_require (igt_pipe_obj_has_prop (primary->pipe,IGT_CRTC_CTM ));
@@ -480,7 +490,8 @@ static bool test_pipe_ctm(data_t *data,igt_plane_set_fb (primary, &fb);set_ctm (primary->pipe, ctm_identity);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_software);/* With CTM transformation. */
@@ -488,7 +499,8 @@ static bool test_pipe_ctm(data_t *data,igt_plane_set_fb (primary, &fb);set_ctm (primary->pipe, ctm_matrix);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_hardware);/* Verify that the CRC of the software computed output is
@@ -539,6 +551,7 @@ static void test_pipe_limited_range_ctm(data_t *data,gamma_lut_t *degamma_linear, *gamma_linear;igt_output_t *output;bool has_broadcast_rgb_output = false; +igt_display_t *display = &data->display; degamma_linear =generate_table (data->degamma_lut_size,1.0 ); gamma_linear =generate_table (data->gamma_lut_size,1.0 );
@@ -583,7 +596,8 @@ static void test_pipe_limited_range_ctm(data_t *data,paint_rectangles (data, mode, red_green_blue_limited, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_full);/* Set the output into limited range. */
@@ -591,7 +605,8 @@ static void test_pipe_limited_range_ctm(data_t *data,paint_rectangles (data, mode, red_green_blue_full, &fb);igt_plane_set_fb (primary, &fb);igt_display_commit (&data->display); -igt_wait_for_vblank (data->drm_fd, primary->pipe->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[primary->pipe->pipe].crtc_offset);igt_pipe_crc_collect_crc (data->pipe_crc, &crc_limited);/* And reset.. */
tests/kms_cursor_crc.c +12 -6
@@ -199,7 +199,8 @@ static void do_single_test(data_t *data, int x, int y)igt_display_commit (display);/* Extra vblank wait is because nonblocking cursor ioctl */ -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &crc);if (data->flags & (TEST_DPMS |TEST_SUSPEND )) {
@@ -238,7 +239,8 @@ static void do_single_test(data_t *data, int x, int y)igt_display_commit (display);igt_dirty_fb (data->drm_fd, &data->primary_fb[FRONTBUFFER ]);/* Extra vblank wait is because nonblocking cursor ioctl */ -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &ref_crc);igt_assert_crc_equal (&crc, &ref_crc);
@@ -496,7 +498,8 @@ static void test_cursor_alpha(data_t *data, double a)/*Hardware Test*/ cursor_enable (data);igt_display_commit (display); -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &crc);cursor_disable (data);igt_remove_fb (data->drm_fd, &data->fb);
@@ -507,7 +510,8 @@ static void test_cursor_alpha(data_t *data, double a)igt_put_cairo_ctx (cr);igt_display_commit (display); -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &ref_crc);igt_assert_crc_equal (&crc, &ref_crc);
@@ -612,7 +616,8 @@ static void test_cursor_size(data_t *data)igt_plane_set_size (data->cursor, size, size);igt_fb_set_size (&data->fb, data->cursor, size, size);igt_display_commit (display); -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &crc[i]); }cursor_disable (data);
@@ -626,7 +631,8 @@ static void test_cursor_size(data_t *data)igt_put_cairo_ctx (cr);igt_display_commit (display); -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &ref_crc);/* Clear screen afterwards */ cr =igt_get_cairo_ctx (data->drm_fd, &data->primary_fb[FRONTBUFFER ]);
tests/kms_cursor_edge_walk.c +3 -1
@@ -84,6 +84,7 @@ static void create_cursor_fb(data_t *data, int cur_w, int cur_h)static void cursor_move (data_t *data,int x,int y,int i) {int crtc_id = data->output->config.crtc->crtc_id; +igt_display_t *display = &data->display;igt_debug ("[%d] x=%d, y=%d\n" , i, x, y);
@@ -95,7 +96,8 @@ static void cursor_move(data_t *data, int x, int y, int i)igt_assert (drmModeMoveCursor (data->drm_fd, crtc_id, x, y) ==0 || (IS_CHERRYVIEW (data->devid) && data->pipe ==PIPE_C && x <0 && x > -data->curw)); -igt_wait_for_vblank (data->drm_fd, data->pipe); +igt_wait_for_vblank (data->drm_fd, + display->pipes[data->pipe].crtc_offset); }#define XSTEP 8
tests/kms_lease.c +13 -5
@@ -183,7 +183,7 @@ static int prepare_crtc(lease_t *lease, uint32_t connector_id, uint32_t crtc_id)if (ret)return ret; -igt_wait_for_vblank (lease->fd, pipe); +igt_wait_for_vblank (lease->fd, display->pipes[pipe].crtc_offset); lease->output = output; lease->mode = mode;
@@ -321,6 +321,8 @@ static void page_flip_implicit_plane(data_t *data)drmModePlaneRes *plane_resources;uint32_t wrong_plane_id =0 ;int i; +enum pipe pipe; +igt_display_t *display;/* find a plane which isn't the primary one for us */ plane_resources =drmModeGetPlaneResources (data->master.fd);
@@ -351,9 +353,13 @@ static void page_flip_implicit_plane(data_t *data)do_or_die (drmModePageFlip (data->master.fd, data->crtc_id, data->master.primary_fb.fb_id,0 ,NULL )); + + display = &data->master.display; + pipe =crtc_id_to_pipe (display, data->crtc_id); +igt_wait_for_vblank_count (data->master.fd, -crtc_id_to_pipe (&data->master.display, data->crtc_id), -1 ); + display->pipes[pipe].crtc_offset,1 ); +do_or_die (drmModePageFlip (mcl.fd, data->crtc_id, data->master.primary_fb.fb_id,0 ,NULL ));
@@ -362,9 +368,11 @@ static void page_flip_implicit_plane(data_t *data) object_ids[mcl.object_count++] = wrong_plane_id;do_or_die (create_lease (data->master.fd, &mcl)); + pipe =crtc_id_to_pipe (display, data->crtc_id); +igt_wait_for_vblank_count (data->master.fd, -crtc_id_to_pipe (&data->master.display, data->crtc_id), -1 ); + display->pipes[pipe].crtc_offset,1 ); + igt_assert_eq(drmModePageFlip(mcl.fd, data->crtc_id, data->master.primary_fb.fb_id, 0, NULL),
tests/kms_pipe_crc_basic.c +3 -2
@@ -105,10 +105,11 @@ static void test_read_crc(data_t *data, enum pipe pipe, unsigned flags)igt_pipe_crc_t *pipe_crc; pipe_crc =igt_pipe_crc_new_nonblock (data->drm_fd, pipe,INTEL_PIPE_CRC_SOURCE_AUTO ); -igt_wait_for_vblank (data->drm_fd, pipe); +igt_wait_for_vblank (data->drm_fd, display->pipes[pipe].crtc_offset);igt_pipe_crc_start (pipe_crc); -igt_wait_for_vblank_count (data->drm_fd, pipe,N_CRCS ); +igt_wait_for_vblank_count (data->drm_fd, + display->pipes[pipe].crtc_offset,N_CRCS ); n_crcs =igt_pipe_crc_get_crcs (pipe_crc,N_CRCS +1 , &crcs);igt_pipe_crc_stop (pipe_crc);igt_pipe_crc_free (pipe_crc);
tests/kms_plane.c +6 -2
@@ -593,8 +593,12 @@ static void capture_format_crcs(data_t *data, enum pipe pipe,igt_display_commit2 (&data->display,COMMIT_UNIVERSAL );/* setplane for the cursor does not block */ -if (plane->type ==DRM_PLANE_TYPE_CURSOR ) -igt_wait_for_vblank (data->drm_fd, pipe); +if (plane->type ==DRM_PLANE_TYPE_CURSOR ) { +igt_display_t *display = &data->display; + +igt_wait_for_vblank (data->drm_fd, + display->pipes[pipe].crtc_offset); + } }igt_remove_fb (data->drm_fd, &old_fb);
tests/kms_sequence.c +2 -1
@@ -117,7 +117,8 @@ static void prepare_crtc(data_t *data, int fd, igt_output_t *output)igt_display_commit (display); -igt_wait_for_vblank (fd, data->pipe); +igt_wait_for_vblank (fd, + display->pipes[data->pipe].crtc_offset); }static void cleanup_crtc (data_t *data,int fd,igt_output_t *output)
tests/kms_vblank.c +2 -1
@@ -92,7 +92,8 @@ static void prepare_crtc(data_t *data, int fd, igt_output_t *output)igt_display_commit (display); -igt_wait_for_vblank (fd, data->pipe); +igt_wait_for_vblank (fd, + display->pipes[data->pipe].crtc_offset); }static void cleanup_crtc (data_t *data,int fd,igt_output_t *output)
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for lib/igt_kms: Add support for display with (rev6)
In reply to Mohammed Khajapasha== Series Details ==
== Series Details ==
Series: lib/igt_kms: Add support for display with (rev6)
URL : https://patchwork.freedesktop.org/series/78482/
State : success
== Summary ==
CI Bug Log - changes from IGT_5733 -> IGTPW_4756
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
Known issues
------------
Here are the changes found in IGTPW_4756 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-tgl-u2: [PASS][1] -> [DMESG-WARN][2] ([i915#402])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/fi-tgl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/fi-tgl-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_timelines:
- fi-tgl-u2: [DMESG-FAIL][3] -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/fi-tgl-u2/igt@i915_selftest@live@gt_timelines.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/fi-tgl-u2/igt@i915_selftest@live@gt_timelines.html
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [FAIL][5] ([i915#262]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/fi-icl-u2/igt@[email protected]
#### Warnings ####
* igt@debugfs_test@read_all_entries:
- fi-kbl-x1275: [DMESG-WARN][7] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][8] ([i915#62] / [i915#92]) +4 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/fi-kbl-x1275/igt@debugfs_test@read_all_entries.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/fi-kbl-x1275/igt@debugfs_test@read_all_entries.html
* igt@kms_force_connector_basic@force-edid:
- fi-kbl-x1275: [DMESG-WARN][9] ([i915#62] / [i915#92]) -> [DMESG-WARN][10] ([i915#62] / [i915#92] / [i915#95]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/fi-kbl-x1275/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (41 -> 34)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5733 -> IGTPW_4756
CI-20190529: 20190529
CI_DRM_8732: 4c05e94181f1a8ea4c91a5bd90e81f3275b51332 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4756: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
IGT_5733: b793b4b40e42300f165dd3fdd670c2a85bd657c6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for lib/igt_kms: Add support for display with (rev6)
In reply to Mohammed Khajapasha== Series Details ==
== Series Details ==
Series: lib/igt_kms: Add support for display with (rev6)
URL : https://patchwork.freedesktop.org/series/78482/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5733_full -> IGTPW_4756_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4756_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4756_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4756_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb1/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_4756_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-kbl: [PASS][3] -> [DMESG-WARN][4] ([i915#180]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl7/igt@gem_ctx_isolation@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl4/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_reloc@basic-wc-gtt:
- shard-snb: [PASS][5] -> [TIMEOUT][6] ([i915#1958] / [i915#2119]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-snb5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-snb5/igt@[email protected]
* igt@gem_exec_suspend@basic:
- shard-apl: [PASS][7] -> [DMESG-WARN][8] ([i915#1635] / [i915#95]) +38 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl1/igt@[email protected]
* igt@gem_exec_whisper@basic-fds-all:
- shard-glk: [PASS][9] -> [DMESG-WARN][10] ([i915#118] / [i915#95]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-glk3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-glk2/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-kbl: [PASS][11] -> [DMESG-WARN][12] ([i915#1436] / [i915#716])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl7/igt@[email protected]
* igt@i915_module_load@reload:
- shard-tglb: [PASS][13] -> [DMESG-WARN][14] ([i915#402]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb7/igt@[email protected]
* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-glk: [PASS][15] -> [DMESG-FAIL][16] ([i915#118] / [i915#95])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-glk5/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-glk8/igt@[email protected]
- shard-apl: [PASS][17] -> [DMESG-WARN][18] ([i915#1635] / [i915#1982])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-onscreen:
- shard-kbl: [PASS][19] -> [DMESG-FAIL][20] ([i915#54] / [i915#95])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-tglb: [PASS][21] -> [INCOMPLETE][22] ([i915#1798] / [i915#456])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb8/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-glk: [PASS][23] -> [DMESG-WARN][24] ([i915#1982]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-glk9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render:
- shard-tglb: [PASS][25] -> [DMESG-WARN][26] ([i915#1982]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_hdmi_inject@inject-audio:
- shard-snb: [PASS][27] -> [SKIP][28] ([fdo#109271]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-snb2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-snb4/igt@[email protected]
- shard-tglb: [PASS][29] -> [SKIP][30] ([i915#433])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb3/igt@[email protected]
- shard-kbl: [PASS][31] -> [SKIP][32] ([fdo#109271])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl2/igt@[email protected]
- shard-iclb: [PASS][33] -> [SKIP][34] ([i915#433])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb2/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb2/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-iclb: [PASS][35] -> [DMESG-WARN][36] ([i915#1982])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb7/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb4/igt@kms_psr@psr2_cursor_render.html
* igt@perf@blocking-parameterized:
- shard-kbl: [PASS][39] -> [FAIL][40] ([i915#1542])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl7/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl7/igt@[email protected]
* igt@syncobj_wait@invalid-wait-zero-handles:
- shard-kbl: [PASS][41] -> [DMESG-WARN][42] ([i915#93] / [i915#95]) +47 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl4/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl7/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_whisper@basic-normal-all:
- shard-glk: [DMESG-WARN][43] ([i915#118] / [i915#95]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-glk7/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-glk4/igt@[email protected]
* igt@i915_pm_rps@waitboost:
- shard-apl: [FAIL][45] ([i915#1635] / [i915#39]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl6/igt@[email protected]
* igt@kms_big_fb@linear-64bpp-rotate-0:
- shard-apl: [DMESG-WARN][47] ([i915#1635] / [i915#1982]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl2/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl3/igt@[email protected]
- shard-glk: [DMESG-FAIL][49] ([i915#118] / [i915#95]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-glk8/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-glk6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-rapid-movement:
- shard-hsw: [TIMEOUT][51] ([i915#1958] / [i915#2119]) -> [PASS][52] +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-hsw4/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-hsw1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-256x256-offscreen:
- shard-kbl: [DMESG-FAIL][53] ([i915#54] / [i915#95]) -> [PASS][54] +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl7/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl3/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-a-64x64-top-edge:
- shard-apl: [DMESG-WARN][55] ([i915#1635] / [i915#95]) -> [PASS][56] +36 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl7/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl4/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb2101010-mmap-wc-ytiled:
- shard-tglb: [DMESG-WARN][57] ([i915#402]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb1/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb8/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [DMESG-WARN][59] ([i915#180]) -> [PASS][60] +5 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl2/igt@kms_flip@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render:
- shard-iclb: [DMESG-WARN][61] ([i915#1982]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb4/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-modesetfrombusy:
- shard-tglb: [DMESG-WARN][63] ([i915#1982]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb8/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [DMESG-FAIL][65] ([i915#95]) -> [PASS][66] +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl7/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl6/igt@[email protected]
- shard-apl: [DMESG-FAIL][67] ([i915#1635] / [i915#95]) -> [PASS][68] +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl6/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-vs-premult-vs-constant:
- shard-kbl: [DMESG-FAIL][69] ([fdo#108145] / [i915#95]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl3/igt@kms_plane_alpha_blend@pipe-a-coverage-vs-premult-vs-constant.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl6/igt@kms_plane_alpha_blend@pipe-a-coverage-vs-premult-vs-constant.html
- shard-apl: [DMESG-FAIL][71] ([fdo#108145] / [i915#1635] / [i915#95]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl2/igt@kms_plane_alpha_blend@pipe-a-coverage-vs-premult-vs-constant.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl6/igt@kms_plane_alpha_blend@pipe-a-coverage-vs-premult-vs-constant.html
* igt@kms_plane_cursor@pipe-a-primary-size-128:
- shard-kbl: [DMESG-WARN][73] ([i915#93] / [i915#95]) -> [PASS][74] +46 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl1/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl3/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][75] ([fdo#109441]) -> [PASS][76] +2 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
#### Warnings ####
* igt@gem_exec_reloc@basic-concurrent16:
- shard-snb: [FAIL][77] ([i915#1930]) -> [TIMEOUT][78] ([i915#1958] / [i915#2119])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-snb1/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-snb5/igt@[email protected]
* igt@kms_color@pipe-d-ctm-0-25:
- shard-iclb: [SKIP][79] ([fdo#109278] / [fdo#112010] / [i915#1149]) -> [SKIP][80] ([fdo#109278] / [i915#1149]) +9 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb7/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb8/igt@[email protected]
* igt@kms_content_protection@atomic:
- shard-kbl: [TIMEOUT][81] ([i915#1319] / [i915#1958] / [i915#2119]) -> [DMESG-FAIL][82] ([fdo#110321] / [i915#95])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl2/igt@[email protected]
- shard-apl: [FAIL][83] ([fdo#110321] / [fdo#110336] / [i915#1635]) -> [DMESG-FAIL][84] ([fdo#110321] / [i915#1635] / [i915#95])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl4/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl1/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-kbl: [TIMEOUT][85] ([i915#1319] / [i915#2119]) -> [TIMEOUT][86] ([i915#1319] / [i915#1958] / [i915#2119])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl2/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-offscreen:
- shard-iclb: [SKIP][87] ([fdo#109279]) -> [SKIP][88] ([fdo#109278] / [fdo#109279]) +22 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb6/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-64x21-sliding:
- shard-iclb: [SKIP][89] ([fdo#109278] / [fdo#112010] / [i915#508]) -> [SKIP][90] ([fdo#109278])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb1/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb1/igt@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-iclb: [SKIP][91] ([fdo#109274]) -> [SKIP][92] ([fdo#109274] / [fdo#109278]) +24 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb4/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb7/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-move:
- shard-iclb: [SKIP][93] ([fdo#109278] / [fdo#112010]) -> [SKIP][94] ([fdo#109278]) +83 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-iclb6/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-iclb3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank:
- shard-snb: [SKIP][95] ([fdo#109271]) -> [TIMEOUT][96] ([i915#1958] / [i915#2119]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-snb1/igt@kms_flip@2x-flip-vs-wf_vblank.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-snb5/igt@kms_flip@2x-flip-vs-wf_vblank.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][97] ([i915#93] / [i915#95]) -> [DMESG-WARN][98] ([i915#180] / [i915#93] / [i915#95])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl2/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render:
- shard-hsw: [TIMEOUT][99] ([i915#1958] / [i915#2119]) -> [SKIP][100] ([fdo#109271]) +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-hsw4/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-hsw1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-pwrite:
- shard-hsw: [SKIP][101] ([fdo#109271]) -> [TIMEOUT][102] ([i915#1958] / [i915#2119])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-hsw6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-pwrite.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-hsw7/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-pwrite.html
* igt@kms_plane_multiple@atomic-pipe-d-tiling-yf:
- shard-tglb: [SKIP][103] ([fdo#112025] / [fdo#112054]) -> [SKIP][104] ([fdo#112054])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb6/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb2/igt@[email protected]
* igt@kms_plane_scaling@2x-scaler-multi-pipe:
- shard-tglb: [SKIP][105] ([fdo#111825] / [fdo#112015]) -> [SKIP][106] ([fdo#111825])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb8/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb1/igt@[email protected]
* igt@runner@aborted:
- shard-kbl: ([FAIL][107], [FAIL][108], [FAIL][109]) ([i915#1436] / [i915#1784] / [i915#2110]) -> ([FAIL][110], [FAIL][111]) ([fdo#109271] / [i915#1436] / [i915#1784] / [i915#2110] / [i915#716])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl1/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl6/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-kbl2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl2/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-kbl7/igt@[email protected]
- shard-apl: ([FAIL][112], [FAIL][113], [FAIL][114], [FAIL][115], [FAIL][116], [FAIL][117]) ([i915#1610] / [i915#1635] / [i915#2110]) -> [FAIL][118] ([i915#1635] / [i915#2110])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl6/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl4/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl3/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl7/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl2/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-apl7/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-apl1/igt@[email protected]
- shard-tglb: [FAIL][119] ([i915#2110]) -> ([FAIL][120], [FAIL][121]) ([i915#1602] / [i915#2110])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5733/shard-tglb1/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/shard-tglb8/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#112010]: https://bugs.freedesktop.org/show_bug.cgi?id=112010
[fdo#112015]: https://bugs.freedesktop.org/show_bug.cgi?id=112015
[fdo#112025]: https://bugs.freedesktop.org/show_bug.cgi?id=112025
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1610]: https://gitlab.freedesktop.org/drm/intel/issues/1610
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1784]: https://gitlab.freedesktop.org/drm/intel/issues/1784
[i915#1798]: https://gitlab.freedesktop.org/drm/intel/issues/1798
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2110]: https://gitlab.freedesktop.org/drm/intel/issues/2110
[i915#2119]: https://gitlab.freedesktop.org/drm/intel/issues/2119
[i915#39]: https://gitlab.freedesktop.org/drm/intel/issues/39
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456
[i915#508]: https://gitlab.freedesktop.org/drm/intel/issues/508
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (8 -> 8)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5733 -> IGTPW_4756
CI-20190529: 20190529
CI_DRM_8732: 4c05e94181f1a8ea4c91a5bd90e81f3275b51332 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4756: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
IGT_5733: b793b4b40e42300f165dd3fdd670c2a85bd657c6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4756/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev