summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-21 20:34:56 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-21 20:34:56 -0700
commit5d6fdd9d7924fde8ce62631e6bdce8d5fe33fc3d (patch)
tree07e4c24aec3dc594abec41f0f2fc41bda570e8f7 /shared-core
parented82d5398a751cf755cf4168cbb79b181facc86f (diff)
Clean up xgi_cmd_info and associated code.
There were numerous unnecessary fields in xgi_cmd_info. The remaining fields had pretty crummy names. Cut out the cruft, and rename the rest. As a result, the unused parameter "triggerCounter" to triggerHWCommandList can be removed.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/xgi_drm.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/shared-core/xgi_drm.h b/shared-core/xgi_drm.h
index 66cb4efb..6f50d4e1 100644
--- a/shared-core/xgi_drm.h
+++ b/shared-core/xgi_drm.h
@@ -85,13 +85,10 @@ enum xgi_batch_type {
};
struct xgi_cmd_info {
- unsigned int _firstBeginType;
- __u32 _firstBeginAddr;
- __u32 _firstSize;
- __u32 _curDebugID;
- __u32 _lastBeginAddr;
- unsigned int _beginCount;
-
+ __u32 type;
+ __u32 hw_addr;
+ __u32 size;
+ __u32 id;
};
struct xgi_state_info {