Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
2f68234f
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看板
提交
2f68234f
编写于
5月 08, 2018
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/mc/gp100-: route fault buffer interrupts to FAULT
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
1ce46689
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
2 deletion
+22
-2
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
+19
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
+2
-0
未找到文件。
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
浏览文件 @
2f68234f
...
...
@@ -75,10 +75,28 @@ gp100_mc_intr_mask(struct nvkm_mc *base, u32 mask, u32 intr)
spin_unlock_irqrestore
(
&
mc
->
lock
,
flags
);
}
const
struct
nvkm_mc_map
gp100_mc_intr
[]
=
{
{
0x04000000
,
NVKM_ENGINE_DISP
},
{
0x00000100
,
NVKM_ENGINE_FIFO
},
{
0x00000200
,
NVKM_SUBDEV_FAULT
},
{
0x40000000
,
NVKM_SUBDEV_IBUS
},
{
0x10000000
,
NVKM_SUBDEV_BUS
},
{
0x08000000
,
NVKM_SUBDEV_FB
},
{
0x02000000
,
NVKM_SUBDEV_LTC
},
{
0x01000000
,
NVKM_SUBDEV_PMU
},
{
0x00200000
,
NVKM_SUBDEV_GPIO
},
{
0x00200000
,
NVKM_SUBDEV_I2C
},
{
0x00100000
,
NVKM_SUBDEV_TIMER
},
{
0x00040000
,
NVKM_SUBDEV_THERM
},
{
0x00002000
,
NVKM_SUBDEV_FB
},
{},
};
static
const
struct
nvkm_mc_func
gp100_mc
=
{
.
init
=
nv50_mc_init
,
.
intr
=
g
k104
_mc_intr
,
.
intr
=
g
p100
_mc_intr
,
.
intr_unarm
=
gp100_mc_intr_unarm
,
.
intr_rearm
=
gp100_mc_intr_rearm
,
.
intr_mask
=
gp100_mc_intr_mask
,
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c
浏览文件 @
2f68234f
...
...
@@ -34,7 +34,7 @@ gp10b_mc_init(struct nvkm_mc *mc)
static
const
struct
nvkm_mc_func
gp10b_mc
=
{
.
init
=
gp10b_mc_init
,
.
intr
=
g
k104
_mc_intr
,
.
intr
=
g
p100
_mc_intr
,
.
intr_unarm
=
gp100_mc_intr_unarm
,
.
intr_rearm
=
gp100_mc_intr_rearm
,
.
intr_mask
=
gp100_mc_intr_mask
,
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
浏览文件 @
2f68234f
...
...
@@ -57,4 +57,6 @@ int gp100_mc_new_(const struct nvkm_mc_func *, struct nvkm_device *, int,
extern
const
struct
nvkm_mc_map
gk104_mc_intr
[];
extern
const
struct
nvkm_mc_map
gk104_mc_reset
[];
extern
const
struct
nvkm_mc_map
gp100_mc_intr
[];
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录