Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
eeb0558e
Commit
eeb0558e
authored
Mar 03, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/gf104/gr: rename gf104 (nvc4), it came before gf106 (nvc3)
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
6acc09b9
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
23 deletions
+23
-23
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/Makefile
+2
-2
drivers/gpu/drm/nouveau/core/engine/device/nvc0.c
drivers/gpu/drm/nouveau/core/engine/device/nvc0.c
+4
-4
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc4.c
+5
-5
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
+2
-2
drivers/gpu/drm/nouveau/core/engine/graph/nvc1.c
drivers/gpu/drm/nouveau/core/engine/graph/nvc1.c
+1
-1
drivers/gpu/drm/nouveau/core/engine/graph/nvc4.c
drivers/gpu/drm/nouveau/core/engine/graph/nvc4.c
+8
-8
drivers/gpu/drm/nouveau/core/include/engine/graph.h
drivers/gpu/drm/nouveau/core/include/engine/graph.h
+1
-1
No files found.
drivers/gpu/drm/nouveau/Makefile
View file @
eeb0558e
...
...
@@ -249,7 +249,7 @@ nouveau-y += core/engine/graph/ctxnv40.o
nouveau-y
+=
core/engine/graph/ctxnv50.o
nouveau-y
+=
core/engine/graph/ctxnvc0.o
nouveau-y
+=
core/engine/graph/ctxnvc1.o
nouveau-y
+=
core/engine/graph/ctxnvc
3
.o
nouveau-y
+=
core/engine/graph/ctxnvc
4
.o
nouveau-y
+=
core/engine/graph/ctxnvc8.o
nouveau-y
+=
core/engine/graph/ctxnvd7.o
nouveau-y
+=
core/engine/graph/ctxnvd9.o
...
...
@@ -268,7 +268,7 @@ nouveau-y += core/engine/graph/nv40.o
nouveau-y
+=
core/engine/graph/nv50.o
nouveau-y
+=
core/engine/graph/nvc0.o
nouveau-y
+=
core/engine/graph/nvc1.o
nouveau-y
+=
core/engine/graph/nvc
3
.o
nouveau-y
+=
core/engine/graph/nvc
4
.o
nouveau-y
+=
core/engine/graph/nvc8.o
nouveau-y
+=
core/engine/graph/nvd7.o
nouveau-y
+=
core/engine/graph/nvd9.o
...
...
drivers/gpu/drm/nouveau/core/engine/device/nvc0.c
View file @
eeb0558e
...
...
@@ -112,7 +112,7 @@ nvc0_identify(struct nouveau_device *device)
device
->
oclass
[
NVDEV_ENGINE_DMAOBJ
]
=
&
nvc0_dmaeng_oclass
;
device
->
oclass
[
NVDEV_ENGINE_FIFO
]
=
nvc0_fifo_oclass
;
device
->
oclass
[
NVDEV_ENGINE_SW
]
=
nvc0_software_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
3
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
4
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_VP
]
=
&
nvc0_vp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_BSP
]
=
&
nvc0_bsp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_PPP
]
=
&
nvc0_ppp_oclass
;
...
...
@@ -144,7 +144,7 @@ nvc0_identify(struct nouveau_device *device)
device
->
oclass
[
NVDEV_ENGINE_DMAOBJ
]
=
&
nvc0_dmaeng_oclass
;
device
->
oclass
[
NVDEV_ENGINE_FIFO
]
=
nvc0_fifo_oclass
;
device
->
oclass
[
NVDEV_ENGINE_SW
]
=
nvc0_software_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
3
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
4
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_VP
]
=
&
nvc0_vp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_BSP
]
=
&
nvc0_bsp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_PPP
]
=
&
nvc0_ppp_oclass
;
...
...
@@ -175,7 +175,7 @@ nvc0_identify(struct nouveau_device *device)
device
->
oclass
[
NVDEV_ENGINE_DMAOBJ
]
=
&
nvc0_dmaeng_oclass
;
device
->
oclass
[
NVDEV_ENGINE_FIFO
]
=
nvc0_fifo_oclass
;
device
->
oclass
[
NVDEV_ENGINE_SW
]
=
nvc0_software_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
3
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
4
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_VP
]
=
&
nvc0_vp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_BSP
]
=
&
nvc0_bsp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_PPP
]
=
&
nvc0_ppp_oclass
;
...
...
@@ -207,7 +207,7 @@ nvc0_identify(struct nouveau_device *device)
device
->
oclass
[
NVDEV_ENGINE_DMAOBJ
]
=
&
nvc0_dmaeng_oclass
;
device
->
oclass
[
NVDEV_ENGINE_FIFO
]
=
nvc0_fifo_oclass
;
device
->
oclass
[
NVDEV_ENGINE_SW
]
=
nvc0_software_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
3
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_GR
]
=
nvc
4
_graph_oclass
;
device
->
oclass
[
NVDEV_ENGINE_VP
]
=
&
nvc0_vp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_BSP
]
=
&
nvc0_bsp_oclass
;
device
->
oclass
[
NVDEV_ENGINE_PPP
]
=
&
nvc0_ppp_oclass
;
...
...
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc
3
.c
→
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc
4
.c
View file @
eeb0558e
...
...
@@ -25,7 +25,7 @@
#include "nvc0.h"
static
struct
nvc0_graph_init
nvc
3
_grctx_init_tpc
[]
=
{
nvc
4
_grctx_init_tpc
[]
=
{
{
0x419818
,
1
,
0x04
,
0x00000000
},
{
0x41983c
,
1
,
0x04
,
0x00038bc7
},
{
0x419848
,
1
,
0x04
,
0x00000000
},
...
...
@@ -71,15 +71,15 @@ nvc3_grctx_init_tpc[] = {
};
struct
nvc0_graph_init
*
nvc
3
_grctx_init_gpc
[]
=
{
nvc
4
_grctx_init_gpc
[]
=
{
nvc0_grctx_init_gpc_0
,
nvc0_grctx_init_gpc_1
,
nvc
3
_grctx_init_tpc
,
nvc
4
_grctx_init_tpc
,
NULL
};
struct
nouveau_oclass
*
nvc
3
_grctx_oclass
=
&
(
struct
nvc0_grctx_oclass
)
{
nvc
4
_grctx_oclass
=
&
(
struct
nvc0_grctx_oclass
)
{
.
base
.
handle
=
NV_ENGCTX
(
GR
,
0xc3
),
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
nvc0_graph_context_ctor
,
...
...
@@ -93,7 +93,7 @@ nvc3_grctx_oclass = &(struct nvc0_grctx_oclass) {
.
mods
=
nvc0_grctx_generate_mods
,
.
unkn
=
nvc0_grctx_generate_unkn
,
.
hub
=
nvc0_grctx_init_hub
,
.
gpc
=
nvc
3
_grctx_init_gpc
,
.
gpc
=
nvc
4
_grctx_init_gpc
,
.
icmd
=
nvc0_grctx_init_icmd
,
.
mthd
=
nvc0_grctx_init_mthd
,
}.
base
;
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
View file @
eeb0558e
...
...
@@ -196,7 +196,7 @@ extern struct nvc0_graph_init nvc0_graph_init_gpc[];
extern
struct
nvc0_graph_init
nvc0_graph_init_unk88xx
[];
extern
struct
nvc0_graph_init
nvc0_graph_tpc_0
[];
extern
struct
nvc0_graph_init
nvc
3
_graph_init_unk58xx
[];
extern
struct
nvc0_graph_init
nvc
4
_graph_init_unk58xx
[];
extern
struct
nvc0_graph_init
nvd9_graph_init_unk58xx
[];
extern
struct
nvc0_graph_init
nvd9_graph_init_unk64xx
[];
...
...
@@ -249,7 +249,7 @@ void nvc1_grctx_generate_unkn(struct nvc0_graph_priv *);
extern
struct
nouveau_oclass
*
nvc1_grctx_oclass
;
extern
struct
nvc0_graph_init
nvc1_grctx_init_9097
[];
extern
struct
nouveau_oclass
*
nvc
3
_grctx_oclass
;
extern
struct
nouveau_oclass
*
nvc
4
_grctx_oclass
;
extern
struct
nouveau_oclass
*
nvc8_grctx_oclass
;
extern
struct
nvc0_graph_init
nvc8_grctx_init_9197
[];
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvc1.c
View file @
eeb0558e
...
...
@@ -118,7 +118,7 @@ nvc1_graph_init_mmio[] = {
nvc0_graph_init_unk44xx
,
nvc0_graph_init_unk78xx
,
nvc0_graph_init_unk60xx
,
nvc
3
_graph_init_unk58xx
,
nvc
4
_graph_init_unk58xx
,
nvc0_graph_init_unk80xx
,
nvc1_graph_init_gpc
,
nvc1_graph_init_tpc
,
...
...
drivers/gpu/drm/nouveau/core/engine/graph/nvc
3
.c
→
drivers/gpu/drm/nouveau/core/engine/graph/nvc
4
.c
View file @
eeb0558e
...
...
@@ -29,7 +29,7 @@
******************************************************************************/
struct
nvc0_graph_init
nvc
3
_graph_init_unk58xx
[]
=
{
nvc
4
_graph_init_unk58xx
[]
=
{
{
0x405844
,
1
,
0x04
,
0x00ffffff
},
{
0x405850
,
1
,
0x04
,
0x00000000
},
{
0x405900
,
1
,
0x04
,
0x00002834
},
...
...
@@ -38,7 +38,7 @@ nvc3_graph_init_unk58xx[] = {
};
static
struct
nvc0_graph_init
nvc
3
_graph_init_tpc
[]
=
{
nvc
4
_graph_init_tpc
[]
=
{
{
0x419d08
,
2
,
0x04
,
0x00000000
},
{
0x419d10
,
1
,
0x04
,
0x00000014
},
{
0x419ab0
,
1
,
0x04
,
0x00000000
},
...
...
@@ -78,23 +78,23 @@ nvc3_graph_init_tpc[] = {
};
static
struct
nvc0_graph_init
*
nvc
3
_graph_init_mmio
[]
=
{
nvc
4
_graph_init_mmio
[]
=
{
nvc0_graph_init_regs
,
nvc0_graph_init_unk40xx
,
nvc0_graph_init_unk44xx
,
nvc0_graph_init_unk78xx
,
nvc0_graph_init_unk60xx
,
nvc
3
_graph_init_unk58xx
,
nvc
4
_graph_init_unk58xx
,
nvc0_graph_init_unk80xx
,
nvc0_graph_init_gpc
,
nvc
3
_graph_init_tpc
,
nvc
4
_graph_init_tpc
,
nvc0_graph_init_unk88xx
,
nvc0_graph_tpc_0
,
NULL
};
struct
nouveau_oclass
*
nvc
3
_graph_oclass
=
&
(
struct
nvc0_graph_oclass
)
{
nvc
4
_graph_oclass
=
&
(
struct
nvc0_graph_oclass
)
{
.
base
.
handle
=
NV_ENGINE
(
GR
,
0xc3
),
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
nvc0_graph_ctor
,
...
...
@@ -102,9 +102,9 @@ nvc3_graph_oclass = &(struct nvc0_graph_oclass) {
.
init
=
nvc0_graph_init
,
.
fini
=
_nouveau_graph_fini
,
},
.
cclass
=
&
nvc
3
_grctx_oclass
,
.
cclass
=
&
nvc
4
_grctx_oclass
,
.
sclass
=
nvc0_graph_sclass
,
.
mmio
=
nvc
3
_graph_init_mmio
,
.
mmio
=
nvc
4
_graph_init_mmio
,
.
fecs
.
ucode
=
&
nvc0_graph_fecs_ucode
,
.
gpccs
.
ucode
=
&
nvc0_graph_gpccs_ucode
,
}.
base
;
drivers/gpu/drm/nouveau/core/include/engine/graph.h
View file @
eeb0558e
...
...
@@ -63,7 +63,7 @@ extern struct nouveau_oclass nv40_graph_oclass;
extern
struct
nouveau_oclass
nv50_graph_oclass
;
extern
struct
nouveau_oclass
*
nvc0_graph_oclass
;
extern
struct
nouveau_oclass
*
nvc1_graph_oclass
;
extern
struct
nouveau_oclass
*
nvc
3
_graph_oclass
;
extern
struct
nouveau_oclass
*
nvc
4
_graph_oclass
;
extern
struct
nouveau_oclass
*
nvc8_graph_oclass
;
extern
struct
nouveau_oclass
*
nvd7_graph_oclass
;
extern
struct
nouveau_oclass
*
nvd9_graph_oclass
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment