]> git.baikalelectronics.ru Git - kernel.git/commit
drm/armada: improve Dove clock selection
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 14 Jul 2018 10:15:35 +0000 (11:15 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 22 Jun 2019 10:51:20 +0000 (11:51 +0100)
commit3a6f303fcff2b331257c51535cb7733042025055
tree9d3880930a57576f3bb192fe0288b0576e66cdbe
parentb36b784f0ba5c85de60825daf6828a3ef3758692
drm/armada: improve Dove clock selection

Improve the Dove (Armada 510) LCD clock selection and divider
calculation, limiting to the valid divisor values, and reporting an
error if the clock is not achievable within the bounds of HDMI
clocking requirements.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_510.c
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_crtc.h