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
09433f24
Commit
09433f24
authored
Nov 03, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/abi16: remove unused argument from nouveau_abi16_get()
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
b41c4857
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
drivers/gpu/drm/nouveau/nouveau_abi16.c
drivers/gpu/drm/nouveau/nouveau_abi16.c
+6
-6
drivers/gpu/drm/nouveau/nouveau_abi16.h
drivers/gpu/drm/nouveau/nouveau_abi16.h
+1
-2
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_gem.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/nouveau_abi16.c
View file @
09433f24
...
...
@@ -33,7 +33,7 @@
#include "nouveau_abi16.h"
struct
nouveau_abi16
*
nouveau_abi16_get
(
struct
drm_file
*
file_priv
,
struct
drm_device
*
dev
)
nouveau_abi16_get
(
struct
drm_file
*
file_priv
)
{
struct
nouveau_cli
*
cli
=
nouveau_cli
(
file_priv
);
mutex_lock
(
&
cli
->
mutex
);
...
...
@@ -236,7 +236,7 @@ nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS)
struct
drm_nouveau_channel_alloc
*
init
=
data
;
struct
nouveau_cli
*
cli
=
nouveau_cli
(
file_priv
);
struct
nouveau_drm
*
drm
=
nouveau_drm
(
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_abi16_chan
*
chan
;
struct
nvif_device
*
device
;
int
ret
;
...
...
@@ -342,7 +342,7 @@ int
nouveau_abi16_ioctl_channel_free
(
ABI16_IOCTL_ARGS
)
{
struct
drm_nouveau_channel_free
*
req
=
data
;
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_abi16_chan
*
chan
;
if
(
unlikely
(
!
abi16
))
...
...
@@ -359,7 +359,7 @@ int
nouveau_abi16_ioctl_grobj_alloc
(
ABI16_IOCTL_ARGS
)
{
struct
drm_nouveau_grobj_alloc
*
init
=
data
;
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_abi16_chan
*
chan
;
struct
nouveau_abi16_ntfy
*
ntfy
;
struct
nvif_client
*
client
;
...
...
@@ -452,7 +452,7 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
{
struct
drm_nouveau_notifierobj_alloc
*
info
=
data
;
struct
nouveau_drm
*
drm
=
nouveau_drm
(
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_abi16_chan
*
chan
;
struct
nouveau_abi16_ntfy
*
ntfy
;
struct
nvif_device
*
device
=
&
abi16
->
device
;
...
...
@@ -524,7 +524,7 @@ int
nouveau_abi16_ioctl_gpuobj_free
(
ABI16_IOCTL_ARGS
)
{
struct
drm_nouveau_gpuobj_free
*
fini
=
data
;
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_abi16_chan
*
chan
;
struct
nouveau_abi16_ntfy
*
ntfy
;
int
ret
=
-
ENOENT
;
...
...
drivers/gpu/drm/nouveau/nouveau_abi16.h
View file @
09433f24
...
...
@@ -33,8 +33,7 @@ struct nouveau_abi16 {
u64
handles
;
};
struct
nouveau_drm
;
struct
nouveau_abi16
*
nouveau_abi16_get
(
struct
drm_file
*
,
struct
drm_device
*
);
struct
nouveau_abi16
*
nouveau_abi16_get
(
struct
drm_file
*
);
int
nouveau_abi16_put
(
struct
nouveau_abi16
*
,
int
);
void
nouveau_abi16_fini
(
struct
nouveau_abi16
*
);
s32
nouveau_abi16_swclass
(
struct
nouveau_drm
*
);
...
...
drivers/gpu/drm/nouveau/nouveau_gem.c
View file @
09433f24
...
...
@@ -668,7 +668,7 @@ int
nouveau_gem_ioctl_pushbuf
(
struct
drm_device
*
dev
,
void
*
data
,
struct
drm_file
*
file_priv
)
{
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
,
dev
);
struct
nouveau_abi16
*
abi16
=
nouveau_abi16_get
(
file_priv
);
struct
nouveau_cli
*
cli
=
nouveau_cli
(
file_priv
);
struct
nouveau_abi16_chan
*
temp
;
struct
nouveau_drm
*
drm
=
nouveau_drm
(
dev
);
...
...
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