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

Robert Foss robert.foss at collabora.com
Thu Jan 19 17:35:48 UTC 2017

On 2017-01-19 12:17 PM, Chris Wilson wrote:
> 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

Primarily I was intending to avoid the igt_skip_on()_on by using a 
commonly used structures that Should Just Work, for_each_pipe().

Does that make sense?


More information about the Intel-gfx mailing list