aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_bufs.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 02:17:42 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 02:17:42 -0400
commit056219e2fa6664ec83bc258ebcf30f1a7919d423 (patch)
tree0c74c9fd648755cf3aa3a2ff7fd46024e137af1f /drivers/char/drm/drm_bufs.c
parenteddca551a3e7be2fed54282f255f18efe9ead131 (diff)
drm: drop drm_buf_t typedef
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r--drivers/char/drm/drm_bufs.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c
index d12e2876a2ab..bdd301519769 100644
--- a/drivers/char/drm/drm_bufs.c
+++ b/drivers/char/drm/drm_bufs.c
@@ -554,7 +554,7 @@ int drm_addbufs_agp(struct drm_device * dev, struct drm_buf_desc * request)
554 drm_device_dma_t *dma = dev->dma; 554 drm_device_dma_t *dma = dev->dma;
555 drm_buf_entry_t *entry; 555 drm_buf_entry_t *entry;
556 drm_agp_mem_t *agp_entry; 556 drm_agp_mem_t *agp_entry;
557 drm_buf_t *buf; 557 struct drm_buf *buf;
558 unsigned long offset; 558 unsigned long offset;
559 unsigned long agp_offset; 559 unsigned long agp_offset;
560 int count; 560 int count;
@@ -565,7 +565,7 @@ int drm_addbufs_agp(struct drm_device * dev, struct drm_buf_desc * request)
565 int total; 565 int total;
566 int byte_count; 566 int byte_count;
567 int i, valid; 567 int i, valid;
568 drm_buf_t **temp_buflist; 568 struct drm_buf **temp_buflist;
569 569
570 if (!dma) 570 if (!dma)
571 return -EINVAL; 571 return -EINVAL;
@@ -729,14 +729,14 @@ int drm_addbufs_pci(struct drm_device * dev, struct drm_buf_desc * request)
729 int page_order; 729 int page_order;
730 drm_buf_entry_t *entry; 730 drm_buf_entry_t *entry;
731 drm_dma_handle_t *dmah; 731 drm_dma_handle_t *dmah;
732 drm_buf_t *buf; 732 struct drm_buf *buf;
733 int alignment; 733 int alignment;
734 unsigned long offset; 734 unsigned long offset;
735 int i; 735 int i;
736 int byte_count; 736 int byte_count;
737 int page_count; 737 int page_count;
738 unsigned long *temp_pagelist; 738 unsigned long *temp_pagelist;
739 drm_buf_t **temp_buflist; 739 struct drm_buf **temp_buflist;
740 740
741 if (!drm_core_check_feature(dev, DRIVER_PCI_DMA)) 741 if (!drm_core_check_feature(dev, DRIVER_PCI_DMA))
742 return -EINVAL; 742 return -EINVAL;
@@ -949,7 +949,7 @@ static int drm_addbufs_sg(struct drm_device * dev, struct drm_buf_desc * request
949{ 949{
950 drm_device_dma_t *dma = dev->dma; 950 drm_device_dma_t *dma = dev->dma;
951 drm_buf_entry_t *entry; 951 drm_buf_entry_t *entry;
952 drm_buf_t *buf; 952 struct drm_buf *buf;
953 unsigned long offset; 953 unsigned long offset;
954 unsigned long agp_offset; 954 unsigned long agp_offset;
955 int count; 955 int count;
@@ -960,7 +960,7 @@ static int drm_addbufs_sg(struct drm_device * dev, struct drm_buf_desc * request
960 int total; 960 int total;
961 int byte_count; 961 int byte_count;
962 int i; 962 int i;
963 drm_buf_t **temp_buflist; 963 struct drm_buf **temp_buflist;
964 964
965 if (!drm_core_check_feature(dev, DRIVER_SG)) 965 if (!drm_core_check_feature(dev, DRIVER_SG))
966 return -EINVAL; 966 return -EINVAL;
@@ -1111,7 +1111,7 @@ static int drm_addbufs_fb(struct drm_device * dev, struct drm_buf_desc * request
1111{ 1111{
1112 drm_device_dma_t *dma = dev->dma; 1112 drm_device_dma_t *dma = dev->dma;
1113 drm_buf_entry_t *entry; 1113 drm_buf_entry_t *entry;
1114 drm_buf_t *buf; 1114 struct drm_buf *buf;
1115 unsigned long offset; 1115 unsigned long offset;
1116 unsigned long agp_offset; 1116 unsigned long agp_offset;
1117 int count; 1117 int count;
@@ -1122,7 +1122,7 @@ static int drm_addbufs_fb(struct drm_device * dev, struct drm_buf_desc * request
1122 int total; 1122 int total;
1123 int byte_count; 1123 int byte_count;
1124 int i; 1124 int i;
1125 drm_buf_t **temp_buflist; 1125 struct drm_buf **temp_buflist;
1126 1126
1127 if (!drm_core_check_feature(dev, DRIVER_FB_DMA)) 1127 if (!drm_core_check_feature(dev, DRIVER_FB_DMA))
1128 return -EINVAL; 1128 return -EINVAL;
@@ -1481,7 +1481,7 @@ int drm_freebufs(struct inode *inode, struct file *filp,
1481 struct drm_buf_free request; 1481 struct drm_buf_free request;
1482 int i; 1482 int i;
1483 int idx; 1483 int idx;
1484 drm_buf_t *buf; 1484 struct drm_buf *buf;
1485 1485
1486 if (!drm_core_check_feature(dev, DRIVER_HAVE_DMA)) 1486 if (!drm_core_check_feature(dev, DRIVER_HAVE_DMA))
1487 return -EINVAL; 1487 return -EINVAL;