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
78bb3512
Commit
78bb3512
authored
Mar 25, 2010
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: fixup the init failure paths some more
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
494ab824
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nouveau_state.c
+7
-1
No files found.
drivers/gpu/drm/nouveau/nouveau_state.c
View file @
78bb3512
...
...
@@ -505,7 +505,7 @@ nouveau_card_init(struct drm_device *dev)
else
ret
=
nv04_display_create
(
dev
);
if
(
ret
)
goto
out_
irq
;
goto
out_
channel
;
}
ret
=
nouveau_backlight_init
(
dev
);
...
...
@@ -519,6 +519,11 @@ nouveau_card_init(struct drm_device *dev)
return
0
;
out_channel:
if
(
dev_priv
->
channel
)
{
nouveau_channel_free
(
dev_priv
->
channel
);
dev_priv
->
channel
=
NULL
;
}
out_irq:
drm_irq_uninstall
(
dev
);
out_fifo:
...
...
@@ -536,6 +541,7 @@ nouveau_card_init(struct drm_device *dev)
out_gpuobj:
nouveau_gpuobj_takedown
(
dev
);
out_mem:
nouveau_sgdma_takedown
(
dev
);
nouveau_mem_close
(
dev
);
out_instmem:
engine
->
instmem
.
takedown
(
dev
);
...
...
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