Re: [RFC v1 3/6] drm/displayid: add new displayid section/block iterators

2021-03-10 Thread Ville Syrjälä
On Tue, Mar 09, 2021 at 03:54:11PM +0200, Jani Nikula wrote: > Iterating DisplayID blocks across sections (in EDID extensions) is > unnecessarily complicated for the caller. Implement DisplayID iterators > to go through all blocks in all sections. > > Usage example: > > const struct

[RFC v1 3/6] drm/displayid: add new displayid section/block iterators

2021-03-09 Thread Jani Nikula
Iterating DisplayID blocks across sections (in EDID extensions) is unnecessarily complicated for the caller. Implement DisplayID iterators to go through all blocks in all sections. Usage example: const struct displayid_block *block; struct displayid_iter iter;