diff options
author | Eric Anholt <eric@anholt.net> | 2007-09-02 22:06:45 -0400 |
---|---|---|
committer | Dave Airlie <airlied@optimus.(none)> | 2007-10-14 20:38:20 -0400 |
commit | c153f45f9b7e30289157bba3ff5682291df16caa (patch) | |
tree | 33f21e1ebd83ec548751f3d490afe6230ab99972 /drivers/char/drm/r128_drv.h | |
parent | b589ee5943a9610ebaea6e4e3433f2ae4d812b0b (diff) |
drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.
The data is now in kernel space, copied in/out as appropriate according to t
This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal
with those failures. This also means that XFree86 4.2.0 support for i810 DR
is lost.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/r128_drv.h')
-rw-r--r-- | drivers/char/drm/r128_drv.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/char/drm/r128_drv.h b/drivers/char/drm/r128_drv.h index 580b182eadb1..250d2aa46581 100644 --- a/drivers/char/drm/r128_drv.h +++ b/drivers/char/drm/r128_drv.h | |||
@@ -129,18 +129,18 @@ typedef struct drm_r128_buf_priv { | |||
129 | drm_r128_freelist_t *list_entry; | 129 | drm_r128_freelist_t *list_entry; |
130 | } drm_r128_buf_priv_t; | 130 | } drm_r128_buf_priv_t; |
131 | 131 | ||
132 | extern drm_ioctl_desc_t r128_ioctls[]; | 132 | extern struct drm_ioctl_desc r128_ioctls[]; |
133 | extern int r128_max_ioctl; | 133 | extern int r128_max_ioctl; |
134 | 134 | ||
135 | /* r128_cce.c */ | 135 | /* r128_cce.c */ |
136 | extern int r128_cce_init(DRM_IOCTL_ARGS); | 136 | extern int r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv); |
137 | extern int r128_cce_start(DRM_IOCTL_ARGS); | 137 | extern int r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv); |
138 | extern int r128_cce_stop(DRM_IOCTL_ARGS); | 138 | extern int r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv); |
139 | extern int r128_cce_reset(DRM_IOCTL_ARGS); | 139 | extern int r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv); |
140 | extern int r128_cce_idle(DRM_IOCTL_ARGS); | 140 | extern int r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv); |
141 | extern int r128_engine_reset(DRM_IOCTL_ARGS); | 141 | extern int r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv); |
142 | extern int r128_fullscreen(DRM_IOCTL_ARGS); | 142 | extern int r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv); |
143 | extern int r128_cce_buffers(DRM_IOCTL_ARGS); | 143 | extern int r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv); |
144 | 144 | ||
145 | extern void r128_freelist_reset(struct drm_device * dev); | 145 | extern void r128_freelist_reset(struct drm_device * dev); |
146 | 146 | ||