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
a1020afe
Commit
a1020afe
authored
Apr 14, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: add support for gm20x fifo channels
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
89025bd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nouveau_chan.c
+2
-1
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drm.c
+1
-0
No files found.
drivers/gpu/drm/nouveau/nouveau_chan.c
View file @
a1020afe
...
@@ -184,7 +184,8 @@ static int
...
@@ -184,7 +184,8 @@ static int
nouveau_channel_ind
(
struct
nouveau_drm
*
drm
,
struct
nvif_device
*
device
,
nouveau_channel_ind
(
struct
nouveau_drm
*
drm
,
struct
nvif_device
*
device
,
u32
handle
,
u32
engine
,
struct
nouveau_channel
**
pchan
)
u32
handle
,
u32
engine
,
struct
nouveau_channel
**
pchan
)
{
{
static
const
u16
oclasses
[]
=
{
KEPLER_CHANNEL_GPFIFO_A
,
static
const
u16
oclasses
[]
=
{
MAXWELL_CHANNEL_GPFIFO_A
,
KEPLER_CHANNEL_GPFIFO_A
,
FERMI_CHANNEL_GPFIFO
,
FERMI_CHANNEL_GPFIFO
,
G82_CHANNEL_GPFIFO
,
G82_CHANNEL_GPFIFO
,
NV50_CHANNEL_GPFIFO
,
NV50_CHANNEL_GPFIFO
,
...
...
drivers/gpu/drm/nouveau/nouveau_drm.c
View file @
a1020afe
...
@@ -181,6 +181,7 @@ nouveau_accel_init(struct nouveau_drm *drm)
...
@@ -181,6 +181,7 @@ nouveau_accel_init(struct nouveau_drm *drm)
break
;
break
;
case
FERMI_CHANNEL_GPFIFO
:
case
FERMI_CHANNEL_GPFIFO
:
case
KEPLER_CHANNEL_GPFIFO_A
:
case
KEPLER_CHANNEL_GPFIFO_A
:
case
MAXWELL_CHANNEL_GPFIFO_A
:
ret
=
nvc0_fence_create
(
drm
);
ret
=
nvc0_fence_create
(
drm
);
break
;
break
;
default:
default:
...
...
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