drm/edid: Populate picture aspect ratio for CEA modes
authorVandana Kannan <vandana.kannan@intel.com>
Thu, 19 Dec 2013 10:04:07 +0000 (15:34 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jan 2014 17:32:21 +0000 (18:32 +0100)
commit985e5dc207e133b4ad26c35deec4de82bcb44e68
tree43645716b223869e637f761e237816a956390cf2
parent0e5083aa9d4759e51e8a348ab271ed0e74d91be7
drm/edid: Populate picture aspect ratio for CEA modes

Adding picture aspect ratio for CEA modes based on CEA-861D Table 3 or
CEA-861E Table 4. This is useful for filling up the detail in AVI
infoframe.

v2: Ville's review comments incorporated
Added picture aspect ratio as part of edid_cea_modes instead of DRM_MODE

Signed-off-by: Vandana Kannan <vandana.kannan@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
include/drm/drm_crtc.h