Re: [Intel-gfx] [PATCH i-g-t] tests/kms_concurrent: Fix testcase fails.

2017-10-20 Thread Maarten Lankhorst
Op 20-10-17 om 12:07 schreef Mika Kahola: > Reviewed-by: Mika Kahola Thanks, pushed. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_concurrent: Fix testcase fails.

2017-10-20 Thread Mika Kahola
Reviewed-by: Mika Kahola On Thu, 2017-10-19 at 13:15 +0200, Maarten Lankhorst wrote: > igt_pipe_refresh was added for the forked helper, we could just call > it > from the fork to prevent races against MODE_ID. > > The static 1024x768 mode is allocated on the stack and

[Intel-gfx] [PATCH i-g-t] tests/kms_concurrent: Fix testcase fails.

2017-10-19 Thread Maarten Lankhorst
igt_pipe_refresh was added for the forked helper, we could just call it from the fork to prevent races against MODE_ID. The static 1024x768 mode is allocated on the stack and returned, which will result in a garbage mode. Make the fallback mode global to prevent this. igt_output_set_pipe is