[PATCH] drm/rockchip: Properly adjust to a true clock in adjusted_mode

2016-08-09 Thread Mark yao
On 2016年08月09日 03:29, Sean Paul wrote: > From: Douglas Anderson > > When fixing up the clock in vop_crtc_mode_fixup() we're not doing it > quite correctly. Specifically if we've got the true clock 26667 Hz, > we'll perform this calculation: > 26667 / 1000 => 26 > > Later whe

[PATCH] drm/rockchip: Properly adjust to a true clock in adjusted_mode

2016-08-09 Thread Yakir Yang
Sean, On 08/09/2016 03:29 AM, Sean Paul wrote: > From: Douglas Anderson > > When fixing up the clock in vop_crtc_mode_fixup() we're not doing it > quite correctly. Specifically if we've got the true clock 26667 Hz, > we'll perform this calculation: > 26667 / 1000 => 26 > > Later

[PATCH] drm/rockchip: Properly adjust to a true clock in adjusted_mode

2016-08-08 Thread Sean Paul
From: Douglas Anderson When fixing up the clock in vop_crtc_mode_fixup() we're not doing it quite correctly. Specifically if we've got the true clock 26667 Hz, we'll perform this calculation: 26667 / 1000 => 26 Later when we try to set the clock we'll do clk_set_rate(26 * 100