Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
6e09a578
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看板
提交
6e09a578
编写于
5月 30, 2016
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/mc: s/intr_mask/intr_stat/
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
3c2a536b
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
19 addition
and
19 deletion
+19
-19
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
+3
-3
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
+3
-3
未找到文件。
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
浏览文件 @
6e09a578
...
...
@@ -51,9 +51,9 @@ nvkm_mc_intr_rearm(struct nvkm_device *device)
}
static
u32
nvkm_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
nvkm_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
u32
intr
=
mc
->
func
->
intr_
mask
(
mc
);
u32
intr
=
mc
->
func
->
intr_
stat
(
mc
);
if
(
WARN_ON_ONCE
(
intr
==
0xffffffff
))
intr
=
0
;
/* likely fallen off the bus */
return
intr
;
...
...
@@ -71,7 +71,7 @@ nvkm_mc_intr(struct nvkm_device *device, bool *handled)
if
(
unlikely
(
!
mc
))
return
;
intr
=
nvkm_mc_intr_
mask
(
mc
);
intr
=
nvkm_mc_intr_
stat
(
mc
);
stat
=
nvkm_top_intr
(
device
,
intr
,
&
subdevs
);
while
(
subdevs
)
{
enum
nvkm_devidx
subidx
=
__ffs64
(
subdevs
);
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
浏览文件 @
6e09a578
...
...
@@ -57,7 +57,7 @@ g84_mc = {
.
intr
=
g84_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
g84_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
浏览文件 @
6e09a578
...
...
@@ -57,7 +57,7 @@ g98_mc = {
.
intr
=
g98_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
g98_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
浏览文件 @
6e09a578
...
...
@@ -76,7 +76,7 @@ gf100_mc_intr_rearm(struct nvkm_mc *mc)
}
u32
gf100_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
gf100_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
struct
nvkm_device
*
device
=
mc
->
subdev
.
device
;
u32
intr0
=
nvkm_rd32
(
device
,
0x000100
);
...
...
@@ -96,7 +96,7 @@ gf100_mc = {
.
intr
=
gf100_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gf100_mc_reset
,
.
unk260
=
gf100_mc_unk260
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
浏览文件 @
6e09a578
...
...
@@ -52,7 +52,7 @@ gk104_mc = {
.
intr
=
gk104_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gk104_mc_reset
,
.
unk260
=
gf100_mc_unk260
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
浏览文件 @
6e09a578
...
...
@@ -29,7 +29,7 @@ gk20a_mc = {
.
intr
=
gk104_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gk104_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
浏览文件 @
6e09a578
...
...
@@ -59,7 +59,7 @@ gt215_mc = {
.
intr
=
gt215_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
gt215_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
浏览文件 @
6e09a578
...
...
@@ -56,7 +56,7 @@ nv04_mc_intr_rearm(struct nvkm_mc *mc)
}
u32
nv04_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
nv04_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
return
nvkm_rd32
(
mc
->
subdev
.
device
,
0x000100
);
}
...
...
@@ -75,7 +75,7 @@ nv04_mc = {
.
intr
=
nv04_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv04_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
浏览文件 @
6e09a578
...
...
@@ -39,7 +39,7 @@ nv11_mc = {
.
intr
=
nv11_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv04_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
浏览文件 @
6e09a578
...
...
@@ -48,7 +48,7 @@ nv17_mc = {
.
intr
=
nv17_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
浏览文件 @
6e09a578
...
...
@@ -43,7 +43,7 @@ nv44_mc = {
.
intr
=
nv17_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
浏览文件 @
6e09a578
...
...
@@ -50,7 +50,7 @@ nv50_mc = {
.
intr
=
nv50_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
浏览文件 @
6e09a578
...
...
@@ -22,7 +22,7 @@ struct nvkm_mc_func {
/* enable reporting of interrupts to host */
void
(
*
intr_rearm
)(
struct
nvkm_mc
*
);
/* retrieve pending interrupt mask (NV_PMC_INTR) */
u32
(
*
intr_
mask
)(
struct
nvkm_mc
*
);
u32
(
*
intr_
stat
)(
struct
nvkm_mc
*
);
const
struct
nvkm_mc_map
*
reset
;
void
(
*
unk260
)(
struct
nvkm_mc
*
,
u32
);
};
...
...
@@ -30,7 +30,7 @@ struct nvkm_mc_func {
void
nv04_mc_init
(
struct
nvkm_mc
*
);
void
nv04_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
nv04_mc_intr_rearm
(
struct
nvkm_mc
*
);
u32
nv04_mc_intr_
mask
(
struct
nvkm_mc
*
);
u32
nv04_mc_intr_
stat
(
struct
nvkm_mc
*
);
extern
const
struct
nvkm_mc_map
nv04_mc_reset
[];
extern
const
struct
nvkm_mc_map
nv17_mc_intr
[];
...
...
@@ -42,7 +42,7 @@ void nv50_mc_init(struct nvkm_mc *);
void
gf100_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
gf100_mc_intr_rearm
(
struct
nvkm_mc
*
);
u32
gf100_mc_intr_
mask
(
struct
nvkm_mc
*
);
u32
gf100_mc_intr_
stat
(
struct
nvkm_mc
*
);
void
gf100_mc_unk260
(
struct
nvkm_mc
*
,
u32
);
extern
const
struct
nvkm_mc_map
gk104_mc_intr
[];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录