]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: rgb: Validate the clock rate
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 21 Apr 2016 09:25:26 +0000 (11:25 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 30 May 2016 06:28:33 +0000 (08:28 +0200)
commit7afd5ec7fa83296afe3040bd9adee2c21840c57a
tree8260d627de2bdf2b7d5c24f92aae6eb1ffa993bc
parentf69437fc6abbbfd1d7e5b0c61d8a11065789a9cb
drm/sun4i: rgb: Validate the clock rate

Our pixel clock cannot reach a high enough rate for some rather high while
common resolutions (like 1080p60).

Make sure we filter the resolutions we cannot reach in our mode_valid
function.

Fixes: 60e2d7d48333 ("drm: sun4i: Add RGB output")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_rgb.c