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/i915_irq.c | |
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/i915_irq.c')
-rw-r--r-- | drivers/char/drm/i915_irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/i915_irq.c b/drivers/char/drm/i915_irq.c index b92062a239f1..a5989315ec8c 100644 --- a/drivers/char/drm/i915_irq.c +++ b/drivers/char/drm/i915_irq.c | |||
@@ -50,7 +50,7 @@ static void i915_vblank_tasklet(drm_device_t *dev) | |||
50 | int nhits, nrects, slice[2], upper[2], lower[2], i; | 50 | int nhits, nrects, slice[2], upper[2], lower[2], i; |
51 | unsigned counter[2] = { atomic_read(&dev->vbl_received), | 51 | unsigned counter[2] = { atomic_read(&dev->vbl_received), |
52 | atomic_read(&dev->vbl_received2) }; | 52 | atomic_read(&dev->vbl_received2) }; |
53 | drm_drawable_info_t *drw; | 53 | struct drm_drawable_info *drw; |
54 | drm_i915_sarea_t *sarea_priv = dev_priv->sarea_priv; | 54 | drm_i915_sarea_t *sarea_priv = dev_priv->sarea_priv; |
55 | u32 cpp = dev_priv->cpp; | 55 | u32 cpp = dev_priv->cpp; |
56 | u32 cmd = (cpp == 4) ? (XY_SRC_COPY_BLT_CMD | | 56 | u32 cmd = (cpp == 4) ? (XY_SRC_COPY_BLT_CMD | |
@@ -95,7 +95,7 @@ static void i915_vblank_tasklet(drm_device_t *dev) | |||
95 | list_for_each(hit, &hits) { | 95 | list_for_each(hit, &hits) { |
96 | drm_i915_vbl_swap_t *swap_cmp = | 96 | drm_i915_vbl_swap_t *swap_cmp = |
97 | list_entry(hit, drm_i915_vbl_swap_t, head); | 97 | list_entry(hit, drm_i915_vbl_swap_t, head); |
98 | drm_drawable_info_t *drw_cmp = | 98 | struct drm_drawable_info *drw_cmp = |
99 | drm_get_drawable_info(dev, swap_cmp->drw_id); | 99 | drm_get_drawable_info(dev, swap_cmp->drw_id); |
100 | 100 | ||
101 | if (drw_cmp && | 101 | if (drw_cmp && |
@@ -160,7 +160,7 @@ static void i915_vblank_tasklet(drm_device_t *dev) | |||
160 | list_for_each(hit, &hits) { | 160 | list_for_each(hit, &hits) { |
161 | drm_i915_vbl_swap_t *swap_hit = | 161 | drm_i915_vbl_swap_t *swap_hit = |
162 | list_entry(hit, drm_i915_vbl_swap_t, head); | 162 | list_entry(hit, drm_i915_vbl_swap_t, head); |
163 | drm_clip_rect_t *rect; | 163 | struct drm_clip_rect *rect; |
164 | int num_rects, pipe; | 164 | int num_rects, pipe; |
165 | unsigned short top, bottom; | 165 | unsigned short top, bottom; |
166 | 166 | ||