Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
34bf50cd
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
34bf50cd
编写于
7月 09, 2016
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/core: increase maximum ce instances to 6
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
c73baa83
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
15 addition
and
3 deletion
+15
-3
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
+6
-3
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
+3
-0
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+6
-0
未找到文件。
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
浏览文件 @
34bf50cd
...
...
@@ -33,7 +33,10 @@ enum nvkm_devidx {
NVKM_ENGINE_CE0
,
NVKM_ENGINE_CE1
,
NVKM_ENGINE_CE2
,
NVKM_ENGINE_CE_LAST
=
NVKM_ENGINE_CE2
,
NVKM_ENGINE_CE3
,
NVKM_ENGINE_CE4
,
NVKM_ENGINE_CE5
,
NVKM_ENGINE_CE_LAST
=
NVKM_ENGINE_CE5
,
NVKM_ENGINE_CIPHER
,
NVKM_ENGINE_DISP
,
...
...
@@ -136,7 +139,7 @@ struct nvkm_device {
struct
nvkm_volt
*
volt
;
struct
nvkm_engine
*
bsp
;
struct
nvkm_engine
*
ce
[
3
];
struct
nvkm_engine
*
ce
[
6
];
struct
nvkm_engine
*
cipher
;
struct
nvkm_disp
*
disp
;
struct
nvkm_dma
*
dma
;
...
...
@@ -206,7 +209,7 @@ struct nvkm_device_chip {
int
(
*
volt
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_volt
**
);
int
(
*
bsp
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_engine
**
);
int
(
*
ce
[
3
]
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_engine
**
);
int
(
*
ce
[
6
]
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_engine
**
);
int
(
*
cipher
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_engine
**
);
int
(
*
disp
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_disp
**
);
int
(
*
dma
)(
struct
nvkm_device
*
,
int
idx
,
struct
nvkm_dma
**
);
...
...
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
浏览文件 @
34bf50cd
...
...
@@ -57,6 +57,9 @@ nvkm_subdev_name[NVKM_SUBDEV_NR] = {
[
NVKM_ENGINE_CE0
]
=
"ce0"
,
[
NVKM_ENGINE_CE1
]
=
"ce1"
,
[
NVKM_ENGINE_CE2
]
=
"ce2"
,
[
NVKM_ENGINE_CE3
]
=
"ce3"
,
[
NVKM_ENGINE_CE4
]
=
"ce4"
,
[
NVKM_ENGINE_CE5
]
=
"ce5"
,
[
NVKM_ENGINE_CIPHER
]
=
"cipher"
,
[
NVKM_ENGINE_DISP
]
=
"disp"
,
[
NVKM_ENGINE_DMAOBJ
]
=
"dma"
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
浏览文件 @
34bf50cd
...
...
@@ -2221,6 +2221,9 @@ nvkm_device_engine(struct nvkm_device *device, int index)
_
(
CE0
,
device
->
ce
[
0
]
,
device
->
ce
[
0
]);
_
(
CE1
,
device
->
ce
[
1
]
,
device
->
ce
[
1
]);
_
(
CE2
,
device
->
ce
[
2
]
,
device
->
ce
[
2
]);
_
(
CE3
,
device
->
ce
[
3
]
,
device
->
ce
[
3
]);
_
(
CE4
,
device
->
ce
[
4
]
,
device
->
ce
[
4
]);
_
(
CE5
,
device
->
ce
[
5
]
,
device
->
ce
[
5
]);
_
(
CIPHER
,
device
->
cipher
,
device
->
cipher
);
_
(
DISP
,
device
->
disp
,
&
device
->
disp
->
engine
);
_
(
DMAOBJ
,
device
->
dma
,
&
device
->
dma
->
engine
);
...
...
@@ -2659,6 +2662,9 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
_
(
NVKM_ENGINE_CE0
,
ce
[
0
]);
_
(
NVKM_ENGINE_CE1
,
ce
[
1
]);
_
(
NVKM_ENGINE_CE2
,
ce
[
2
]);
_
(
NVKM_ENGINE_CE3
,
ce
[
3
]);
_
(
NVKM_ENGINE_CE4
,
ce
[
4
]);
_
(
NVKM_ENGINE_CE5
,
ce
[
5
]);
_
(
NVKM_ENGINE_CIPHER
,
cipher
);
_
(
NVKM_ENGINE_DISP
,
disp
);
_
(
NVKM_ENGINE_DMAOBJ
,
dma
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录