summaryrefslogtreecommitdiff
path: root/tests/kms_fbc_crc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_fbc_crc.c')
-rw-r--r--tests/kms_fbc_crc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_fbc_crc.c b/tests/kms_fbc_crc.c
index 354a2b71..decb83ed 100644
--- a/tests/kms_fbc_crc.c
+++ b/tests/kms_fbc_crc.c
@@ -155,6 +155,8 @@ static void exec_nop(data_t *data, uint32_t handle, drm_intel_context *context)
intel_batchbuffer_flush_with_context(batch, context);
intel_batchbuffer_free(batch);
+
+ gem_sync(data->drm_fd, handle);
}
static void fill_render(data_t *data, uint32_t handle,