From bd860da689fbd810d68da3b1bca67f81e9b720b7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 24 May 2016 08:31:22 +0100 Subject: igt/kms_cursor_legacy: Give each child a different CRTC access pattern Signed-off-by: Chris Wilson --- tests/kms_cursor_legacy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/kms_cursor_legacy.c') 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); -- cgit v1.2.3