Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
fd95bfbd
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
fd95bfbd
编写于
1月 17, 2019
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/mc/tu102: rename implementation from tu104
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
b51f9dfa
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
10 deletion
+10
-10
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+3
-3
drivers/gpu/drm/nouveau/nvkm/subdev/mc/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/mc/Kbuild
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c
+5
-5
未找到文件。
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h
浏览文件 @
fd95bfbd
...
...
@@ -31,5 +31,5 @@ int gk104_mc_new(struct nvkm_device *, int, struct nvkm_mc **);
int
gk20a_mc_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_mc
**
);
int
gp100_mc_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_mc
**
);
int
gp10b_mc_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_mc
**
);
int
tu10
4
_mc_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_mc
**
);
int
tu10
2
_mc_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_mc
**
);
#endif
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
浏览文件 @
fd95bfbd
...
...
@@ -2449,7 +2449,7 @@ nv162_chipset = {
.
ibus
=
gm200_ibus_new
,
.
imem
=
nv50_instmem_new
,
.
ltc
=
gp102_ltc_new
,
.
mc
=
tu10
4
_mc_new
,
.
mc
=
tu10
2
_mc_new
,
.
mmu
=
tu104_mmu_new
,
.
pci
=
gp100_pci_new
,
.
pmu
=
gp102_pmu_new
,
...
...
@@ -2481,7 +2481,7 @@ nv164_chipset = {
.
ibus
=
gm200_ibus_new
,
.
imem
=
nv50_instmem_new
,
.
ltc
=
gp102_ltc_new
,
.
mc
=
tu10
4
_mc_new
,
.
mc
=
tu10
2
_mc_new
,
.
mmu
=
tu104_mmu_new
,
.
pci
=
gp100_pci_new
,
.
pmu
=
gp102_pmu_new
,
...
...
@@ -2513,7 +2513,7 @@ nv166_chipset = {
.
ibus
=
gm200_ibus_new
,
.
imem
=
nv50_instmem_new
,
.
ltc
=
gp102_ltc_new
,
.
mc
=
tu10
4
_mc_new
,
.
mc
=
tu10
2
_mc_new
,
.
mmu
=
tu104_mmu_new
,
.
pci
=
gp100_pci_new
,
.
pmu
=
gp102_pmu_new
,
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/Kbuild
浏览文件 @
fd95bfbd
...
...
@@ -12,4 +12,4 @@ nvkm-y += nvkm/subdev/mc/gk104.o
nvkm-y += nvkm/subdev/mc/gk20a.o
nvkm-y += nvkm/subdev/mc/gp100.o
nvkm-y += nvkm/subdev/mc/gp10b.o
nvkm-y += nvkm/subdev/mc/tu10
4
.o
nvkm-y += nvkm/subdev/mc/tu10
2
.o
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu10
4
.c
→
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu10
2
.c
浏览文件 @
fd95bfbd
...
...
@@ -22,7 +22,7 @@
#include "priv.h"
static
void
tu10
4
_mc_intr_hack
(
struct
nvkm_mc
*
mc
,
bool
*
handled
)
tu10
2
_mc_intr_hack
(
struct
nvkm_mc
*
mc
,
bool
*
handled
)
{
struct
nvkm_device
*
device
=
mc
->
subdev
.
device
;
u32
stat
=
nvkm_rd32
(
device
,
0xb81010
);
...
...
@@ -37,19 +37,19 @@ tu104_mc_intr_hack(struct nvkm_mc *mc, bool *handled)
}
static
const
struct
nvkm_mc_func
tu10
4
_mc
=
{
tu10
2
_mc
=
{
.
init
=
nv50_mc_init
,
.
intr
=
gp100_mc_intr
,
.
intr_unarm
=
gp100_mc_intr_unarm
,
.
intr_rearm
=
gp100_mc_intr_rearm
,
.
intr_mask
=
gp100_mc_intr_mask
,
.
intr_stat
=
gf100_mc_intr_stat
,
.
intr_hack
=
tu10
4
_mc_intr_hack
,
.
intr_hack
=
tu10
2
_mc_intr_hack
,
.
reset
=
gk104_mc_reset
,
};
int
tu10
4
_mc_new
(
struct
nvkm_device
*
device
,
int
index
,
struct
nvkm_mc
**
pmc
)
tu10
2
_mc_new
(
struct
nvkm_device
*
device
,
int
index
,
struct
nvkm_mc
**
pmc
)
{
return
gp100_mc_new_
(
&
tu10
4
_mc
,
device
,
index
,
pmc
);
return
gp100_mc_new_
(
&
tu10
2
_mc
,
device
,
index
,
pmc
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录