Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
0f90fa53
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0f90fa53
编写于
6月 24, 2012
作者:
F
Florian Tobias Schandinat
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'planes' of
git://linuxtv.org/pinchartl/fbdev
into fbdev-next
上级
44edebca
c5deac3c
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
940 addition
and
100 deletion
+940
-100
Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
...tion/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
+44
-0
drivers/video/sh_mipi_dsi.c
drivers/video/sh_mipi_dsi.c
+3
-4
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.c
+886
-96
include/video/sh_mobile_lcdc.h
include/video/sh_mobile_lcdc.h
+7
-0
未找到文件。
Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb
0 → 100644
浏览文件 @
0f90fa53
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_alpha
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the alpha blending value for the overlay. Values range
from 0 (transparent) to 255 (opaque). The value is ignored if
the mode is not set to Alpha Blending.
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_mode
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Selects the composition mode for the overlay. Possible values
are
0 - Alpha Blending
1 - ROP3
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_position
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the x,y overlay position on the display in pixels. The
position format is `[0-9]+,[0-9]+'.
What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_rop3
Date: May 2012
Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Description:
This file is only available on fb[0-9] devices corresponding
to overlay planes.
Stores the raster operation (ROP3) for the overlay. Values
range from 0 to 255. The value is ignored if the mode is not
set to ROP3.
drivers/video/sh_mipi_dsi.c
浏览文件 @
0f90fa53
...
...
@@ -127,8 +127,7 @@ static void sh_mipi_shutdown(struct platform_device *pdev)
sh_mipi_dsi_enable
(
mipi
,
false
);
}
static
int
__init
sh_mipi_setup
(
struct
sh_mipi
*
mipi
,
struct
sh_mipi_dsi_info
*
pdata
)
static
int
sh_mipi_setup
(
struct
sh_mipi
*
mipi
,
struct
sh_mipi_dsi_info
*
pdata
)
{
void
__iomem
*
base
=
mipi
->
base
;
struct
sh_mobile_lcdc_chan_cfg
*
ch
=
pdata
->
lcd_chan
;
...
...
@@ -551,7 +550,7 @@ static int __init sh_mipi_probe(struct platform_device *pdev)
return
ret
;
}
static
int
__exit
sh_mipi_remove
(
struct
platform_device
*
pdev
)
static
int
__
dev
exit
sh_mipi_remove
(
struct
platform_device
*
pdev
)
{
struct
resource
*
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
struct
resource
*
res2
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
1
);
...
...
@@ -592,7 +591,7 @@ static int __exit sh_mipi_remove(struct platform_device *pdev)
}
static
struct
platform_driver
sh_mipi_driver
=
{
.
remove
=
__exit_p
(
sh_mipi_remove
),
.
remove
=
__
dev
exit_p
(
sh_mipi_remove
),
.
shutdown
=
sh_mipi_shutdown
,
.
driver
=
{
.
name
=
"sh-mipi-dsi"
,
...
...
drivers/video/sh_mobile_lcdcfb.c
浏览文件 @
0f90fa53
此差异已折叠。
点击以展开。
include/video/sh_mobile_lcdc.h
浏览文件 @
0f90fa53
...
...
@@ -166,6 +166,12 @@ struct sh_mobile_lcdc_bl_info {
int
(
*
get_brightness
)(
void
);
};
struct
sh_mobile_lcdc_overlay_cfg
{
int
fourcc
;
unsigned
int
max_xres
;
unsigned
int
max_yres
;
};
struct
sh_mobile_lcdc_chan_cfg
{
int
chan
;
int
fourcc
;
...
...
@@ -186,6 +192,7 @@ struct sh_mobile_lcdc_chan_cfg {
struct
sh_mobile_lcdc_info
{
int
clock_source
;
struct
sh_mobile_lcdc_chan_cfg
ch
[
2
];
struct
sh_mobile_lcdc_overlay_cfg
overlays
[
4
];
struct
sh_mobile_meram_info
*
meram_dev
;
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录