]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Adjust modes in DSI to work around the integer PLL divider.
authorEric Anholt <eric@anholt.net>
Thu, 11 May 2017 23:56:22 +0000 (16:56 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 May 2017 16:49:24 +0000 (09:49 -0700)
commit98772f8ef2f288be46aed325a7f2a7e4354bd8f8
tree3f9a3c033d0bfc0da0035ec6a2ccd4fb340dd36e
parentdbd77cba90987f45b27b28ec59c7925d596a92dc
drm/vc4: Adjust modes in DSI to work around the integer PLL divider.

BCM2835's PLLD_DSI1 divider doesn't give us many choices for our pixel
clocks, so to support panels on the Raspberry Pi we need to set a
higher pixel clock rate than requested and adjust the mode we program
to extend out the HFP so that the refresh rate matches.

v2: Drop an unfinished comment (caught by Noralf)

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511235625.22427-2-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/vc4/vc4_dsi.c