video: rockchip: fb: resize uboot logo if screen size is changed
authorZheng Yang <zhengyang@rock-chips.com>
Mon, 14 Sep 2015 02:49:30 +0000 (10:49 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Mon, 14 Sep 2015 08:56:39 +0000 (16:56 +0800)
commit92e7da2818b9dd75d125d017898e30ec4f9c9ee0
tree446059cb714d7075b32cf5da2c89e48fdd4dc2fd
parent31b19d3c436ad64cb9371dd78d2fc95fa32ea0c0
video: rockchip: fb: resize uboot logo if screen size is changed

If hdmi is inserted or removed before android is launched, screen
size is changed and uboot logo is showing on wrong screen position.

For example, screen size is 720x576 in uboot, hdmi is inserted during
kernel is booting, screen size is changed to 1920x1080, logo size
is still 720x576 and shown on left-top.

This case is occurred on box, mid has no problem. So we need to resize
uboot logo to new screen size.

Change-Id: I6247bf8e77d181687986815c960ec72d4c59a757
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/video/rockchip/rk_fb.c