drm/edid: Expose mandatory stereo modes for HDMI sinks
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:23 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:28 +0000 (07:45 +0200)
commitc858cfcae6dd3829e8708a48d009c2f676b79d4d
tree80d6ff61ebedd0e170c12089a944f68e55cab441
parent61d8e3282541139cf5bb31e4c42f952a6cc168f8
drm/edid: Expose mandatory stereo modes for HDMI sinks

For now, let's just look at the 3D_present flag of the CEA HDMI vendor
block to detect if the sink supports a small list of then mandatory 3D
formats.

See the HDMI 1.4a 3D extraction for detail:
  http://www.hdmi.org/manufacturer/specification.aspx

v2: Rename freq to vrefresh, make the mandatory structure a bit more
    compact, fix some white space issues and add a couple of const
    (Ville Syrjälä)

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>
drivers/gpu/drm/drm_edid.c