]> 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)
commitbea4a2f705d03a8ded9de4132b29cc79cc76e5d3
treef459ea58698d380c43ea844b50ccb7212b129d97
parent2267461d1352983d8ebfed4c7301c68d8a735fb8
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