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
13cd1a55
Commit
13cd1a55
authored
Nov 26, 2013
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/sw: fix oops if gpu has its display block disabled
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2fd04c81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/gpu/drm/nouveau/core/engine/software/nv50.c
drivers/gpu/drm/nouveau/core/engine/software/nv50.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/core/engine/software/nv50.c
View file @
13cd1a55
...
...
@@ -176,7 +176,7 @@ nv50_software_context_ctor(struct nouveau_object *parent,
if
(
ret
)
return
ret
;
chan
->
vblank
.
nr_event
=
pdisp
->
vblank
->
index_nr
;
chan
->
vblank
.
nr_event
=
pdisp
?
pdisp
->
vblank
->
index_nr
:
0
;
chan
->
vblank
.
event
=
kzalloc
(
chan
->
vblank
.
nr_event
*
sizeof
(
*
chan
->
vblank
.
event
),
GFP_KERNEL
);
if
(
!
chan
->
vblank
.
event
)
...
...
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