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
649ec925
Commit
649ec925
authored
Jan 09, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nve0/fifo: keep mmu fault interrupts enabled at all times
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
e1b6b14a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
+16
-1
No files found.
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
View file @
649ec925
...
...
@@ -753,6 +753,21 @@ nve0_fifo_uevent_disable(struct nouveau_event *event, int index)
nv_mask
(
priv
,
0x002140
,
0x80000000
,
0x00000000
);
}
int
nve0_fifo_fini
(
struct
nouveau_object
*
object
,
bool
suspend
)
{
struct
nve0_fifo_priv
*
priv
=
(
void
*
)
object
;
int
ret
;
ret
=
nouveau_fifo_fini
(
&
priv
->
base
,
suspend
);
if
(
ret
)
return
ret
;
/* allow mmu fault interrupts, even when we're not using fifo */
nv_mask
(
priv
,
0x002140
,
0x10000000
,
0x10000000
);
return
0
;
}
int
nve0_fifo_init
(
struct
nouveau_object
*
object
)
{
...
...
@@ -855,7 +870,7 @@ nve0_fifo_oclass = &(struct nve0_fifo_impl) {
.
ctor
=
nve0_fifo_ctor
,
.
dtor
=
nve0_fifo_dtor
,
.
init
=
nve0_fifo_init
,
.
fini
=
_nouveau
_fifo_fini
,
.
fini
=
nve0
_fifo_fini
,
},
.
channels
=
4096
,
}.
base
;
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