aboutsummaryrefslogtreecommitdiff
path: root/shared-core/i915_drm.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-02-22 00:12:39 -0500
committerKristian Høgsberg <krh@redhat.com>2008-02-22 00:12:39 -0500
commitb0fee67a305cf37cf2a71d6c3753fba825400b71 (patch)
treee4bf93b4a900279c7c38553ea828e4db73127637 /shared-core/i915_drm.h
parent32c67922b722e375268789600cd89b80749e7a71 (diff)
i915: Remove leading underscore from struct tags.
This matches the changes in mesa to use the system drm includes for the definitions of the drm ioctl structs.
Diffstat (limited to 'shared-core/i915_drm.h')
-rw-r--r--shared-core/i915_drm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h
index 3dcb6278..b93df670 100644
--- a/shared-core/i915_drm.h
+++ b/shared-core/i915_drm.h
@@ -69,7 +69,7 @@ typedef struct _drm_i915_init {
unsigned int sarea_handle;
} drm_i915_init_t;
-typedef struct _drm_i915_sarea {
+typedef struct drm_i915_sarea {
struct drm_tex_region texList[I915_NR_TEX_REGIONS + 1];
int last_upload; /* last time texture was uploaded */
int last_enqueue; /* last time a buffer was enqueued */
@@ -211,7 +211,7 @@ typedef struct drm_i915_flip {
/* Allow drivers to submit batchbuffers directly to hardware, relying
* on the security mechanisms provided by hardware.
*/
-typedef struct _drm_i915_batchbuffer {
+typedef struct drm_i915_batchbuffer {
int start; /* agp offset */
int used; /* nr bytes in use */
int DR1; /* hw flags for GFX_OP_DRAWRECT_INFO */
@@ -375,7 +375,7 @@ struct drm_i915_op_arg {
struct drm_i915_execbuffer {
uint64_t ops_list;
uint32_t num_buffers;
- struct _drm_i915_batchbuffer batch;
+ struct drm_i915_batchbuffer batch;
drm_context_t context; /* for lockless use in the future */
struct drm_fence_arg fence_arg;
};