projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2182433
)
fb:box:
author
Zheng Yang
<zhengyang@rock-chips.com>
Thu, 23 Oct 2014 00:53:49 +0000
(08:53 +0800)
committer
Zheng Yang
<zhengyang@rock-chips.com>
Thu, 23 Oct 2014 00:53:49 +0000
(08:53 +0800)
When vop suspend, no need to check register value.
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index ba279f51555991adc8a45eb92d3fc1dc240af6b7..0594723d566ed89da54284f12be5332082e33d8a 100755
(executable)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1921,8
+1921,10
@@
ext_win_exit:
dev_drv->win[i]->area[0].y_offset;
u32 reg_start = dsp_addr[i];
- if (rk_fb->disp_policy == DISPLAY_POLICY_BOX &&
- new_start==0x0)
+ if ((rk_fb->disp_policy ==
+ DISPLAY_POLICY_BOX) &&
+ (new_start == 0x0 ||
+ dev_drv->suspend_flag))
continue;
if (unlikely(new_start != reg_start)) {
wait_for_vsync = true;