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
f51ee65c
Commit
f51ee65c
authored
May 03, 2012
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: fix engine context destructor ordering
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
5e120f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_channel.c
+1
-2
No files found.
drivers/gpu/drm/nouveau/nouveau_channel.c
View file @
f51ee65c
...
@@ -307,8 +307,7 @@ nouveau_channel_put_unlocked(struct nouveau_channel **pchan)
...
@@ -307,8 +307,7 @@ nouveau_channel_put_unlocked(struct nouveau_channel **pchan)
pfifo
->
reassign
(
dev
,
false
);
pfifo
->
reassign
(
dev
,
false
);
/* destroy the engine specific contexts */
/* destroy the engine specific contexts */
pfifo
->
destroy_context
(
chan
);
for
(
i
=
NVOBJ_ENGINE_NR
-
1
;
i
>=
0
;
i
--
)
{
for
(
i
=
0
;
i
<
NVOBJ_ENGINE_NR
;
i
++
)
{
if
(
chan
->
engctx
[
i
])
if
(
chan
->
engctx
[
i
])
dev_priv
->
eng
[
i
]
->
context_del
(
chan
,
i
);
dev_priv
->
eng
[
i
]
->
context_del
(
chan
,
i
);
/*XXX: clean this up later, order is important */
/*XXX: clean this up later, order is important */
...
...
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