diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2019-03-29 15:59:13 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2019-04-01 12:43:34 -0700 |
commit | 1695d3fe15855259e6ed43b81a1142e7c572a001 (patch) | |
tree | 0433e99812a396319879a002e4cc66c0591a9de4 /lib/igt_kms.h | |
parent | 4383f7f7e0932ff652823db0ab8b80acf43a20e5 (diff) |
tests/plane_lowres: Test each plane individually
ICL has some many planes per pipe that it is causing this test to
skip due bandwidth limitation when combined with 4K displays.
The objective of this test is test the visibility of the planes when
switching between high and low resolution, more information in the
patch that added this test 12e34d8c909a ("tests/kms_plane_lowres:
Plane visibility after atomic modesets").
So it was setting all the planes the tested pipe in the bottom left
of the display using the height of high resolution, checking the
visibility and then switching to the low resolution mode and checking
again the visibility and now it is expected that all planes would be
invisible.
So to overcome ICL bandwidth issues, here it is testing each plane
individually.
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'lib/igt_kms.h')
-rw-r--r-- | lib/igt_kms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h index e392e0ef..38bdc08f 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -228,7 +228,7 @@ void *kmstest_dumb_map_buffer(int fd, uint32_t handle, uint64_t size, void kmstest_dumb_destroy(int fd, uint32_t handle); void kmstest_wait_for_pageflip(int fd); unsigned int kmstest_get_vblank(int fd, int pipe, unsigned int flags); -void igt_assert_plane_visible(int fd, enum pipe pipe, bool visibility); +void igt_assert_plane_visible(int fd, enum pipe pipe, int plane_index, bool visibility); /* * A small modeset API |