diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-24 08:31:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-24 08:31:57 +0100 |
commit | bd860da689fbd810d68da3b1bca67f81e9b720b7 (patch) | |
tree | 2a92906aae884ec9b68f2314bf289cbdbd7d1f68 /tests | |
parent | 9579e5447aa304d0b8d36688b8d0da0c97ca284a (diff) |
igt/kms_cursor_legacy: Give each child a different CRTC access pattern
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_cursor_legacy.c | 1 |
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); |