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
fce875d6
Commit
fce875d6
authored
Jul 26, 2012
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: move compat ioctl out of nouveau_drv.h
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
c0077061
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/Makefile
+1
-1
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/nouveau/nouveau_drv.c
+1
-0
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_drv.h
+0
-3
drivers/gpu/drm/nouveau/nouveau_ioc32.c
drivers/gpu/drm/nouveau/nouveau_ioc32.c
+1
-1
drivers/gpu/drm/nouveau/nouveau_ioctl.h
drivers/gpu/drm/nouveau/nouveau_ioctl.h
+6
-0
No files found.
drivers/gpu/drm/nouveau/Makefile
View file @
fce875d6
...
@@ -168,6 +168,7 @@ nouveau-y += nv50_fbcon.o nvc0_fbcon.o
...
@@ -168,6 +168,7 @@ nouveau-y += nv50_fbcon.o nvc0_fbcon.o
# drm/kms/nvd9-
# drm/kms/nvd9-
# other random bits
# other random bits
nouveau-$(CONFIG_COMPAT)
+=
nouveau_ioc32.o
nouveau-$(CONFIG_ACPI)
+=
nouveau_acpi.o
nouveau-$(CONFIG_ACPI)
+=
nouveau_acpi.o
##
##
...
@@ -201,7 +202,6 @@ nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o
...
@@ -201,7 +202,6 @@ nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o
nouveau-y
+=
nouveau_mem.o
nouveau-y
+=
nouveau_mem.o
# optional stuff
# optional stuff
nouveau-$(CONFIG_COMPAT)
+=
nouveau_ioc32.o
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT)
+=
nouveau_backlight.o
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT)
+=
nouveau_backlight.o
...
...
drivers/gpu/drm/nouveau/nouveau_drv.c
View file @
fce875d6
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include "nouveau_pm.h"
#include "nouveau_pm.h"
#include "nv50_display.h"
#include "nv50_display.h"
#include "nouveau_acpi.h"
#include "nouveau_acpi.h"
#include "nouveau_ioctl.h"
#include "drm_pciids.h"
#include "drm_pciids.h"
...
...
drivers/gpu/drm/nouveau/nouveau_drv.h
View file @
fce875d6
...
@@ -405,9 +405,6 @@ int nouveau_ttm_mmap(struct file *, struct vm_area_struct *);
...
@@ -405,9 +405,6 @@ int nouveau_ttm_mmap(struct file *, struct vm_area_struct *);
/* nouveau_hdmi.c */
/* nouveau_hdmi.c */
void
nouveau_hdmi_mode_set
(
struct
drm_encoder
*
,
struct
drm_display_mode
*
);
void
nouveau_hdmi_mode_set
(
struct
drm_encoder
*
,
struct
drm_display_mode
*
);
extern
long
nouveau_compat_ioctl
(
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
/* nvd0_display.c */
/* nvd0_display.c */
extern
int
nvd0_display_create
(
struct
drm_device
*
);
extern
int
nvd0_display_create
(
struct
drm_device
*
);
extern
void
nvd0_display_destroy
(
struct
drm_device
*
);
extern
void
nvd0_display_destroy
(
struct
drm_device
*
);
...
...
drivers/gpu/drm/nouveau/nouveau_ioc32.c
View file @
fce875d6
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "drmP.h"
#include "drmP.h"
#include "drm.h"
#include "drm.h"
#include "nouveau_
drv
.h"
#include "nouveau_
ioctl
.h"
/**
/**
* Called whenever a 32-bit process running under a 64-bit kernel
* Called whenever a 32-bit process running under a 64-bit kernel
...
...
drivers/gpu/drm/nouveau/nouveau_ioctl.h
0 → 100644
View file @
fce875d6
#ifndef __NOUVEAU_IOCTL_H__
#define __NOUVEAU_IOCTL_H__
long
nouveau_compat_ioctl
(
struct
file
*
,
unsigned
int
cmd
,
unsigned
long
arg
);
#endif
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