Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e21fd7c4
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看板
提交
e21fd7c4
编写于
9月 23, 2014
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/devinit: allow impl to select its own cold-boot method
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
50e216d6
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
15 addition
and
3 deletion
+15
-3
drivers/gpu/drm/nouveau/core/subdev/devinit/base.c
drivers/gpu/drm/nouveau/core/subdev/devinit/base.c
+1
-3
drivers/gpu/drm/nouveau/core/subdev/devinit/gm107.c
drivers/gpu/drm/nouveau/core/subdev/devinit/gm107.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv1a.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv1a.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv20.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv20.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv84.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv84.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nv98.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv98.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nva3.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nva3.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nvaf.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nvaf.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/nvc0.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nvc0.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/devinit/priv.h
drivers/gpu/drm/nouveau/core/subdev/devinit/priv.h
+2
-0
未找到文件。
drivers/gpu/drm/nouveau/core/subdev/devinit/base.c
浏览文件 @
e21fd7c4
...
...
@@ -24,8 +24,6 @@
#include <core/option.h>
#include <subdev/bios.h>
#include <subdev/bios/init.h>
#include <subdev/vga.h>
#include "priv.h"
...
...
@@ -56,7 +54,7 @@ _nouveau_devinit_init(struct nouveau_object *object)
if
(
ret
)
return
ret
;
ret
=
nvbios_ini
t
(
&
devinit
->
base
,
devinit
->
post
);
ret
=
impl
->
pos
t
(
&
devinit
->
base
,
devinit
->
post
);
if
(
ret
)
return
ret
;
...
...
drivers/gpu/drm/nouveau/core/subdev/devinit/gm107.c
浏览文件 @
e21fd7c4
...
...
@@ -53,4 +53,5 @@ gm107_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nvc0_devinit_pll_set
,
.
disable
=
gm107_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
浏览文件 @
e21fd7c4
...
...
@@ -464,4 +464,5 @@ nv04_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
meminit
=
nv04_devinit_meminit
,
.
pll_set
=
nv04_devinit_pll_set
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c
浏览文件 @
e21fd7c4
...
...
@@ -136,4 +136,5 @@ nv05_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
meminit
=
nv05_devinit_meminit
,
.
pll_set
=
nv04_devinit_pll_set
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c
浏览文件 @
e21fd7c4
...
...
@@ -107,4 +107,5 @@ nv10_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
meminit
=
nv10_devinit_meminit
,
.
pll_set
=
nv04_devinit_pll_set
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv1a.c
浏览文件 @
e21fd7c4
...
...
@@ -34,4 +34,5 @@ nv1a_devinit_oclass = &(struct nouveau_devinit_impl) {
.
fini
=
nv04_devinit_fini
,
},
.
pll_set
=
nv04_devinit_pll_set
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv20.c
浏览文件 @
e21fd7c4
...
...
@@ -71,4 +71,5 @@ nv20_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
meminit
=
nv20_devinit_meminit
,
.
pll_set
=
nv04_devinit_pll_set
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
浏览文件 @
e21fd7c4
...
...
@@ -160,4 +160,5 @@ nv50_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nv50_devinit_pll_set
,
.
disable
=
nv50_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv84.c
浏览文件 @
e21fd7c4
...
...
@@ -60,4 +60,5 @@ nv84_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nv50_devinit_pll_set
,
.
disable
=
nv84_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nv98.c
浏览文件 @
e21fd7c4
...
...
@@ -59,4 +59,5 @@ nv98_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nv50_devinit_pll_set
,
.
disable
=
nv98_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nva3.c
浏览文件 @
e21fd7c4
...
...
@@ -142,4 +142,5 @@ nva3_devinit_oclass = &(struct nouveau_devinit_impl) {
.
pll_set
=
nva3_devinit_pll_set
,
.
disable
=
nva3_devinit_disable
,
.
mmio
=
nva3_devinit_mmio
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nvaf.c
浏览文件 @
e21fd7c4
...
...
@@ -60,4 +60,5 @@ nvaf_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nva3_devinit_pll_set
,
.
disable
=
nvaf_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/nvc0.c
浏览文件 @
e21fd7c4
...
...
@@ -115,4 +115,5 @@ nvc0_devinit_oclass = &(struct nouveau_devinit_impl) {
},
.
pll_set
=
nvc0_devinit_pll_set
,
.
disable
=
nvc0_devinit_disable
,
.
post
=
nvbios_init
,
}.
base
;
drivers/gpu/drm/nouveau/core/subdev/devinit/priv.h
浏览文件 @
e21fd7c4
...
...
@@ -3,6 +3,7 @@
#include <subdev/bios.h>
#include <subdev/bios/pll.h>
#include <subdev/bios/init.h>
#include <subdev/clock/pll.h>
#include <subdev/devinit.h>
...
...
@@ -12,6 +13,7 @@ struct nouveau_devinit_impl {
int
(
*
pll_set
)(
struct
nouveau_devinit
*
,
u32
type
,
u32
freq
);
u64
(
*
disable
)(
struct
nouveau_devinit
*
);
u32
(
*
mmio
)(
struct
nouveau_devinit
*
,
u32
);
int
(
*
post
)(
struct
nouveau_subdev
*
,
bool
);
};
#define nouveau_devinit_create(p,e,o,d) \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录