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
ad45a92b
Commit
ad45a92b
authored
May 08, 2018
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/gr/gf100-: update 419eb0 where required
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
5b54b5b9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
+2
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h
+3
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c
+8
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110b.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110b.c
+1
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
View file @
ad45a92b
...
@@ -1428,6 +1428,8 @@ gf100_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info)
...
@@ -1428,6 +1428,8 @@ gf100_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info)
grctx
->
r419cb8
(
gr
);
grctx
->
r419cb8
(
gr
);
if
(
grctx
->
r418800
)
if
(
grctx
->
r418800
)
grctx
->
r418800
(
gr
);
grctx
->
r418800
(
gr
);
if
(
grctx
->
r419eb0
)
grctx
->
r419eb0
(
gr
);
}
}
#define CB_RESERVED 0x80000
#define CB_RESERVED 0x80000
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h
View file @
ad45a92b
...
@@ -66,6 +66,7 @@ struct gf100_grctx_func {
...
@@ -66,6 +66,7 @@ struct gf100_grctx_func {
/* misc other things */
/* misc other things */
void
(
*
r419cb8
)(
struct
gf100_gr
*
);
void
(
*
r419cb8
)(
struct
gf100_gr
*
);
void
(
*
r418800
)(
struct
gf100_gr
*
);
void
(
*
r418800
)(
struct
gf100_gr
*
);
void
(
*
r419eb0
)(
struct
gf100_gr
*
);
};
};
extern
const
struct
gf100_grctx_func
gf100_grctx
;
extern
const
struct
gf100_grctx_func
gf100_grctx
;
...
@@ -111,6 +112,8 @@ void gk104_grctx_generate_unkn(struct gf100_gr *);
...
@@ -111,6 +112,8 @@ void gk104_grctx_generate_unkn(struct gf100_gr *);
void
gk104_grctx_generate_r418800
(
struct
gf100_gr
*
);
void
gk104_grctx_generate_r418800
(
struct
gf100_gr
*
);
extern
const
struct
gf100_grctx_func
gk110_grctx
;
extern
const
struct
gf100_grctx_func
gk110_grctx
;
void
gk110_grctx_generate_r419eb0
(
struct
gf100_gr
*
);
extern
const
struct
gf100_grctx_func
gk110b_grctx
;
extern
const
struct
gf100_grctx_func
gk110b_grctx
;
extern
const
struct
gf100_grctx_func
gk208_grctx
;
extern
const
struct
gf100_grctx_func
gk208_grctx
;
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c
View file @
ad45a92b
...
@@ -808,6 +808,13 @@ gk110_grctx_pack_ppc[] = {
...
@@ -808,6 +808,13 @@ gk110_grctx_pack_ppc[] = {
* PGRAPH context implementation
* PGRAPH context implementation
******************************************************************************/
******************************************************************************/
void
gk110_grctx_generate_r419eb0
(
struct
gf100_gr
*
gr
)
{
struct
nvkm_device
*
device
=
gr
->
base
.
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x419eb0
,
0x00001000
,
0x00001000
);
}
const
struct
gf100_grctx_func
const
struct
gf100_grctx_func
gk110_grctx
=
{
gk110_grctx
=
{
.
main
=
gk104_grctx_generate_main
,
.
main
=
gk104_grctx_generate_main
,
...
@@ -838,4 +845,5 @@ gk110_grctx = {
...
@@ -838,4 +845,5 @@ gk110_grctx = {
.
dist_skip_table
=
gf117_grctx_generate_dist_skip_table
,
.
dist_skip_table
=
gf117_grctx_generate_dist_skip_table
,
.
gpc_tpc_nr
=
gk104_grctx_generate_gpc_tpc_nr
,
.
gpc_tpc_nr
=
gk104_grctx_generate_gpc_tpc_nr
,
.
r418800
=
gk104_grctx_generate_r418800
,
.
r418800
=
gk104_grctx_generate_r418800
,
.
r419eb0
=
gk110_grctx_generate_r419eb0
,
};
};
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110b.c
View file @
ad45a92b
...
@@ -99,4 +99,5 @@ gk110b_grctx = {
...
@@ -99,4 +99,5 @@ gk110b_grctx = {
.
dist_skip_table
=
gf117_grctx_generate_dist_skip_table
,
.
dist_skip_table
=
gf117_grctx_generate_dist_skip_table
,
.
gpc_tpc_nr
=
gk104_grctx_generate_gpc_tpc_nr
,
.
gpc_tpc_nr
=
gk104_grctx_generate_gpc_tpc_nr
,
.
r418800
=
gk104_grctx_generate_r418800
,
.
r418800
=
gk104_grctx_generate_r418800
,
.
r419eb0
=
gk110_grctx_generate_r419eb0
,
};
};
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