aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/radeon_drv.h')
-rw-r--r--drivers/char/drm/radeon_drv.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h
index 3c7473488665..120ee5a8ebcc 100644
--- a/drivers/char/drm/radeon_drv.h
+++ b/drivers/char/drm/radeon_drv.h
@@ -281,7 +281,17 @@ typedef struct drm_radeon_buf_priv {
281 u32 age; 281 u32 age;
282} drm_radeon_buf_priv_t; 282} drm_radeon_buf_priv_t;
283 283
284typedef struct drm_radeon_kcmd_buffer {
285 int bufsz;
286 char *buf;
287 int nbox;
288 drm_clip_rect_t __user *boxes;
289} drm_radeon_kcmd_buffer_t;
290
284extern int radeon_no_wb; 291extern int radeon_no_wb;
292extern drm_ioctl_desc_t radeon_ioctls[];
293extern int radeon_max_ioctl;
294
285 /* radeon_cp.c */ 295 /* radeon_cp.c */
286extern int radeon_cp_init(DRM_IOCTL_ARGS); 296extern int radeon_cp_init(DRM_IOCTL_ARGS);
287extern int radeon_cp_start(DRM_IOCTL_ARGS); 297extern int radeon_cp_start(DRM_IOCTL_ARGS);
@@ -340,7 +350,7 @@ extern void r300_init_reg_flags(void);
340 350
341extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp, 351extern int r300_do_cp_cmdbuf(drm_device_t * dev, DRMFILE filp,
342 drm_file_t * filp_priv, 352 drm_file_t * filp_priv,
343 drm_radeon_cmd_buffer_t * cmdbuf); 353 drm_radeon_kcmd_buffer_t * cmdbuf);
344 354
345/* Flags for stats.boxes 355/* Flags for stats.boxes
346 */ 356 */