]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitf820917abae4a019b0357d3fe72b22c22a11b775
tree670c4f92388a946f13e0fcfa7fe1361b70a316de
parent787f9fd23283d7103c65371f7b108ecf1020cddf
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