]> git.baikalelectronics.ru Git - kernel.git/commit
video: da8xx-fb: reset LCDC only if functional clock changes with DVFS
authorManjunathappa, Prakash <prakash.pm@ti.com>
Tue, 3 Jan 2012 12:40:51 +0000 (18:10 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 28 Jan 2012 19:55:34 +0000 (19:55 +0000)
commit6a1ae438e108da6122959fd223d664b9b043a752
tree670c4f92388a946f13e0fcfa7fe1361b70a316de
parent991f8dddf6bdd0dd4d64053f9e5d52c007834352
video: da8xx-fb: reset LCDC only if functional clock changes with DVFS

LCDC functional clock may or may not be derived from CPU/MPU DPLL,
For example,
AM335x => Separate independent DPLL for LCDC
Davinci => Same DPLL as MPU

So, on platforms where LCDC functional clock is not derived from CPU/MPU
PLL it is not required to reset LCDC module as its functional clock does
not change with DVFS.

This patch adds check to do reset only if functional clock changes
between pre and post notifier callbacks with DVFS.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/da8xx-fb.c