]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit8c7a075da9f7980cc95ffcd7e6621d4a87f20f40
treeb1bb1dfe8c5afee86e56b505e459f910935a3a00
parent07259f8b9fbd30fcef595e872deeea5ffab934ed
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