Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
507cd5b5
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
507cd5b5
编写于
11年前
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nve7/gr: update initial register/context values
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
99bd5537
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
3 deletion
+12
-3
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve0.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve0.c
+6
-0
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc
+2
-2
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
+1
-1
drivers/gpu/drm/nouveau/core/engine/graph/nve0.c
drivers/gpu/drm/nouveau/core/engine/graph/nve0.c
+3
-0
未找到文件。
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve0.c
浏览文件 @
507cd5b5
...
...
@@ -750,6 +750,7 @@ nve0_grctx_generate_icmd(struct nvc0_graph_priv *priv)
nv_icmd
(
priv
,
0x000842
,
0x00400008
);
nv_icmd
(
priv
,
0x000843
,
0x08000080
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
break
;
default:
...
...
@@ -869,6 +870,7 @@ nve0_grctx_generate_icmd(struct nvc0_graph_priv *priv)
nv_icmd
(
priv
,
0x000814
,
0x00000008
);
nv_icmd
(
priv
,
0x000957
,
0x00000003
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
break
;
default:
...
...
@@ -2178,6 +2180,7 @@ nve0_grctx_generate_902d(struct nvc0_graph_priv *priv)
case
0xe6
:
nv_mthd
(
priv
,
0x902d
,
0x3410
,
0x80002006
);
break
;
case
0xe7
:
default:
nv_mthd
(
priv
,
0x902d
,
0x3410
,
0x00000000
);
break
;
...
...
@@ -2547,6 +2550,7 @@ nve0_graph_generate_tpc(struct nvc0_graph_priv *priv)
nv_wr32
(
priv
,
0x419e94
,
0x0
);
nv_wr32
(
priv
,
0x419e98
,
0x0
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nv_wr32
(
priv
,
0x419eac
,
0x1f8f
);
break
;
...
...
@@ -2566,6 +2570,7 @@ nve0_graph_generate_tpc(struct nvc0_graph_priv *priv)
nv_wr32
(
priv
,
0x419f4c
,
0x0
);
nv_wr32
(
priv
,
0x419f58
,
0x0
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nv_wr32
(
priv
,
0x419f70
,
0x0
);
break
;
...
...
@@ -2574,6 +2579,7 @@ nve0_graph_generate_tpc(struct nvc0_graph_priv *priv)
}
nv_wr32
(
priv
,
0x419f78
,
0xb
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nv_wr32
(
priv
,
0x419f7c
,
0x27a
);
break
;
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc
浏览文件 @
507cd5b5
...
...
@@ -55,8 +55,8 @@ chipsets:
.b8 0xe7 0 0 0
.b16 #nve4_gpc_mmio_head
.b16 #nve4_gpc_mmio_tail
.b16 #nve
4
_tpc_mmio_head
.b16 #nve
4
_tpc_mmio_tail
.b16 #nve
6
_tpc_mmio_head
.b16 #nve
6
_tpc_mmio_tail
.b8 0xe6 0 0 0
.b16 #nve4_gpc_mmio_head
.b16 #nve4_gpc_mmio_tail
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h
浏览文件 @
507cd5b5
...
...
@@ -38,7 +38,7 @@ uint32_t nve0_grgpc_data[] = {
0x01580110
,
0x000000e7
,
0x0110008c
,
0x01
580110
,
0x01
a40158
,
0x000000e6
,
0x0110008c
,
0x01a40158
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/core/engine/graph/nve0.c
浏览文件 @
507cd5b5
...
...
@@ -709,6 +709,7 @@ nve0_graph_init_units(struct nvc0_graph_priv *priv)
nv_wr32
(
priv
,
0x409ffc
,
0x00000000
);
nv_wr32
(
priv
,
0x409c14
,
0x00003e3e
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nv_wr32
(
priv
,
0x409c24
,
0x000f0001
);
break
;
...
...
@@ -723,6 +724,7 @@ nve0_graph_init_units(struct nvc0_graph_priv *priv)
nv_wr32
(
priv
,
0x404490
,
0xc0000000
);
nv_wr32
(
priv
,
0x406018
,
0xc0000000
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nv_wr32
(
priv
,
0x407020
,
0x40000000
);
break
;
...
...
@@ -967,6 +969,7 @@ nve0_graph_init(struct nouveau_object *object)
nve0_graph_init_regs
(
priv
);
switch
(
nv_device
(
priv
)
->
chipset
)
{
case
0xe7
:
case
0xe6
:
nve0_graph_init_unk40xx
(
priv
);
nve0_graph_init_unk44xx
(
priv
);
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
新手
引导
客服
返回
顶部