summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r--tests/kms_cursor_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 75827908..84c74e3e 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -74,6 +74,7 @@ static void stress(struct data *data, unsigned mode, int timeout)
CPU_SET(child, &allowed);
sched_setaffinity(getpid(), sizeof(cpu_set_t), &allowed);
+ state ^= child;
igt_until_timeout(timeout) {
arg.crtc_id = r->crtcs[hars_petruska_f54_1_random() % r->count_crtcs];
do_ioctl(data->fd, DRM_IOCTL_MODE_CURSOR, &arg);