]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Fix HDMI mode validation
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Thu, 26 Mar 2020 12:20:01 +0000 (13:20 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 27 Mar 2020 12:38:47 +0000 (13:38 +0100)
commit13bdbc4583ef443a8593ba623e104607c65c49e6
tree542aacf260e9cc7cdfc0eaad243ab872e9c346cf
parent297332a0320e661035db618ea40c3a3fdcc48a18
drm/vc4: Fix HDMI mode validation

Current mode validation impedes setting up some video modes which should
be supported otherwise. Namely 1920x1200@60Hz.

Fix this by lowering the minimum HDMI state machine clock to pixel clock
ratio allowed.

Fixes: 8b626665f6b4 ("drm/vc4: Reject HDMI modes with too high of clocks.")
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Suggested-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200326122001.22215-1-nsaenzjulienne@suse.de
drivers/gpu/drm/vc4/vc4_hdmi.c