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
a7c6e75e
Commit
a7c6e75e
authored
Aug 14, 2012
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/fifo: version the dma channel class struct
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
503b0f1c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
+1
-1
drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
+1
-1
drivers/gpu/drm/nouveau/core/engine/fifo/nv17.c
drivers/gpu/drm/nouveau/core/engine/fifo/nv17.c
+1
-1
drivers/gpu/drm/nouveau/core/engine/fifo/nv40.c
drivers/gpu/drm/nouveau/core/engine/fifo/nv40.c
+1
-1
drivers/gpu/drm/nouveau/core/include/core/class.h
drivers/gpu/drm/nouveau/core/include/core/class.h
+1
-1
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nouveau_chan.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
View file @
a7c6e75e
...
@@ -118,7 +118,7 @@ nv04_fifo_chan_ctor(struct nouveau_object *parent,
...
@@ -118,7 +118,7 @@ nv04_fifo_chan_ctor(struct nouveau_object *parent,
{
{
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_chan
*
chan
;
struct
nv04_fifo_chan
*
chan
;
struct
nv_channel_dma_class
*
args
=
data
;
struct
nv
03
_channel_dma_class
*
args
=
data
;
int
ret
;
int
ret
;
if
(
size
<
sizeof
(
*
args
))
if
(
size
<
sizeof
(
*
args
))
...
...
drivers/gpu/drm/nouveau/core/engine/fifo/nv10.c
View file @
a7c6e75e
...
@@ -61,7 +61,7 @@ nv10_fifo_chan_ctor(struct nouveau_object *parent,
...
@@ -61,7 +61,7 @@ nv10_fifo_chan_ctor(struct nouveau_object *parent,
{
{
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_chan
*
chan
;
struct
nv04_fifo_chan
*
chan
;
struct
nv_channel_dma_class
*
args
=
data
;
struct
nv
03
_channel_dma_class
*
args
=
data
;
int
ret
;
int
ret
;
if
(
size
<
sizeof
(
*
args
))
if
(
size
<
sizeof
(
*
args
))
...
...
drivers/gpu/drm/nouveau/core/engine/fifo/nv17.c
View file @
a7c6e75e
...
@@ -66,7 +66,7 @@ nv17_fifo_chan_ctor(struct nouveau_object *parent,
...
@@ -66,7 +66,7 @@ nv17_fifo_chan_ctor(struct nouveau_object *parent,
{
{
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_chan
*
chan
;
struct
nv04_fifo_chan
*
chan
;
struct
nv_channel_dma_class
*
args
=
data
;
struct
nv
03
_channel_dma_class
*
args
=
data
;
int
ret
;
int
ret
;
if
(
size
<
sizeof
(
*
args
))
if
(
size
<
sizeof
(
*
args
))
...
...
drivers/gpu/drm/nouveau/core/engine/fifo/nv40.c
View file @
a7c6e75e
...
@@ -184,7 +184,7 @@ nv40_fifo_chan_ctor(struct nouveau_object *parent,
...
@@ -184,7 +184,7 @@ nv40_fifo_chan_ctor(struct nouveau_object *parent,
{
{
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_priv
*
priv
=
(
void
*
)
engine
;
struct
nv04_fifo_chan
*
chan
;
struct
nv04_fifo_chan
*
chan
;
struct
nv_channel_dma_class
*
args
=
data
;
struct
nv
03
_channel_dma_class
*
args
=
data
;
int
ret
;
int
ret
;
if
(
size
<
sizeof
(
*
args
))
if
(
size
<
sizeof
(
*
args
))
...
...
drivers/gpu/drm/nouveau/core/include/core/class.h
View file @
a7c6e75e
...
@@ -57,7 +57,7 @@ struct nv_dma_class {
...
@@ -57,7 +57,7 @@ struct nv_dma_class {
* 406e: NV40_CHANNEL_DMA
* 406e: NV40_CHANNEL_DMA
*/
*/
struct
nv_channel_dma_class
{
struct
nv
03
_channel_dma_class
{
u32
pushbuf
;
u32
pushbuf
;
u32
pad0
;
u32
pad0
;
u64
offset
;
u64
offset
;
...
...
drivers/gpu/drm/nouveau/nouveau_chan.c
View file @
a7c6e75e
...
@@ -223,7 +223,7 @@ nouveau_channel_dma(struct nouveau_drm *drm, struct nouveau_cli *cli,
...
@@ -223,7 +223,7 @@ nouveau_channel_dma(struct nouveau_drm *drm, struct nouveau_cli *cli,
{
{
static
const
u16
oclasses
[]
=
{
0x406e
,
0x176e
,
0x006e
,
0x006b
,
0
};
static
const
u16
oclasses
[]
=
{
0x406e
,
0x176e
,
0x006e
,
0x006b
,
0
};
const
u16
*
oclass
=
oclasses
;
const
u16
*
oclass
=
oclasses
;
struct
nv_channel_dma_class
args
;
struct
nv
03
_channel_dma_class
args
;
struct
nouveau_channel
*
chan
;
struct
nouveau_channel
*
chan
;
int
ret
;
int
ret
;
...
...
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