diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:17:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:17:26 -0400 |
commit | 13626cb91f41df803c54047172bfc7a716e36c2b (patch) | |
tree | d1e24385eaad0637ce388743310471e20f0839d8 /drivers/char/drm/via_drv.h | |
parent | 37ca506adc395a028cd12760eca419dd0dc14b5c (diff) | |
parent | ace3dff5b7f0bf5a647e60dcd0c0a7d46792f5d9 (diff) |
Merge branch 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
via invalid device ids removal
radeon: Commit the ring after each partial texture upload blit.
i915: fix vbl swap allocation size.
drm: Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.
drm: remove XFREE86_VERSION macros.
drm: Replace filp in ioctl arguments with drm_file *file_priv.
drm: Remove DRM_ERR OS macro.
Diffstat (limited to 'drivers/char/drm/via_drv.h')
-rw-r--r-- | drivers/char/drm/via_drv.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/char/drm/via_drv.h b/drivers/char/drm/via_drv.h index 576711564a11..2daae81874cd 100644 --- a/drivers/char/drm/via_drv.h +++ b/drivers/char/drm/via_drv.h | |||
@@ -110,18 +110,18 @@ enum via_family { | |||
110 | #define VIA_READ8(reg) DRM_READ8(VIA_BASE, reg) | 110 | #define VIA_READ8(reg) DRM_READ8(VIA_BASE, reg) |
111 | #define VIA_WRITE8(reg,val) DRM_WRITE8(VIA_BASE, reg, val) | 111 | #define VIA_WRITE8(reg,val) DRM_WRITE8(VIA_BASE, reg, val) |
112 | 112 | ||
113 | extern drm_ioctl_desc_t via_ioctls[]; | 113 | extern struct drm_ioctl_desc via_ioctls[]; |
114 | extern int via_max_ioctl; | 114 | extern int via_max_ioctl; |
115 | 115 | ||
116 | extern int via_fb_init(DRM_IOCTL_ARGS); | 116 | extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv); |
117 | extern int via_mem_alloc(DRM_IOCTL_ARGS); | 117 | extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv); |
118 | extern int via_mem_free(DRM_IOCTL_ARGS); | 118 | extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv); |
119 | extern int via_agp_init(DRM_IOCTL_ARGS); | 119 | extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv); |
120 | extern int via_map_init(DRM_IOCTL_ARGS); | 120 | extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv); |
121 | extern int via_decoder_futex(DRM_IOCTL_ARGS); | 121 | extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv); |
122 | extern int via_wait_irq(DRM_IOCTL_ARGS); | 122 | extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv); |
123 | extern int via_dma_blit_sync( DRM_IOCTL_ARGS ); | 123 | extern int via_dma_blit_sync( struct drm_device *dev, void *data, struct drm_file *file_priv ); |
124 | extern int via_dma_blit( DRM_IOCTL_ARGS ); | 124 | extern int via_dma_blit( struct drm_device *dev, void *data, struct drm_file *file_priv ); |
125 | 125 | ||
126 | extern int via_driver_load(struct drm_device *dev, unsigned long chipset); | 126 | extern int via_driver_load(struct drm_device *dev, unsigned long chipset); |
127 | extern int via_driver_unload(struct drm_device *dev); | 127 | extern int via_driver_unload(struct drm_device *dev); |
@@ -144,7 +144,7 @@ extern void via_init_futex(drm_via_private_t * dev_priv); | |||
144 | extern void via_cleanup_futex(drm_via_private_t * dev_priv); | 144 | extern void via_cleanup_futex(drm_via_private_t * dev_priv); |
145 | extern void via_release_futex(drm_via_private_t * dev_priv, int context); | 145 | extern void via_release_futex(drm_via_private_t * dev_priv, int context); |
146 | 146 | ||
147 | extern void via_reclaim_buffers_locked(struct drm_device *dev, struct file *filp); | 147 | extern void via_reclaim_buffers_locked(struct drm_device *dev, struct drm_file *file_priv); |
148 | extern void via_lastclose(struct drm_device *dev); | 148 | extern void via_lastclose(struct drm_device *dev); |
149 | 149 | ||
150 | extern void via_dmablit_handler(struct drm_device *dev, int engine, int from_irq); | 150 | extern void via_dmablit_handler(struct drm_device *dev, int engine, int from_irq); |