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
nexedi
linux
Commits
d85e2a8d
Commit
d85e2a8d
authored
Apr 08, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/mc/nv04: define reset masks + intr cleanup
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
667e99ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
+5
-9
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
+0
-1
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
View file @
d85e2a8d
...
...
@@ -30,18 +30,13 @@ nv04_mc_reset[] = {
{}
};
const
struct
nvkm_mc_map
static
const
struct
nvkm_mc_map
nv04_mc_intr
[]
=
{
{
0x00000001
,
NVKM_ENGINE_MPEG
},
/* NV17- MPEG/ME */
{
0x00000100
,
NVKM_ENGINE_FIFO
},
{
0x01010000
,
NVKM_ENGINE_DISP
},
{
0x00001000
,
NVKM_ENGINE_GR
},
{
0x00010000
,
NVKM_ENGINE_DISP
},
{
0x00020000
,
NVKM_ENGINE_VP
},
/* NV40- */
{
0x00100000
,
NVKM_SUBDEV_TIMER
},
{
0x01000000
,
NVKM_ENGINE_DISP
},
/* NV04- PCRTC0 */
{
0x02000000
,
NVKM_ENGINE_DISP
},
/* NV11- PCRTC1 */
{
0x00000100
,
NVKM_ENGINE_FIFO
},
{
0x10000000
,
NVKM_SUBDEV_BUS
},
{
0x
80000000
,
NVKM_ENGINE_SW
},
{
0x
00100000
,
NVKM_SUBDEV_TIMER
},
{}
};
...
...
@@ -81,6 +76,7 @@ nv04_mc = {
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_mask
=
nv04_mc_intr_mask
,
.
reset
=
nv04_mc_reset
,
};
int
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
View file @
d85e2a8d
...
...
@@ -25,7 +25,6 @@ struct nvkm_mc_func {
};
void
nv04_mc_init
(
struct
nvkm_mc
*
);
extern
const
struct
nvkm_mc_map
nv04_mc_intr
[];
void
nv04_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
nv04_mc_intr_rearm
(
struct
nvkm_mc
*
);
u32
nv04_mc_intr_mask
(
struct
nvkm_mc
*
);
...
...
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