]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: use drm_hdmi_avi_infoframe_from_display_mode()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 30 Mar 2015 15:20:44 +0000 (16:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 30 Mar 2015 15:20:44 +0000 (16:20 +0100)
commit43b6b193770a79e7c24755f1ba98a1aa0fdb5dd6
treeb1bb1dfe8c5afee86e56b505e459f910935a3a00
parent9a3e721d0874deee44d4f2d008df6863b645cc14
drm/i2c: tda998x: use drm_hdmi_avi_infoframe_from_display_mode()

Make use of the DRM HDMI AVI infoframe helper to construct the AVI
infoframe, rather than coding this up ourselves.  This allows DRM
to supply proper aspect ratio information derived from the DRM
display mode structure.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c