]> 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)
commit15af8a9eaaf980a98f276df5f450f046e2ebec61
treeb1bb1dfe8c5afee86e56b505e459f910935a3a00
parent67b69c8ff82b70f81a0ccc1b5923fbb84cf93d52
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