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

Damien Lespiau damien.lespiau at intel.com
Tue Sep 17 06:48:31 PDT 2013

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.


More information about the dri-devel mailing list