Skip to content
Commit 2d701449 authored by Stefan Agner's avatar Stefan Agner
Browse files

drm/fsl-dcu: use common clock framework for pixel clock divider



Use the common clock framework to calculate the pixel clock
dividier. The previous implementation rounded down the calculated
factor. Thanks to the CLK_DIVIDER_ROUND_CLOSEST flag using the
common clock framework divider implementation improves the pixel
clock accuracy in some cases. Ontop of that it also allows to see
the actual pixel clock in the sysfs clock summary.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent f93500f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment