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:
80a4663
)
rk_fb: screen info add screen type and interlace
author
Shen Zhenyi
<szy@rock-chips.com>
Mon, 14 Dec 2015 01:47:01 +0000
(09:47 +0800)
committer
Huang Jiachai
<hjc@rock-chips.com>
Thu, 17 Dec 2015 07:32:12 +0000
(15:32 +0800)
When box is starting, CVBS display then HDMI accessed
and pulled out in kernel stage, FB keeps HDMI state but
display interface is CVBS, android need know that.
Change-Id: Ie2b75fa72f3201383c97f702976d4f0cd95f00e2
Signed-off-by: Shen Zhenyi <szy@rock-chips.com>
drivers/video/rockchip/rkfb_sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rkfb_sysfs.c
b/drivers/video/rockchip/rkfb_sysfs.c
index 1bf795e08b3de3a86df4df21399654522c79772d..b48af77351e8877421f39cecbf2c0e708e92ae63 100644
(file)
--- a/
drivers/video/rockchip/rkfb_sysfs.c
+++ b/
drivers/video/rockchip/rkfb_sysfs.c
@@
-104,8
+104,10
@@
static ssize_t show_screen_info(struct device *dev,
if (ft > 0)
fps = div64_u64(1000000000000llu, ft);
- return snprintf(buf, PAGE_SIZE, "xres:%d\nyres:%d\nfps:%d\n",
- screen->mode.xres, screen->mode.yres, fps);
+ return snprintf(buf, PAGE_SIZE,
+ "xres:%d\nyres:%d\nfps:%d\ntype:%d\ninterlace:%d\n",
+ screen->mode.xres, screen->mode.yres,
+ fps, screen->type, screen->mode.vmode);
}
static ssize_t show_disp_info(struct device *dev,