diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_mmap_write_crc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_mmap_write_crc.c b/tests/kms_mmap_write_crc.c index e5f089f6..dd44ce97 100644 --- a/tests/kms_mmap_write_crc.c +++ b/tests/kms_mmap_write_crc.c @@ -156,6 +156,8 @@ static void test(data_t *data) if (ioctl_sync) prime_sync_end(dma_buf_fd, true); + do_or_die(drmModeDirtyFB(data->drm_fd, fb->fb_id, NULL, 0)); + /* check that the crc is as expected, which requires that caches got flushed */ igt_pipe_crc_collect_crc(data->pipe_crc, &crc); igt_assert_crc_equal(&crc, &data->ref_crc); |