]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: Check force update in fb pan display
authorJong Kim <jongk@nvidia.com>
Thu, 1 Aug 2013 23:49:24 +0000 (16:49 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:38:54 +0000 (13:38 -0700)
commit6f4d0b19030cacfe231a05bb83c38657aecb8a3c
tree49cd43796ffc7207a8830f2947f0245d4e9198e5
parent44d583d232419e66ef99414197fcb2f757d9bd4f
video: tegra: Check force update in fb pan display

Now we'll not update the dc if the x & y offset are not changed
in fb pan display.

But this doesn't work for console switch(e.g: switch from a X server
to a fbcon). The x/y offset will not change but we still need to
update the dc to show the framebuffer console.

So add one more check here: if the update is forced, we'll keep
going to update the dc.

bug 1259633

Change-Id: Ibbb1216151ba34729e438ada62f90eba38758088
Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/234082
(cherry picked from commit 9caec7df0ec01890b0d9186456867f8dc099d6ed)
Reviewed-on: http://git-master/r/251729
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
drivers/video/tegra/fb.c