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
02bfc288
Commit
02bfc288
authored
Mar 29, 2012
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: inform userspace of relaxed kernel subchannel requirements
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
acde2d80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_channel.c
+2
-9
No files found.
drivers/gpu/drm/nouveau/nouveau_channel.c
View file @
02bfc288
...
@@ -436,18 +436,11 @@ nouveau_ioctl_fifo_alloc(struct drm_device *dev, void *data,
...
@@ -436,18 +436,11 @@ nouveau_ioctl_fifo_alloc(struct drm_device *dev, void *data,
}
}
if
(
dev_priv
->
card_type
<
NV_C0
)
{
if
(
dev_priv
->
card_type
<
NV_C0
)
{
init
->
subchan
[
0
].
handle
=
NvM2MF
;
init
->
subchan
[
0
].
handle
=
0x00000000
;
if
(
dev_priv
->
card_type
<
NV_50
)
init
->
subchan
[
0
].
grclass
=
0x0000
;
init
->
subchan
[
0
].
grclass
=
0x0039
;
else
init
->
subchan
[
0
].
grclass
=
0x5039
;
init
->
subchan
[
1
].
handle
=
NvSw
;
init
->
subchan
[
1
].
handle
=
NvSw
;
init
->
subchan
[
1
].
grclass
=
NV_SW
;
init
->
subchan
[
1
].
grclass
=
NV_SW
;
init
->
nr_subchan
=
2
;
init
->
nr_subchan
=
2
;
}
else
{
init
->
subchan
[
0
].
handle
=
0x9039
;
init
->
subchan
[
0
].
grclass
=
0x9039
;
init
->
nr_subchan
=
1
;
}
}
/* Named memory object area */
/* Named memory object area */
...
...
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