]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Block odd horizontal timings
authorMaxime Ripard <maxime@cerno.tech>
Thu, 29 Oct 2020 12:25:22 +0000 (13:25 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 19 Nov 2020 13:29:26 +0000 (14:29 +0100)
commitaf27b685f765457dcb9f9cde49e1df24d7956cd6
treef459ea58698d380c43ea844b50ccb7212b129d97
parent745d363dd482747c83e6794d804f078bf73ed8e3
drm/vc4: hdmi: Block odd horizontal timings

The FIFO between the pixelvalve and the HDMI controller runs at 2 pixels
per clock cycle, and cannot deal with odd timings.

Let's reject any mode with such timings.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201029122522.1917579-2-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h