Re: [PATCH 05/12] drm/edid: Expose mandatory stereo modes for HDMI sinks

Damien Lespiau
2013-09-17T13:48:31Z

On Mon, Sep 16, 2013 at 09:29:31PM +0300, Ville Syrjälä wrote:
> > +struct stereo_mandatory_mode {
> > + int width, height, freq;

[..]

> > + unsigned int interlace_flag, layouts;
>
> What's the benefit of separating the two?

Just that we can easily cycle through the layout flags and add a mode
per flag without having to clear the interlace bit. Trade 16 bytes against
one instruction or so, can do I guess.

--
Damien