diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
commit | 84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch) | |
tree | 2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/radeon_drv.h | |
parent | c60ce623bd16137627009d05e311d877729f2ad6 (diff) |
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
some drivers still todo.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drv.h')
-rw-r--r-- | drivers/char/drm/radeon_drv.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h index e4b4e4be9bb5..abcae05c2873 100644 --- a/drivers/char/drm/radeon_drv.h +++ b/drivers/char/drm/radeon_drv.h | |||
@@ -336,8 +336,8 @@ extern int radeon_engine_reset(DRM_IOCTL_ARGS); | |||
336 | extern int radeon_fullscreen(DRM_IOCTL_ARGS); | 336 | extern int radeon_fullscreen(DRM_IOCTL_ARGS); |
337 | extern int radeon_cp_buffers(DRM_IOCTL_ARGS); | 337 | extern int radeon_cp_buffers(DRM_IOCTL_ARGS); |
338 | 338 | ||
339 | extern void radeon_freelist_reset(drm_device_t * dev); | 339 | extern void radeon_freelist_reset(struct drm_device * dev); |
340 | extern drm_buf_t *radeon_freelist_get(drm_device_t * dev); | 340 | extern drm_buf_t *radeon_freelist_get(struct drm_device * dev); |
341 | 341 | ||
342 | extern int radeon_wait_ring(drm_radeon_private_t * dev_priv, int n); | 342 | extern int radeon_wait_ring(drm_radeon_private_t * dev_priv, int n); |
343 | 343 | ||
@@ -357,33 +357,33 @@ extern void radeon_mem_release(DRMFILE filp, struct mem_block *heap); | |||
357 | extern int radeon_irq_emit(DRM_IOCTL_ARGS); | 357 | extern int radeon_irq_emit(DRM_IOCTL_ARGS); |
358 | extern int radeon_irq_wait(DRM_IOCTL_ARGS); | 358 | extern int radeon_irq_wait(DRM_IOCTL_ARGS); |
359 | 359 | ||
360 | extern void radeon_do_release(drm_device_t * dev); | 360 | extern void radeon_do_release(struct drm_device * dev); |
361 | extern int radeon_driver_vblank_wait(drm_device_t * dev, | 361 | extern int radeon_driver_vblank_wait(struct drm_device * dev, |
362 | unsigned int *sequence); | 362 | unsigned int *sequence); |
363 | extern int radeon_driver_vblank_wait2(drm_device_t * dev, | 363 | extern int radeon_driver_vblank_wait2(struct drm_device * dev, |
364 | unsigned int *sequence); | 364 | unsigned int *sequence); |
365 | extern irqreturn_t radeon_driver_irq_handler(DRM_IRQ_ARGS); | 365 | extern irqreturn_t radeon_driver_irq_handler(DRM_IRQ_ARGS); |
366 | extern void radeon_driver_irq_preinstall(drm_device_t * dev); | 366 | extern void radeon_driver_irq_preinstall(struct drm_device * dev); |
367 | extern void radeon_driver_irq_postinstall(drm_device_t * dev); | 367 | extern void radeon_driver_irq_postinstall(struct drm_device * dev); |
368 | extern void radeon_driver_irq_uninstall(drm_device_t * dev); | 368 | extern void radeon_driver_irq_uninstall(struct drm_device * dev); |
369 | extern int radeon_vblank_crtc_get(drm_device_t *dev); | 369 | extern int radeon_vblank_crtc_get(struct drm_device *dev); |
370 | extern int radeon_vblank_crtc_set(drm_device_t *dev, int64_t value); | 370 | extern int radeon_vblank_crtc_set(struct drm_device *dev, int64_t value); |
371 | 371 | ||
372 | extern int radeon_driver_load(struct drm_device *dev, unsigned long flags); | 372 | extern int radeon_driver_load(struct drm_device *dev, unsigned long flags); |
373 | extern int radeon_driver_unload(struct drm_device *dev); | 373 | extern int radeon_driver_unload(struct drm_device *dev); |
374 | extern int radeon_driver_firstopen(struct drm_device *dev); | 374 | extern int radeon_driver_firstopen(struct drm_device *dev); |
375 | extern void radeon_driver_preclose(drm_device_t * dev, DRMFILE filp); | 375 | extern void radeon_driver_preclose(struct drm_device * dev, DRMFILE filp); |
376 | extern void radeon_driver_postclose(drm_device_t * dev, drm_file_t * filp); | 376 | extern void radeon_driver_postclose(struct drm_device * dev, struct drm_file * filp); |
377 | extern void radeon_driver_lastclose(drm_device_t * dev); | 377 | extern void radeon_driver_lastclose(struct drm_device * dev); |
378 | extern int radeon_driver_open(drm_device_t * dev, drm_file_t * filp_priv); | 378 | extern int radeon_driver_open(struct drm_device * dev, struct drm_file * filp_priv); |
379 | extern long radeon_compat_ioctl(struct file *filp, unsigned int cmd, | 379 | extern long radeon_compat_ioctl(struct file *filp, unsigned int cmd, |
380 | unsigned long arg); | 380 | unsigned long arg); |
381 | 381 | ||
382 | /* r300_cmdbuf.c */ | 382 | /* r300_cmdbuf.c */ |
383 | extern void r300_init_reg_flags(void); | 383 | extern void r300_init_reg_flags(void); |
384 | 384 | ||
385 | extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp, | 385 | extern int r300_do_cp_cmdbuf(struct drm_device * dev, DRMFILE filp, |
386 | drm_file_t * filp_priv, | 386 | struct drm_file * filp_priv, |
387 | drm_radeon_kcmd_buffer_t * cmdbuf); | 387 | drm_radeon_kcmd_buffer_t * cmdbuf); |
388 | 388 | ||
389 | /* Flags for stats.boxes | 389 | /* Flags for stats.boxes |