Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
579b7f3f
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
579b7f3f
编写于
6月 12, 2014
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/gk110b/gr: initvals differ from gk110
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
36b99026
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
244 addition
and
14 deletion
+244
-14
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/Makefile
+2
-0
drivers/gpu/drm/nouveau/core/engine/device/nve0.c
drivers/gpu/drm/nouveau/core/engine/device/nve0.c
+1
-1
drivers/gpu/drm/nouveau/core/engine/graph/ctxgk110b.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxgk110b.c
+94
-0
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
+10
-0
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
+6
-6
drivers/gpu/drm/nouveau/core/engine/graph/gk110b.c
drivers/gpu/drm/nouveau/core/engine/graph/gk110b.c
+116
-0
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
+8
-1
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
+6
-6
drivers/gpu/drm/nouveau/core/include/engine/graph.h
drivers/gpu/drm/nouveau/core/include/engine/graph.h
+1
-0
未找到文件。
drivers/gpu/drm/nouveau/Makefile
浏览文件 @
579b7f3f
...
...
@@ -271,6 +271,7 @@ nouveau-y += core/engine/graph/ctxnvd9.o
nouveau-y
+=
core/engine/graph/ctxnve4.o
nouveau-y
+=
core/engine/graph/ctxgk20a.o
nouveau-y
+=
core/engine/graph/ctxnvf0.o
nouveau-y
+=
core/engine/graph/ctxgk110b.o
nouveau-y
+=
core/engine/graph/ctxnv108.o
nouveau-y
+=
core/engine/graph/ctxgm107.o
nouveau-y
+=
core/engine/graph/nv04.o
...
...
@@ -292,6 +293,7 @@ nouveau-y += core/engine/graph/nvd9.o
nouveau-y
+=
core/engine/graph/nve4.o
nouveau-y
+=
core/engine/graph/gk20a.o
nouveau-y
+=
core/engine/graph/nvf0.o
nouveau-y
+=
core/engine/graph/gk110b.o
nouveau-y
+=
core/engine/graph/nv108.o
nouveau-y
+=
core/engine/graph/gm107.o
nouveau-y
+=
core/engine/mpeg/nv31.o
...
...
drivers/gpu/drm/nouveau/core/engine/device/nve0.c
浏览文件 @
579b7f3f
...
...
@@ -229,7 +229,7 @@ nve0_identify(struct nouveau_device *device)
device
->
oclass
[
NVDEV_ENGINE_DMAOBJ
]
=
&
nvd0_dmaeng_oclass
;
device
->
oclass
[
NVDEV_ENGINE_FIFO
]
=
nve0_fifo_oclass
;
device
->
oclass
[
NVDEV_ENGINE_SW
]
=
nvc0_software_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvf0
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
gk110b
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_DISP
]
=
nvf0_disp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_COPY0
]
=
&
nve0_copy0_oclass
;
device
->
oclass
[
NVDEV_ENGINE_COPY1
]
=
&
nve0_copy1_oclass
;
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxgk110b.c
0 → 100644
浏览文件 @
579b7f3f
/*
* Copyright 2013 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
#include "ctxnvc0.h"
/*******************************************************************************
* PGRAPH context register lists
******************************************************************************/
static
const
struct
nvc0_graph_init
gk110b_grctx_init_sm_0
[]
=
{
{
0x419e04
,
1
,
0x04
,
0x00000000
},
{
0x419e08
,
1
,
0x04
,
0x0000001d
},
{
0x419e0c
,
1
,
0x04
,
0x00000000
},
{
0x419e10
,
1
,
0x04
,
0x00001c02
},
{
0x419e44
,
1
,
0x04
,
0x0013eff2
},
{
0x419e48
,
1
,
0x04
,
0x00000000
},
{
0x419e4c
,
1
,
0x04
,
0x0000007f
},
{
0x419e50
,
2
,
0x04
,
0x00000000
},
{
0x419e58
,
1
,
0x04
,
0x00000001
},
{
0x419e5c
,
3
,
0x04
,
0x00000000
},
{
0x419e68
,
1
,
0x04
,
0x00000002
},
{
0x419e6c
,
12
,
0x04
,
0x00000000
},
{
0x419eac
,
1
,
0x04
,
0x00001f8f
},
{
0x419eb0
,
1
,
0x04
,
0x0db00d2f
},
{
0x419eb8
,
1
,
0x04
,
0x00000000
},
{
0x419ec8
,
1
,
0x04
,
0x0001304f
},
{
0x419f30
,
4
,
0x04
,
0x00000000
},
{
0x419f40
,
1
,
0x04
,
0x00000018
},
{
0x419f44
,
3
,
0x04
,
0x00000000
},
{
0x419f58
,
1
,
0x04
,
0x00000000
},
{
0x419f70
,
1
,
0x04
,
0x00006300
},
{
0x419f78
,
1
,
0x04
,
0x000000eb
},
{
0x419f7c
,
1
,
0x04
,
0x00000404
},
{}
};
static
const
struct
nvc0_graph_pack
gk110b_grctx_pack_tpc
[]
=
{
{
nvd7_grctx_init_pe_0
},
{
nvf0_grctx_init_tex_0
},
{
nvf0_grctx_init_mpc_0
},
{
nvf0_grctx_init_l1c_0
},
{
gk110b_grctx_init_sm_0
},
{}
};
/*******************************************************************************
* PGRAPH context implementation
******************************************************************************/
struct
nouveau_oclass
*
gk110b_grctx_oclass
=
&
(
struct
nvc0_grctx_oclass
)
{
.
base
.
handle
=
NV_ENGCTX
(
GR
,
0xf1
),
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
nvc0_graph_context_ctor
,
.
dtor
=
nvc0_graph_context_dtor
,
.
init
=
_nouveau_graph_context_init
,
.
fini
=
_nouveau_graph_context_fini
,
.
rd32
=
_nouveau_graph_context_rd32
,
.
wr32
=
_nouveau_graph_context_wr32
,
},
.
main
=
nve4_grctx_generate_main
,
.
mods
=
nvf0_grctx_generate_mods
,
.
unkn
=
nve4_grctx_generate_unkn
,
.
hub
=
nvf0_grctx_pack_hub
,
.
gpc
=
nvf0_grctx_pack_gpc
,
.
zcull
=
nvc0_grctx_pack_zcull
,
.
tpc
=
gk110b_grctx_pack_tpc
,
.
ppc
=
nvf0_grctx_pack_ppc
,
.
icmd
=
nvf0_grctx_pack_icmd
,
.
mthd
=
nvf0_grctx_pack_mthd
,
}.
base
;
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
浏览文件 @
579b7f3f
...
...
@@ -75,7 +75,10 @@ void nve4_grctx_generate_mods(struct nvc0_graph_priv *, struct nvc0_grctx *);
void
nve4_grctx_generate_unkn
(
struct
nvc0_graph_priv
*
);
void
nve4_grctx_generate_r418bb8
(
struct
nvc0_graph_priv
*
);
void
nvf0_grctx_generate_mods
(
struct
nvc0_graph_priv
*
,
struct
nvc0_grctx
*
);
extern
struct
nouveau_oclass
*
nvf0_grctx_oclass
;
extern
struct
nouveau_oclass
*
gk110b_grctx_oclass
;
extern
struct
nouveau_oclass
*
nv108_grctx_oclass
;
extern
struct
nouveau_oclass
*
gm107_grctx_oclass
;
...
...
@@ -160,16 +163,23 @@ extern const struct nvc0_graph_pack nve4_grctx_pack_ppc[];
extern
const
struct
nvc0_graph_pack
nve4_grctx_pack_icmd
[];
extern
const
struct
nvc0_graph_init
nve4_grctx_init_a097_0
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_icmd
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_mthd
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_hub
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_pri_0
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_cwd_0
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_gpc
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_gpc_unk_2
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_tex_0
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_mpc_0
[];
extern
const
struct
nvc0_graph_init
nvf0_grctx_init_l1c_0
[];
extern
const
struct
nvc0_graph_pack
nvf0_grctx_pack_ppc
[];
extern
const
struct
nvc0_graph_init
nv108_grctx_init_rstr2d_0
[];
extern
const
struct
nvc0_graph_init
nv108_grctx_init_prop_0
[];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
浏览文件 @
579b7f3f
...
...
@@ -279,7 +279,7 @@ nvf0_grctx_init_icmd_0[] = {
{}
};
static
const
struct
nvc0_graph_pack
const
struct
nvc0_graph_pack
nvf0_grctx_pack_icmd
[]
=
{
{
nvf0_grctx_init_icmd_0
},
{}
...
...
@@ -668,7 +668,7 @@ nvf0_grctx_init_be_0[] = {
{}
};
static
const
struct
nvc0_graph_pack
const
struct
nvc0_graph_pack
nvf0_grctx_pack_hub
[]
=
{
{
nvc0_grctx_init_main_0
},
{
nvf0_grctx_init_fe_0
},
...
...
@@ -704,7 +704,7 @@ nvf0_grctx_init_gpc_unk_2[] = {
{}
};
static
const
struct
nvc0_graph_pack
const
struct
nvc0_graph_pack
nvf0_grctx_pack_gpc
[]
=
{
{
nvc0_grctx_init_gpc_unk_0
},
{
nvd9_grctx_init_prop_0
},
...
...
@@ -718,7 +718,7 @@ nvf0_grctx_pack_gpc[] = {
{}
};
static
const
struct
nvc0_graph_init
const
struct
nvc0_graph_init
nvf0_grctx_init_tex_0
[]
=
{
{
0x419a00
,
1
,
0x04
,
0x000000f0
},
{
0x419a04
,
1
,
0x04
,
0x00000001
},
...
...
@@ -797,7 +797,7 @@ nvf0_grctx_init_cbm_0[] = {
{}
};
static
const
struct
nvc0_graph_pack
const
struct
nvc0_graph_pack
nvf0_grctx_pack_ppc
[]
=
{
{
nve4_grctx_init_pes_0
},
{
nvf0_grctx_init_cbm_0
},
...
...
@@ -809,7 +809,7 @@ nvf0_grctx_pack_ppc[] = {
* PGRAPH context implementation
******************************************************************************/
static
void
void
nvf0_grctx_generate_mods
(
struct
nvc0_graph_priv
*
priv
,
struct
nvc0_grctx
*
info
)
{
u32
magic
[
GPC_MAX
][
4
];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/gk110b.c
0 → 100644
浏览文件 @
579b7f3f
/*
* Copyright 2013 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
#include "nvc0.h"
#include "ctxnvc0.h"
/*******************************************************************************
* PGRAPH register lists
******************************************************************************/
static
const
struct
nvc0_graph_init
gk110b_graph_init_l1c_0
[]
=
{
{
0x419c98
,
1
,
0x04
,
0x00000000
},
{
0x419ca8
,
1
,
0x04
,
0x00000000
},
{
0x419cb0
,
1
,
0x04
,
0x09000000
},
{
0x419cb4
,
1
,
0x04
,
0x00000000
},
{
0x419cb8
,
1
,
0x04
,
0x00b08bea
},
{
0x419c84
,
1
,
0x04
,
0x00010384
},
{
0x419cbc
,
1
,
0x04
,
0x281b3646
},
{
0x419cc0
,
2
,
0x04
,
0x00000000
},
{
0x419c80
,
1
,
0x04
,
0x00020230
},
{
0x419ccc
,
2
,
0x04
,
0x00000000
},
{}
};
static
const
struct
nvc0_graph_init
gk110b_graph_init_sm_0
[]
=
{
{
0x419e00
,
1
,
0x04
,
0x00000080
},
{
0x419ea0
,
1
,
0x04
,
0x00000000
},
{
0x419ee4
,
1
,
0x04
,
0x00000000
},
{
0x419ea4
,
1
,
0x04
,
0x00000100
},
{
0x419ea8
,
1
,
0x04
,
0x00000000
},
{
0x419eb4
,
1
,
0x04
,
0x00000000
},
{
0x419ebc
,
2
,
0x04
,
0x00000000
},
{
0x419edc
,
1
,
0x04
,
0x00000000
},
{
0x419f00
,
1
,
0x04
,
0x00000000
},
{
0x419ed0
,
1
,
0x04
,
0x00002616
},
{
0x419f74
,
1
,
0x04
,
0x00015555
},
{
0x419f80
,
4
,
0x04
,
0x00000000
},
{}
};
static
const
struct
nvc0_graph_pack
gk110b_graph_pack_mmio
[]
=
{
{
nve4_graph_init_main_0
},
{
nvf0_graph_init_fe_0
},
{
nvc0_graph_init_pri_0
},
{
nvc0_graph_init_rstr2d_0
},
{
nvd9_graph_init_pd_0
},
{
nvf0_graph_init_ds_0
},
{
nvc0_graph_init_scc_0
},
{
nvf0_graph_init_sked_0
},
{
nvf0_graph_init_cwd_0
},
{
nvd9_graph_init_prop_0
},
{
nvc1_graph_init_gpc_unk_0
},
{
nvc0_graph_init_setup_0
},
{
nvc0_graph_init_crstr_0
},
{
nvc1_graph_init_setup_1
},
{
nvc0_graph_init_zcull_0
},
{
nvd9_graph_init_gpm_0
},
{
nvf0_graph_init_gpc_unk_1
},
{
nvc0_graph_init_gcc_0
},
{
nve4_graph_init_tpccs_0
},
{
nvf0_graph_init_tex_0
},
{
nve4_graph_init_pe_0
},
{
gk110b_graph_init_l1c_0
},
{
nvc0_graph_init_mpc_0
},
{
gk110b_graph_init_sm_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
},
{}
};
/*******************************************************************************
* PGRAPH engine/subdev functions
******************************************************************************/
struct
nouveau_oclass
*
gk110b_graph_oclass
=
&
(
struct
nvc0_graph_oclass
)
{
.
base
.
handle
=
NV_ENGINE
(
GR
,
0xf1
),
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
nvc0_graph_ctor
,
.
dtor
=
nvc0_graph_dtor
,
.
init
=
nve4_graph_init
,
.
fini
=
nvf0_graph_fini
,
},
.
cclass
=
&
gk110b_grctx_oclass
,
.
sclass
=
nvf0_graph_sclass
,
.
mmio
=
gk110b_graph_pack_mmio
,
.
fecs
.
ucode
=
&
nvf0_graph_fecs_ucode
,
.
gpccs
.
ucode
=
&
nvf0_graph_gpccs_ucode
,
}.
base
;
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
浏览文件 @
579b7f3f
...
...
@@ -121,9 +121,11 @@ int nvc0_graph_init(struct nouveau_object *);
int
nve4_graph_fini
(
struct
nouveau_object
*
,
bool
);
int
nve4_graph_init
(
struct
nouveau_object
*
);
extern
struct
nouveau_oclass
nvc0_graph_sclass
[]
;
int
nvf0_graph_fini
(
struct
nouveau_object
*
,
bool
)
;
extern
struct
nouveau_oclass
nvc0_graph_sclass
[];
extern
struct
nouveau_oclass
nvc8_graph_sclass
[];
extern
struct
nouveau_oclass
nvf0_graph_sclass
[];
struct
nvc0_graph_init
{
u32
addr
;
...
...
@@ -149,6 +151,9 @@ struct nvc0_graph_ucode {
extern
struct
nvc0_graph_ucode
nvc0_graph_fecs_ucode
;
extern
struct
nvc0_graph_ucode
nvc0_graph_gpccs_ucode
;
extern
struct
nvc0_graph_ucode
nvf0_graph_fecs_ucode
;
extern
struct
nvc0_graph_ucode
nvf0_graph_gpccs_ucode
;
struct
nvc0_graph_oclass
{
struct
nouveau_oclass
base
;
struct
nouveau_oclass
**
cclass
;
...
...
@@ -223,9 +228,11 @@ extern const struct nvc0_graph_init nve4_graph_init_be_0[];
extern
const
struct
nvc0_graph_pack
nve4_graph_pack_mmio
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_fe_0
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_ds_0
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_sked_0
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_cwd_0
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_gpc_unk_1
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_tex_0
[];
extern
const
struct
nvc0_graph_init
nvf0_graph_init_sm_0
[];
extern
const
struct
nvc0_graph_init
nv108_graph_init_gpc_unk_0
[];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvf0.c
浏览文件 @
579b7f3f
...
...
@@ -29,7 +29,7 @@
* Graphics object classes
******************************************************************************/
st
atic
st
ruct
nouveau_oclass
struct
nouveau_oclass
nvf0_graph_sclass
[]
=
{
{
0x902d
,
&
nouveau_object_ofuncs
},
{
0xa140
,
&
nouveau_object_ofuncs
},
...
...
@@ -50,7 +50,7 @@ nvf0_graph_init_fe_0[] = {
{}
};
static
const
struct
nvc0_graph_init
const
struct
nvc0_graph_init
nvf0_graph_init_ds_0
[]
=
{
{
0x405844
,
1
,
0x04
,
0x00ffffff
},
{
0x405850
,
1
,
0x04
,
0x00000000
},
...
...
@@ -88,7 +88,7 @@ nvf0_graph_init_gpc_unk_1[] = {
{}
};
static
const
struct
nvc0_graph_init
const
struct
nvc0_graph_init
nvf0_graph_init_tex_0
[]
=
{
{
0x419ab0
,
1
,
0x04
,
0x00000000
},
{
0x419ac8
,
1
,
0x04
,
0x00000000
},
...
...
@@ -170,7 +170,7 @@ nvf0_graph_pack_mmio[] = {
* PGRAPH engine/subdev functions
******************************************************************************/
static
int
int
nvf0_graph_fini
(
struct
nouveau_object
*
object
,
bool
suspend
)
{
struct
nvc0_graph_priv
*
priv
=
(
void
*
)
object
;
...
...
@@ -209,7 +209,7 @@ nvf0_graph_fini(struct nouveau_object *object, bool suspend)
#include "fuc/hubnvf0.fuc.h"
st
atic
st
ruct
nvc0_graph_ucode
struct
nvc0_graph_ucode
nvf0_graph_fecs_ucode
=
{
.
code
.
data
=
nvf0_grhub_code
,
.
code
.
size
=
sizeof
(
nvf0_grhub_code
),
...
...
@@ -219,7 +219,7 @@ nvf0_graph_fecs_ucode = {
#include "fuc/gpcnvf0.fuc.h"
st
atic
st
ruct
nvc0_graph_ucode
struct
nvc0_graph_ucode
nvf0_graph_gpccs_ucode
=
{
.
code
.
data
=
nvf0_grgpc_code
,
.
code
.
size
=
sizeof
(
nvf0_grgpc_code
),
...
...
drivers/gpu/drm/nouveau/core/include/engine/graph.h
浏览文件 @
579b7f3f
...
...
@@ -70,6 +70,7 @@ extern struct nouveau_oclass *nvd9_graph_oclass;
extern
struct
nouveau_oclass
*
nve4_graph_oclass
;
extern
struct
nouveau_oclass
*
gk20a_graph_oclass
;
extern
struct
nouveau_oclass
*
nvf0_graph_oclass
;
extern
struct
nouveau_oclass
*
gk110b_graph_oclass
;
extern
struct
nouveau_oclass
*
nv108_graph_oclass
;
extern
struct
nouveau_oclass
*
gm107_graph_oclass
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录