diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:27:12 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:27:12 -0400 |
commit | c60ce623bd16137627009d05e311d877729f2ad6 (patch) | |
tree | 4d06337a217ccc6c21f8ad96c3b342a1e9452057 /drivers/char/drm/radeon_drm.h | |
parent | c6c656b4b6ddfc964f1a43394bf86bc76c5e8119 (diff) |
drm: remove a bunch of typedefs on the userspace interface
This moves a bunch of typedefs into a !defined __KERNEL__ to keep userspace
API compatiblity, it changes all internal usages to structs/enum/unions.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drm.h')
-rw-r--r-- | drivers/char/drm/radeon_drm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/radeon_drm.h b/drivers/char/drm/radeon_drm.h index 04de7a15df99..5a8e23f916fc 100644 --- a/drivers/char/drm/radeon_drm.h +++ b/drivers/char/drm/radeon_drm.h | |||
@@ -417,7 +417,7 @@ typedef struct { | |||
417 | 417 | ||
418 | /* The current cliprects, or a subset thereof. | 418 | /* The current cliprects, or a subset thereof. |
419 | */ | 419 | */ |
420 | drm_clip_rect_t boxes[RADEON_NR_SAREA_CLIPRECTS]; | 420 | struct drm_clip_rect boxes[RADEON_NR_SAREA_CLIPRECTS]; |
421 | unsigned int nbox; | 421 | unsigned int nbox; |
422 | 422 | ||
423 | /* Counters for client-side throttling of rendering clients. | 423 | /* Counters for client-side throttling of rendering clients. |
@@ -426,7 +426,7 @@ typedef struct { | |||
426 | unsigned int last_dispatch; | 426 | unsigned int last_dispatch; |
427 | unsigned int last_clear; | 427 | unsigned int last_clear; |
428 | 428 | ||
429 | drm_tex_region_t tex_list[RADEON_NR_TEX_HEAPS][RADEON_NR_TEX_REGIONS + | 429 | struct drm_tex_region tex_list[RADEON_NR_TEX_HEAPS][RADEON_NR_TEX_REGIONS + |
430 | 1]; | 430 | 1]; |
431 | unsigned int tex_age[RADEON_NR_TEX_HEAPS]; | 431 | unsigned int tex_age[RADEON_NR_TEX_HEAPS]; |
432 | int ctx_owner; | 432 | int ctx_owner; |
@@ -604,7 +604,7 @@ typedef struct drm_radeon_cmd_buffer { | |||
604 | int bufsz; | 604 | int bufsz; |
605 | char __user *buf; | 605 | char __user *buf; |
606 | int nbox; | 606 | int nbox; |
607 | drm_clip_rect_t __user *boxes; | 607 | struct drm_clip_rect __user *boxes; |
608 | } drm_radeon_cmd_buffer_t; | 608 | } drm_radeon_cmd_buffer_t; |
609 | 609 | ||
610 | typedef struct drm_radeon_tex_image { | 610 | typedef struct drm_radeon_tex_image { |