[Intel-gfx] [PATCH i-g-t v1 5/6] tests/kms_cursor_legacy: Switch to using for_each_pipe construct

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 19 17:17:55 UTC 2017

On Thu, Jan 19, 2017 at 11:35:05AM -0500, Robert Foss wrote:
> Avoid using hand-rolled construct for iterating over all pipes.

display->n_pipes is a variable and depends upon the drmModeGetResources().
It not only changes between machines, but we don't probe the resources
when listing tests. Both lead to variable sets of tests.

Chris Wilson, Intel Open Source Technology Centre

More information about the Intel-gfx mailing list