[igt-dev] [PATCH i-g-t v3] lib/igt_collection: Adding combinatorics facility

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Jan 21 09:31:46 UTC 2020


On Tue, Jan 21, 2020 at 11:15:23AM +0200, Petri Latvala wrote:

<cut>

> > + * // macro for iteration over set data - for_each_collection_data()
> > + * for_each_subset(subset, subset_size, set)
> > + *       for_each_collection_data(data, subset)
> > + *             printf("v: %d, p: %p\n", data->value, data->ptr);
> > + */
> 
> Wonderfully documented. Did you check that this ends up in the docs though?
> 

Eh, I forgot add it to docs/reference/igt-gpu-tools/igt-gpu-tools-docs.xml

Apart of that do we need something to change in the code?

--
Zbigniew


More information about the igt-dev mailing list