]> 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)
commit52f08765d6b9c1255f2e7e258071d320a555245f
tree8260d627de2bdf2b7d5c24f92aae6eb1ffa993bc
parentb6a50a2db64347be92f78f82fb65d82e602cad81
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: f7a92ed0a805 ("drm: sun4i: Add RGB output")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_rgb.c