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
e50fcff1
Commit
e50fcff1
authored
Nov 16, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2a32b9b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
2 deletions
+80
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
+2
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
+2
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c
+37
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
+37
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp104.c
+2
-2
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild
View file @
e50fcff1
...
...
@@ -95,9 +95,11 @@ nvkm-y += nvkm/engine/disp/cursg84.o
nvkm-y += nvkm/engine/disp/cursgt215.o
nvkm-y += nvkm/engine/disp/cursgf119.o
nvkm-y += nvkm/engine/disp/cursgk104.o
nvkm-y += nvkm/engine/disp/cursgp102.o
nvkm-y += nvkm/engine/disp/oimmnv50.o
nvkm-y += nvkm/engine/disp/oimmg84.o
nvkm-y += nvkm/engine/disp/oimmgt215.o
nvkm-y += nvkm/engine/disp/oimmgf119.o
nvkm-y += nvkm/engine/disp/oimmgk104.o
nvkm-y += nvkm/engine/disp/oimmgp102.o
drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h
View file @
e50fcff1
...
...
@@ -121,6 +121,8 @@ extern const struct nv50_disp_pioc_oclass gf119_disp_curs_oclass;
extern
const
struct
nv50_disp_pioc_oclass
gk104_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gk104_disp_curs_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gp102_disp_oimm_oclass
;
extern
const
struct
nv50_disp_pioc_oclass
gp102_disp_curs_oclass
;
int
nv50_disp_curs_new
(
const
struct
nv50_disp_chan_func
*
,
const
struct
nv50_disp_chan_mthd
*
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgp102.c
0 → 100644
View file @
e50fcff1
/*
* Copyright 2016 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gp102_disp_curs_oclass
=
{
.
base
.
oclass
=
GK104_DISP_CURSOR
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_curs_new
,
.
func
=
&
gf119_disp_pioc_func
,
.
chid
=
{
13
,
17
},
};
drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmgp102.c
0 → 100644
View file @
e50fcff1
/*
* Copyright 2016 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs <bskeggs@redhat.com>
*/
#include "channv50.h"
#include "rootnv50.h"
#include <nvif/class.h>
const
struct
nv50_disp_pioc_oclass
gp102_disp_oimm_oclass
=
{
.
base
.
oclass
=
GK104_DISP_OVERLAY
,
.
base
.
minver
=
0
,
.
base
.
maxver
=
0
,
.
ctor
=
nv50_disp_oimm_new
,
.
func
=
&
gf119_disp_pioc_func
,
.
chid
=
{
9
,
13
},
};
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootgp104.c
View file @
e50fcff1
...
...
@@ -36,8 +36,8 @@ gp104_disp_root = {
&
gp104_disp_ovly_oclass
,
},
.
pioc
=
{
&
g
k104
_disp_oimm_oclass
,
&
g
k104
_disp_curs_oclass
,
&
g
p102
_disp_oimm_oclass
,
&
g
p102
_disp_curs_oclass
,
},
};
...
...
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