linux/include/uapi
Damien Lespiau f7e121b764 drm: Code stereo layouts as an enum rather than a bit field
This allows us to use fewer bits in the mode structure, leaving room for
future work while allowing more stereo layouts types than we could have
ever dreamt of.

I also exposed the previously private DRM_MODE_FLAG_3D_MASK to set in
stone that we are using 5 bits for the stereo layout enum, reserving 32
values.

Even with that reservation, we gain 3 bits from the previous encoding.

The code adding the mandatory stereo modes needeed to be adapted as it was
relying or being able to or stereo layouts together.

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-01 07:45:44 +02:00
..
asm-generic allow O_TMPFILE to work with O_WRONLY 2013-07-20 03:11:32 +04:00
drm drm: Code stereo layouts as an enum rather than a bit field 2013-10-01 07:45:44 +02:00
linux perf: Fix capabilities bitfield compatibility in 'struct perf_event_mmap_page' 2013-09-20 09:45:11 +02:00
mtd
rdma IB/core: Export ib_create/destroy_flow through uverbs 2013-08-28 09:53:14 -07:00
scsi
sound ALSA: hdspm - Fix SNDRV_HDSPM_IOCTL_GET_LTC 2013-08-19 20:09:09 +02:00
video
xen
Kbuild