drm: Add HDMI stereo 3D flags to struct drm_mode_modeinfo
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:21 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:27 +0000 (07:45 +0200)
commit4aa17cf0d889cfc984b68a78ae02070cef21bb6b
tree7e9fd3b02c478a4899ee80a87317450787259bdd
parent1c0814fed3a558146402713028cb7114734ec172
drm: Add HDMI stereo 3D flags to struct drm_mode_modeinfo

HDMI 1.4a defines a few layouts that we'd like to expose. This commits
add new modeinfo flags that can be used to list the supported stereo
layouts (when querying the list of modes) and to set a given stereo 3D
mode (when setting a mode).

v2: Add a drm_mode_is_stereo() helper

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_crtc.h
include/uapi/drm/drm_mode.h