diff options
Diffstat (limited to 'tests/kms_psr_sink_crc.c')
-rw-r--r-- | tests/kms_psr_sink_crc.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c index 94134b7d..d9cce5ea 100644 --- a/tests/kms_psr_sink_crc.c +++ b/tests/kms_psr_sink_crc.c @@ -39,7 +39,6 @@ bool running_with_psr_disabled; enum operations { PAGE_FLIP, MMAP_GTT, - MMAP_GTT_WAITING, MMAP_CPU, BLT, RENDER, @@ -52,7 +51,6 @@ static const char *op_str(enum operations op) static const char * const name[] = { [PAGE_FLIP] = "page_flip", [MMAP_GTT] = "mmap_gtt", - [MMAP_GTT_WAITING] = "mmap_gtt_waiting", [MMAP_CPU] = "mmap_cpu", [BLT] = "blt", [RENDER] = "render", @@ -319,29 +317,6 @@ static void run_test(data_t *data) munmap(ptr, data->mod_size); expected = "BLACK or TRANSPARENT mark on top of plane in test"; break; - case MMAP_GTT_WAITING: - ptr = gem_mmap__gtt(data->drm_fd, handle, data->mod_size, - PROT_WRITE); - gem_set_domain(data->drm_fd, handle, - I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT); - - /* Printing white on white so the screen shouldn't change */ - memset(ptr, 0xff, data->mod_size); - get_sink_crc(data, crc); - if (data->test_plane == DRM_PLANE_TYPE_PRIMARY) - assert_or_manual(strncmp(ref_crc, crc, CRC_LEN) == 0, "screen WHITE"); - else - assert_or_manual(strncmp(ref_crc, crc, CRC_LEN) == 0, - "GREEN background with WHITE box"); - - igt_info("Waiting 10s...\n"); - sleep(10); - - /* Now lets print black to change the screen */ - memset(ptr, 0, data->mod_size); - munmap(ptr, data->mod_size); - expected = "BLACK or TRANSPARENT mark on top of plane in test"; - break; case MMAP_CPU: ptr = gem_mmap__cpu(data->drm_fd, handle, 0, data->mod_size, PROT_WRITE); |