Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
R128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ermine
R128
Commits
a8b005fd
Commit
a8b005fd
authored
9 years ago
by
Ben Skeggs
Browse files
Options
Downloads
Patches
Plain Diff
drm/nouveau/fifo/gk104: add sec plumbing
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
608fd040
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/gpu/drm/nouveau/include/nvif/cla06f.h
+1
-0
1 addition, 0 deletions
drivers/gpu/drm/nouveau/include/nvif/cla06f.h
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
+2
-0
2 additions, 0 deletions
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
with
3 additions
and
0 deletions
drivers/gpu/drm/nouveau/include/nvif/cla06f.h
+
1
−
0
View file @
a8b005fd
...
...
@@ -7,6 +7,7 @@ struct kepler_channel_gpfifo_a_v0 {
__u16
chid
;
#define NVA06F_V0_ENGINE_SW 0x00000001
#define NVA06F_V0_ENGINE_GR 0x00000002
#define NVA06F_V0_ENGINE_SEC 0x00000004
#define NVA06F_V0_ENGINE_MSVLD 0x00000010
#define NVA06F_V0_ENGINE_MSPDEC 0x00000020
#define NVA06F_V0_ENGINE_MSPPP 0x00000040
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c
+
2
−
0
View file @
a8b005fd
...
...
@@ -63,6 +63,7 @@ gk104_fifo_gpfifo_engine_addr(struct nvkm_engine *engine)
case
NVKM_ENGINE_CE1
:
case
NVKM_ENGINE_CE2
:
return
0x0000
;
case
NVKM_ENGINE_GR
:
return
0x0210
;
case
NVKM_ENGINE_SEC
:
return
0x0220
;
case
NVKM_ENGINE_MSPDEC
:
return
0x0250
;
case
NVKM_ENGINE_MSPPP
:
return
0x0260
;
case
NVKM_ENGINE_MSVLD
:
return
0x0270
;
...
...
@@ -340,6 +341,7 @@ gk104_fifo_gpfifo[] = {
{
NVA06F_V0_ENGINE_SW
|
NVA06F_V0_ENGINE_GR
,
BIT_ULL
(
NVKM_ENGINE_SW
)
|
BIT_ULL
(
NVKM_ENGINE_GR
)
},
{
NVA06F_V0_ENGINE_SEC
,
BIT_ULL
(
NVKM_ENGINE_SEC
)
},
{
NVA06F_V0_ENGINE_MSVLD
,
BIT_ULL
(
NVKM_ENGINE_MSVLD
)
},
{
NVA06F_V0_ENGINE_MSPDEC
,
BIT_ULL
(
NVKM_ENGINE_MSPDEC
)
},
{
NVA06F_V0_ENGINE_MSPPP
,
BIT_ULL
(
NVKM_ENGINE_MSPPP
)
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment