Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
88e98d49
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
88e98d49
编写于
3月 03, 2014
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/gf100-/gr: split ppc state into its subunits
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
7e194533
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
62 addition
and
44 deletion
+62
-44
drivers/gpu/drm/nouveau/core/engine/graph/ctxnv108.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnv108.c
+4
-12
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
+4
-0
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd7.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd7.c
+14
-2
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve4.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve4.c
+10
-12
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
+4
-12
drivers/gpu/drm/nouveau/core/engine/graph/nv108.c
drivers/gpu/drm/nouveau/core/engine/graph/nv108.c
+3
-1
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
+3
-1
drivers/gpu/drm/nouveau/core/engine/graph/nvd7.c
drivers/gpu/drm/nouveau/core/engine/graph/nvd7.c
+14
-2
drivers/gpu/drm/nouveau/core/engine/graph/nve4.c
drivers/gpu/drm/nouveau/core/engine/graph/nve4.c
+3
-1
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
+3
-1
未找到文件。
drivers/gpu/drm/nouveau/core/engine/graph/ctxnv108.c
浏览文件 @
88e98d49
...
...
@@ -511,27 +511,19 @@ nv108_grctx_pack_tpc[] = {
};
static
const
struct
nvc0_graph_init
nv108_grctx_init_ppc_0
[]
=
{
{
0x41be24
,
1
,
0x04
,
0x00000006
},
nv108_grctx_init_cbm_0
[]
=
{
{
0x41bec0
,
1
,
0x04
,
0x10000000
},
{
0x41bec4
,
1
,
0x04
,
0x00037f7f
},
{
0x41bee4
,
1
,
0x04
,
0x00000000
},
{
0x41bef0
,
1
,
0x04
,
0x000003ff
},
{
0x41bf00
,
1
,
0x04
,
0x0a418820
},
{
0x41bf04
,
1
,
0x04
,
0x062080e6
},
{
0x41bf08
,
1
,
0x04
,
0x020398a4
},
{
0x41bf0c
,
1
,
0x04
,
0x0e629062
},
{
0x41bf10
,
1
,
0x04
,
0x0a418820
},
{
0x41bf14
,
1
,
0x04
,
0x000000e6
},
{
0x41bfd0
,
1
,
0x04
,
0x00900103
},
{
0x41bfe0
,
1
,
0x04
,
0x00400001
},
{
0x41bfe4
,
1
,
0x04
,
0x00000000
},
{}
};
static
const
struct
nvc0_graph_pack
nv108_grctx_pack_ppc
[]
=
{
{
nv108_grctx_init_ppc_0
},
{
nve4_grctx_init_pes_0
},
{
nv108_grctx_init_cbm_0
},
{
nvd7_grctx_init_wwdx_0
},
{}
};
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
浏览文件 @
88e98d49
...
...
@@ -140,12 +140,16 @@ extern const struct nvc0_graph_init nvd9_grctx_init_sm_0[];
extern
const
struct
nvc0_graph_init
nvd7_grctx_init_pe_0
[];
extern
const
struct
nvc0_graph_init
nvd7_grctx_init_wwdx_0
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_memfmt_0
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_ds_0
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_scc_0
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_gpm_0
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_pes_0
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_mthd
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_pri_0
[];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd7.c
浏览文件 @
88e98d49
...
...
@@ -138,11 +138,21 @@ nvd7_grctx_pack_tpc[] = {
};
static
const
struct
nvc0_graph_init
nvd7_grctx_init_p
pc
_0
[]
=
{
nvd7_grctx_init_p
es
_0
[]
=
{
{
0x41be24
,
1
,
0x04
,
0x00000002
},
{}
};
static
const
struct
nvc0_graph_init
nvd7_grctx_init_cbm_0
[]
=
{
{
0x41bec0
,
1
,
0x04
,
0x12180000
},
{
0x41bec4
,
1
,
0x04
,
0x00003fff
},
{
0x41bee4
,
1
,
0x04
,
0x03240218
},
{}
};
const
struct
nvc0_graph_init
nvd7_grctx_init_wwdx_0
[]
=
{
{
0x41bf00
,
1
,
0x04
,
0x0a418820
},
{
0x41bf04
,
1
,
0x04
,
0x062080e6
},
{
0x41bf08
,
1
,
0x04
,
0x020398a4
},
...
...
@@ -157,7 +167,9 @@ nvd7_grctx_init_ppc_0[] = {
static
const
struct
nvc0_graph_pack
nvd7_grctx_pack_ppc
[]
=
{
{
nvd7_grctx_init_ppc_0
},
{
nvd7_grctx_init_pes_0
},
{
nvd7_grctx_init_cbm_0
},
{
nvd7_grctx_init_wwdx_0
},
{}
};
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve4.c
浏览文件 @
88e98d49
...
...
@@ -812,27 +812,25 @@ nve4_grctx_pack_tpc[] = {
{}
};
static
const
struct
nvc0_graph_init
nve4_grctx_init_p
pc
_0
[]
=
{
const
struct
nvc0_graph_init
nve4_grctx_init_p
es
_0
[]
=
{
{
0x41be24
,
1
,
0x04
,
0x00000006
},
{}
};
static
const
struct
nvc0_graph_init
nve4_grctx_init_cbm_0
[]
=
{
{
0x41bec0
,
1
,
0x04
,
0x12180000
},
{
0x41bec4
,
1
,
0x04
,
0x00037f7f
},
{
0x41bee4
,
1
,
0x04
,
0x06480430
},
{
0x41bf00
,
1
,
0x04
,
0x0a418820
},
{
0x41bf04
,
1
,
0x04
,
0x062080e6
},
{
0x41bf08
,
1
,
0x04
,
0x020398a4
},
{
0x41bf0c
,
1
,
0x04
,
0x0e629062
},
{
0x41bf10
,
1
,
0x04
,
0x0a418820
},
{
0x41bf14
,
1
,
0x04
,
0x000000e6
},
{
0x41bfd0
,
1
,
0x04
,
0x00900103
},
{
0x41bfe0
,
1
,
0x04
,
0x00400001
},
{
0x41bfe4
,
1
,
0x04
,
0x00000000
},
{}
};
static
const
struct
nvc0_graph_pack
nve4_grctx_pack_ppc
[]
=
{
{
nve4_grctx_init_ppc_0
},
{
nve4_grctx_init_pes_0
},
{
nve4_grctx_init_cbm_0
},
{
nvd7_grctx_init_wwdx_0
},
{}
};
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
浏览文件 @
88e98d49
...
...
@@ -790,26 +790,18 @@ nvf0_grctx_pack_tpc[] = {
};
static
const
struct
nvc0_graph_init
nvf0_grctx_init_ppc_0
[]
=
{
{
0x41be24
,
1
,
0x04
,
0x00000006
},
nvf0_grctx_init_cbm_0
[]
=
{
{
0x41bec0
,
1
,
0x04
,
0x10000000
},
{
0x41bec4
,
1
,
0x04
,
0x00037f7f
},
{
0x41bee4
,
1
,
0x04
,
0x00000000
},
{
0x41bf00
,
1
,
0x04
,
0x0a418820
},
{
0x41bf04
,
1
,
0x04
,
0x062080e6
},
{
0x41bf08
,
1
,
0x04
,
0x020398a4
},
{
0x41bf0c
,
1
,
0x04
,
0x0e629062
},
{
0x41bf10
,
1
,
0x04
,
0x0a418820
},
{
0x41bf14
,
1
,
0x04
,
0x000000e6
},
{
0x41bfd0
,
1
,
0x04
,
0x00900103
},
{
0x41bfe0
,
1
,
0x04
,
0x00400001
},
{
0x41bfe4
,
1
,
0x04
,
0x00000000
},
{}
};
static
const
struct
nvc0_graph_pack
nvf0_grctx_pack_ppc
[]
=
{
{
nvf0_grctx_init_ppc_0
},
{
nve4_grctx_init_pes_0
},
{
nvf0_grctx_init_cbm_0
},
{
nvd7_grctx_init_wwdx_0
},
{}
};
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nv108.c
浏览文件 @
88e98d49
...
...
@@ -137,7 +137,9 @@ nv108_graph_pack_mmio[] = {
{
nv108_graph_init_l1c_0
},
{
nvc0_graph_init_mpc_0
},
{
nvf0_graph_init_sm_0
},
{
nvd7_graph_init_ppc_0
},
{
nvd7_graph_init_pes_0
},
{
nvd7_graph_init_wwdx_0
},
{
nvd7_graph_init_cbm_0
},
{
nve4_graph_init_be_0
},
{
nvc0_graph_init_fe_1
},
{}
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
浏览文件 @
88e98d49
...
...
@@ -208,7 +208,9 @@ extern const struct nvc0_graph_init nvd9_graph_init_tex_0[];
extern
const
struct
nvc0_graph_init
nvd9_graph_init_sm_0
[];
extern
const
struct
nvc0_graph_init
nvd9_graph_init_fe_1
[];
extern
const
struct
nvc0_graph_init
nvd7_graph_init_ppc_0
[];
extern
const
struct
nvc0_graph_init
nvd7_graph_init_pes_0
[];
extern
const
struct
nvc0_graph_init
nvd7_graph_init_wwdx_0
[];
extern
const
struct
nvc0_graph_init
nvd7_graph_init_cbm_0
[];
extern
const
struct
nvc0_graph_init
nve4_graph_init_main_0
[];
extern
const
struct
nvc0_graph_init
nve4_graph_init_tpccs_0
[];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvd7.c
浏览文件 @
88e98d49
...
...
@@ -39,15 +39,25 @@ nvd7_graph_init_pe_0[] = {
};
const
struct
nvc0_graph_init
nvd7_graph_init_p
pc
_0
[]
=
{
nvd7_graph_init_p
es
_0
[]
=
{
{
0x41be04
,
1
,
0x04
,
0x00000000
},
{
0x41be08
,
1
,
0x04
,
0x00000004
},
{
0x41be0c
,
1
,
0x04
,
0x00000000
},
{
0x41be10
,
1
,
0x04
,
0x003b8bc7
},
{
0x41be14
,
2
,
0x04
,
0x00000000
},
{}
};
const
struct
nvc0_graph_init
nvd7_graph_init_wwdx_0
[]
=
{
{
0x41bfd4
,
1
,
0x04
,
0x00800000
},
{
0x41bfdc
,
1
,
0x04
,
0x00000000
},
{
0x41bff8
,
2
,
0x04
,
0x00000000
},
{}
};
const
struct
nvc0_graph_init
nvd7_graph_init_cbm_0
[]
=
{
{
0x41becc
,
1
,
0x04
,
0x00000000
},
{
0x41bee8
,
2
,
0x04
,
0x00000000
},
{}
...
...
@@ -77,7 +87,9 @@ nvd7_graph_pack_mmio[] = {
{
nvc0_graph_init_l1c_0
},
{
nvc0_graph_init_mpc_0
},
{
nvd9_graph_init_sm_0
},
{
nvd7_graph_init_ppc_0
},
{
nvd7_graph_init_pes_0
},
{
nvd7_graph_init_wwdx_0
},
{
nvd7_graph_init_cbm_0
},
{
nvc0_graph_init_be_0
},
{
nvd9_graph_init_fe_1
},
{}
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nve4.c
浏览文件 @
88e98d49
...
...
@@ -177,7 +177,9 @@ nve4_graph_pack_mmio[] = {
{
nve4_graph_init_l1c_0
},
{
nvc0_graph_init_mpc_0
},
{
nve4_graph_init_sm_0
},
{
nvd7_graph_init_ppc_0
},
{
nvd7_graph_init_pes_0
},
{
nvd7_graph_init_wwdx_0
},
{
nvd7_graph_init_cbm_0
},
{
nve4_graph_init_be_0
},
{
nvc0_graph_init_fe_1
},
{}
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
浏览文件 @
88e98d49
...
...
@@ -158,7 +158,9 @@ nvf0_graph_pack_mmio[] = {
{
nvf0_graph_init_l1c_0
},
{
nvc0_graph_init_mpc_0
},
{
nvf0_graph_init_sm_0
},
{
nvd7_graph_init_ppc_0
},
{
nvd7_graph_init_pes_0
},
{
nvd7_graph_init_wwdx_0
},
{
nvd7_graph_init_cbm_0
},
{
nve4_graph_init_be_0
},
{
nvc0_graph_init_fe_1
},
{}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录