drm/edid: parse the list of additional 3D modes
authorThomas Wood <thomas.wood@intel.com>
Fri, 29 Nov 2013 18:18:58 +0000 (18:18 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jan 2014 16:43:55 +0000 (17:43 +0100)
commit0e5083aa9d4759e51e8a348ab271ed0e74d91be7
treeac636f4264afa22cd08e6bde676cc2ddbdbdd42a
parentaff04ace4eb84620c4823846aa6aeb322a7c54cb
drm/edid: parse the list of additional 3D modes

Parse 2D_VIC_order_X and 3D_Structure_X from the list at the end of the
HDMI Vendor Specific Data Block.

v2: Use an offset value depending on 3D_Multi_present and add
    detail_present. (Ville Syrjälä)
v3: Make sure the list is parsed even if 3D_Structure_ALL/MASK is not
    present. (Ville Syrjälä)
    Fix one length check and remove another. (Ville Syrjälä)

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid.c