]> 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>
Mon, 16 Jun 2014 16:07:12 +0000 (18:07 +0200)
commit58ddfbb1a940535926b09d7a4fea6f6db2fd15bf
treee026949c8d7cce9e80588425662540c0090eb01d
parentf5c3b40ebacd705bb8c59e2b5eea074becf3f868
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