linux/drivers/gpu/drm/bridge
Russell King 426701d0cc drm: bridge/dw_hdmi: adjust pixel clock values in N calculation
Adjust the pixel clock values in the N calculation to match the more
accurate clock values we're given by the DRM subsystem, which are the
kHz pixel rate, with any fractional kHz rounded down in the case of
the non-240, non-480 line modes, or rounded up for the others.  So,

	 25.20 / 1.001 =>  25175
	 27.00 * 1.001 =>  27027
	 74.25 / 1.001 =>  74176
	148.50 / 1.001 => 148352

DRM derives these rates from the EDID CEA mode identifiers, which are
looked up in the tables in drivers/gpu/drm/drm_edid.c.  The values on
the right are the clock values found in these tables, and are
currently expected to be passed to the HDMI driver unchanged.

Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-10-09 17:17:34 +01:00
..
dw_hdmi-ahb-audio.c drm: bridge/dw_hdmi-ahb-audio: allow larger buffer sizes 2015-10-09 17:17:30 +01:00
dw_hdmi-audio.h drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver 2015-10-09 17:17:24 +01:00
dw_hdmi.c drm: bridge/dw_hdmi: adjust pixel clock values in N calculation 2015-10-09 17:17:34 +01:00
dw_hdmi.h drm: bridge/dw_hdmi-ahb-audio: add audio driver 2015-10-09 17:14:12 +01:00
Kconfig drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver 2015-10-09 17:17:24 +01:00
Makefile drm: bridge/dw_hdmi-ahb-audio: add audio driver 2015-10-09 17:14:12 +01:00
nxp-ptn3460.c drm/bridge: Add vendor prefixes 2015-08-14 21:34:24 +02:00
parade-ps8622.c drm/bridge: Add vendor prefixes 2015-08-14 21:34:24 +02:00