diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:17:42 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:17:42 -0400 |
commit | 056219e2fa6664ec83bc258ebcf30f1a7919d423 (patch) | |
tree | 0c74c9fd648755cf3aa3a2ff7fd46024e137af1f /drivers/char/drm/savage_state.c | |
parent | eddca551a3e7be2fed54282f255f18efe9ead131 (diff) |
drm: drop drm_buf_t typedef
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/savage_state.c')
-rw-r--r-- | drivers/char/drm/savage_state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/savage_state.c b/drivers/char/drm/savage_state.c index 73fa9ef43c5..a30f4546cdb 100644 --- a/drivers/char/drm/savage_state.c +++ b/drivers/char/drm/savage_state.c | |||
@@ -277,7 +277,7 @@ static int savage_dispatch_state(drm_savage_private_t * dev_priv, | |||
277 | 277 | ||
278 | static int savage_dispatch_dma_prim(drm_savage_private_t * dev_priv, | 278 | static int savage_dispatch_dma_prim(drm_savage_private_t * dev_priv, |
279 | const drm_savage_cmd_header_t * cmd_header, | 279 | const drm_savage_cmd_header_t * cmd_header, |
280 | const drm_buf_t * dmabuf) | 280 | const struct drm_buf * dmabuf) |
281 | { | 281 | { |
282 | unsigned char reorder = 0; | 282 | unsigned char reorder = 0; |
283 | unsigned int prim = cmd_header->prim.prim; | 283 | unsigned int prim = cmd_header->prim.prim; |
@@ -536,7 +536,7 @@ static int savage_dispatch_vb_prim(drm_savage_private_t * dev_priv, | |||
536 | static int savage_dispatch_dma_idx(drm_savage_private_t * dev_priv, | 536 | static int savage_dispatch_dma_idx(drm_savage_private_t * dev_priv, |
537 | const drm_savage_cmd_header_t * cmd_header, | 537 | const drm_savage_cmd_header_t * cmd_header, |
538 | const uint16_t *idx, | 538 | const uint16_t *idx, |
539 | const drm_buf_t * dmabuf) | 539 | const struct drm_buf * dmabuf) |
540 | { | 540 | { |
541 | unsigned char reorder = 0; | 541 | unsigned char reorder = 0; |
542 | unsigned int prim = cmd_header->idx.prim; | 542 | unsigned int prim = cmd_header->idx.prim; |
@@ -892,7 +892,7 @@ static int savage_dispatch_swap(drm_savage_private_t * dev_priv, | |||
892 | static int savage_dispatch_draw(drm_savage_private_t * dev_priv, | 892 | static int savage_dispatch_draw(drm_savage_private_t * dev_priv, |
893 | const drm_savage_cmd_header_t *start, | 893 | const drm_savage_cmd_header_t *start, |
894 | const drm_savage_cmd_header_t *end, | 894 | const drm_savage_cmd_header_t *end, |
895 | const drm_buf_t * dmabuf, | 895 | const struct drm_buf * dmabuf, |
896 | const unsigned int *vtxbuf, | 896 | const unsigned int *vtxbuf, |
897 | unsigned int vb_size, unsigned int vb_stride, | 897 | unsigned int vb_size, unsigned int vb_stride, |
898 | unsigned int nbox, | 898 | unsigned int nbox, |
@@ -958,7 +958,7 @@ int savage_bci_cmdbuf(DRM_IOCTL_ARGS) | |||
958 | DRM_DEVICE; | 958 | DRM_DEVICE; |
959 | drm_savage_private_t *dev_priv = dev->dev_private; | 959 | drm_savage_private_t *dev_priv = dev->dev_private; |
960 | drm_device_dma_t *dma = dev->dma; | 960 | drm_device_dma_t *dma = dev->dma; |
961 | drm_buf_t *dmabuf; | 961 | struct drm_buf *dmabuf; |
962 | drm_savage_cmdbuf_t cmdbuf; | 962 | drm_savage_cmdbuf_t cmdbuf; |
963 | drm_savage_cmd_header_t *kcmd_addr = NULL; | 963 | drm_savage_cmd_header_t *kcmd_addr = NULL; |
964 | drm_savage_cmd_header_t *first_draw_cmd; | 964 | drm_savage_cmd_header_t *first_draw_cmd; |