]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00288021 IPUv3 disp:get the integer part of div correctly
authorSandor Yu <R01008@freescale.com>
Thu, 14 Nov 2013 08:48:42 +0000 (16:48 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:42 +0000 (10:06 +0200)
commita4d5188a41b96055ecef1f9615b14dbf83c6bfe0
treef42954beb064a62c56a127625708c42eab944105
parent0c43af987f4c88eb1e63020f95d7667e51143b47
ENGR00288021 IPUv3 disp:get the integer part of div correctly

TV will show 639x480p60 when HDMI output 640x480p60.
The same issue can be found when pixel clock sources from ipu internally.
All video modes whose pixel clocks derive from DI clock work OK.
It is caused by the wrong parent clock rate the driver gets.
Fix the issue by getting the right parent clock(ipu->pixel_clk_sel).

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/mxc/ipu3/ipu_disp.c