Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
ef7664d9
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看板
提交
ef7664d9
编写于
1月 17, 2019
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/bar/tu102: rename implementation from tu104
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
c011b254
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
20 deletion
+20
-20
drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.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/bar/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/bar/Kbuild
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c
drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c
+15
-15
未找到文件。
drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
浏览文件 @
ef7664d9
...
...
@@ -29,5 +29,5 @@ int gf100_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
int
gk20a_bar_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_bar
**
);
int
gm107_bar_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_bar
**
);
int
gm20b_bar_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_bar
**
);
int
tu10
4
_bar_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_bar
**
);
int
tu10
2
_bar_new
(
struct
nvkm_device
*
,
int
,
struct
nvkm_bar
**
);
#endif
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
浏览文件 @
ef7664d9
...
...
@@ -2437,7 +2437,7 @@ nv140_chipset = {
static
const
struct
nvkm_device_chip
nv162_chipset
=
{
.
name
=
"TU102"
,
.
bar
=
tu10
4
_bar_new
,
.
bar
=
tu10
2
_bar_new
,
.
bios
=
nvkm_bios_new
,
.
bus
=
gf100_bus_new
,
.
devinit
=
tu102_devinit_new
,
...
...
@@ -2469,7 +2469,7 @@ nv162_chipset = {
static
const
struct
nvkm_device_chip
nv164_chipset
=
{
.
name
=
"TU104"
,
.
bar
=
tu10
4
_bar_new
,
.
bar
=
tu10
2
_bar_new
,
.
bios
=
nvkm_bios_new
,
.
bus
=
gf100_bus_new
,
.
devinit
=
tu102_devinit_new
,
...
...
@@ -2501,7 +2501,7 @@ nv164_chipset = {
static
const
struct
nvkm_device_chip
nv166_chipset
=
{
.
name
=
"TU106"
,
.
bar
=
tu10
4
_bar_new
,
.
bar
=
tu10
2
_bar_new
,
.
bios
=
nvkm_bios_new
,
.
bus
=
gf100_bus_new
,
.
devinit
=
tu102_devinit_new
,
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/bar/Kbuild
浏览文件 @
ef7664d9
...
...
@@ -5,4 +5,4 @@ nvkm-y += nvkm/subdev/bar/gf100.o
nvkm-y += nvkm/subdev/bar/gk20a.o
nvkm-y += nvkm/subdev/bar/gm107.o
nvkm-y += nvkm/subdev/bar/gm20b.o
nvkm-y += nvkm/subdev/bar/tu10
4
.o
nvkm-y += nvkm/subdev/bar/tu10
2
.o
drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu10
4
.c
→
drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu10
2
.c
浏览文件 @
ef7664d9
...
...
@@ -25,7 +25,7 @@
#include <subdev/timer.h>
static
void
tu10
4
_bar_bar2_wait
(
struct
nvkm_bar
*
bar
)
tu10
2
_bar_bar2_wait
(
struct
nvkm_bar
*
bar
)
{
struct
nvkm_device
*
device
=
bar
->
subdev
.
device
;
nvkm_msec
(
device
,
2000
,
...
...
@@ -35,13 +35,13 @@ tu104_bar_bar2_wait(struct nvkm_bar *bar)
}
static
void
tu10
4
_bar_bar2_fini
(
struct
nvkm_bar
*
bar
)
tu10
2
_bar_bar2_fini
(
struct
nvkm_bar
*
bar
)
{
nvkm_mask
(
bar
->
subdev
.
device
,
0xb80f48
,
0x80000000
,
0x00000000
);
}
static
void
tu10
4
_bar_bar2_init
(
struct
nvkm_bar
*
base
)
tu10
2
_bar_bar2_init
(
struct
nvkm_bar
*
base
)
{
struct
nvkm_device
*
device
=
base
->
subdev
.
device
;
struct
gf100_bar
*
bar
=
gf100_bar
(
base
);
...
...
@@ -52,7 +52,7 @@ tu104_bar_bar2_init(struct nvkm_bar *base)
}
static
void
tu10
4
_bar_bar1_wait
(
struct
nvkm_bar
*
bar
)
tu10
2
_bar_bar1_wait
(
struct
nvkm_bar
*
bar
)
{
struct
nvkm_device
*
device
=
bar
->
subdev
.
device
;
nvkm_msec
(
device
,
2000
,
...
...
@@ -62,13 +62,13 @@ tu104_bar_bar1_wait(struct nvkm_bar *bar)
}
static
void
tu10
4
_bar_bar1_fini
(
struct
nvkm_bar
*
bar
)
tu10
2
_bar_bar1_fini
(
struct
nvkm_bar
*
bar
)
{
nvkm_mask
(
bar
->
subdev
.
device
,
0xb80f40
,
0x80000000
,
0x00000000
);
}
static
void
tu10
4
_bar_bar1_init
(
struct
nvkm_bar
*
base
)
tu10
2
_bar_bar1_init
(
struct
nvkm_bar
*
base
)
{
struct
nvkm_device
*
device
=
base
->
subdev
.
device
;
struct
gf100_bar
*
bar
=
gf100_bar
(
base
);
...
...
@@ -77,22 +77,22 @@ tu104_bar_bar1_init(struct nvkm_bar *base)
}
static
const
struct
nvkm_bar_func
tu10
4
_bar
=
{
tu10
2
_bar
=
{
.
dtor
=
gf100_bar_dtor
,
.
oneinit
=
gf100_bar_oneinit
,
.
bar1
.
init
=
tu10
4
_bar_bar1_init
,
.
bar1
.
fini
=
tu10
4
_bar_bar1_fini
,
.
bar1
.
wait
=
tu10
4
_bar_bar1_wait
,
.
bar1
.
init
=
tu10
2
_bar_bar1_init
,
.
bar1
.
fini
=
tu10
2
_bar_bar1_fini
,
.
bar1
.
wait
=
tu10
2
_bar_bar1_wait
,
.
bar1
.
vmm
=
gf100_bar_bar1_vmm
,
.
bar2
.
init
=
tu10
4
_bar_bar2_init
,
.
bar2
.
fini
=
tu10
4
_bar_bar2_fini
,
.
bar2
.
wait
=
tu10
4
_bar_bar2_wait
,
.
bar2
.
init
=
tu10
2
_bar_bar2_init
,
.
bar2
.
fini
=
tu10
2
_bar_bar2_fini
,
.
bar2
.
wait
=
tu10
2
_bar_bar2_wait
,
.
bar2
.
vmm
=
gf100_bar_bar2_vmm
,
.
flush
=
g84_bar_flush
,
};
int
tu10
4
_bar_new
(
struct
nvkm_device
*
device
,
int
index
,
struct
nvkm_bar
**
pbar
)
tu10
2
_bar_new
(
struct
nvkm_device
*
device
,
int
index
,
struct
nvkm_bar
**
pbar
)
{
return
gf100_bar_new_
(
&
tu10
4
_bar
,
device
,
index
,
pbar
);
return
gf100_bar_new_
(
&
tu10
2
_bar
,
device
,
index
,
pbar
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录