drm/exynos: set the active aspect ratio as per mode
authorShirish S <s.shirish@samsung.com>
Thu, 13 Mar 2014 05:28:28 +0000 (10:58 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 23 Mar 2014 15:36:26 +0000 (00:36 +0900)
commit46154152886252961e88d44010280bf58cc65ac5
treef6d196ba82db710dcadbfd68251419ad9a257963
parente1d883c0e64b07c080150f6b753b6bf69674b355
drm/exynos: set the active aspect ratio as per mode

Now that the drm_display_mode also provides aspect
ratio for all resolutions, this patch adds its usage
to set the active aspect ratio of AVI info frame
packets as per CEA-861-D standard's Table 9.

This is also needed to abide by the 7-27
compliance test of HDMI.

Signed-off-by: Shirish S <s.shirish@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c