diff options
Diffstat (limited to 'drivers/char/drm/i915_drm.h')
-rw-r--r-- | drivers/char/drm/i915_drm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/i915_drm.h b/drivers/char/drm/i915_drm.h index 7b7b68b96f31..05c66cf03a9e 100644 --- a/drivers/char/drm/i915_drm.h +++ b/drivers/char/drm/i915_drm.h | |||
@@ -64,7 +64,7 @@ typedef struct _drm_i915_init { | |||
64 | } drm_i915_init_t; | 64 | } drm_i915_init_t; |
65 | 65 | ||
66 | typedef struct _drm_i915_sarea { | 66 | typedef struct _drm_i915_sarea { |
67 | drm_tex_region_t texList[I915_NR_TEX_REGIONS + 1]; | 67 | struct drm_tex_region texList[I915_NR_TEX_REGIONS + 1]; |
68 | int last_upload; /* last time texture was uploaded */ | 68 | int last_upload; /* last time texture was uploaded */ |
69 | int last_enqueue; /* last time a buffer was enqueued */ | 69 | int last_enqueue; /* last time a buffer was enqueued */ |
70 | int last_dispatch; /* age of the most recently dispatched buffer */ | 70 | int last_dispatch; /* age of the most recently dispatched buffer */ |
@@ -170,7 +170,7 @@ typedef struct _drm_i915_batchbuffer { | |||
170 | int DR1; /* hw flags for GFX_OP_DRAWRECT_INFO */ | 170 | int DR1; /* hw flags for GFX_OP_DRAWRECT_INFO */ |
171 | int DR4; /* window origin for GFX_OP_DRAWRECT_INFO */ | 171 | int DR4; /* window origin for GFX_OP_DRAWRECT_INFO */ |
172 | int num_cliprects; /* mulitpass with multiple cliprects? */ | 172 | int num_cliprects; /* mulitpass with multiple cliprects? */ |
173 | drm_clip_rect_t __user *cliprects; /* pointer to userspace cliprects */ | 173 | struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ |
174 | } drm_i915_batchbuffer_t; | 174 | } drm_i915_batchbuffer_t; |
175 | 175 | ||
176 | /* As above, but pass a pointer to userspace buffer which can be | 176 | /* As above, but pass a pointer to userspace buffer which can be |
@@ -182,7 +182,7 @@ typedef struct _drm_i915_cmdbuffer { | |||
182 | int DR1; /* hw flags for GFX_OP_DRAWRECT_INFO */ | 182 | int DR1; /* hw flags for GFX_OP_DRAWRECT_INFO */ |
183 | int DR4; /* window origin for GFX_OP_DRAWRECT_INFO */ | 183 | int DR4; /* window origin for GFX_OP_DRAWRECT_INFO */ |
184 | int num_cliprects; /* mulitpass with multiple cliprects? */ | 184 | int num_cliprects; /* mulitpass with multiple cliprects? */ |
185 | drm_clip_rect_t __user *cliprects; /* pointer to userspace cliprects */ | 185 | struct drm_clip_rect __user *cliprects; /* pointer to userspace cliprects */ |
186 | } drm_i915_cmdbuffer_t; | 186 | } drm_i915_cmdbuffer_t; |
187 | 187 | ||
188 | /* Userspace can request & wait on irq's: | 188 | /* Userspace can request & wait on irq's: |
@@ -259,7 +259,7 @@ typedef struct drm_i915_vblank_pipe { | |||
259 | */ | 259 | */ |
260 | typedef struct drm_i915_vblank_swap { | 260 | typedef struct drm_i915_vblank_swap { |
261 | drm_drawable_t drawable; | 261 | drm_drawable_t drawable; |
262 | drm_vblank_seq_type_t seqtype; | 262 | enum drm_vblank_seq_type seqtype; |
263 | unsigned int sequence; | 263 | unsigned int sequence; |
264 | } drm_i915_vblank_swap_t; | 264 | } drm_i915_vblank_swap_t; |
265 | 265 | ||