aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_cmdlist.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-19 10:29:18 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-19 10:29:18 -0700
commit5ba94c2ab8be350fee495e5cfe94afb8f663956a (patch)
tree609018b8c0060e00bd34a6bad37d6926f8de60cb /linux-core/xgi_cmdlist.h
parent8d60bf2f199d57ec45feaab836b31832b9bbabb9 (diff)
Initial pass at converting driver to DRM infrastructure.
Diffstat (limited to 'linux-core/xgi_cmdlist.h')
-rw-r--r--linux-core/xgi_cmdlist.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux-core/xgi_cmdlist.h b/linux-core/xgi_cmdlist.h
index d2b95c0e..4bc56ec1 100644
--- a/linux-core/xgi_cmdlist.h
+++ b/linux-core/xgi_cmdlist.h
@@ -60,16 +60,15 @@ typedef enum {
struct xgi_cmdring_info {
unsigned int _cmdRingSize;
u32 _cmdRingBuffer;
- unsigned long _cmdRingBusAddr;
+ unsigned long _cmdRingAllocOffset;
u32 _lastBatchStartAddr;
u32 _cmdRingOffset;
};
extern int xgi_cmdlist_initialize(struct xgi_info * info, size_t size);
-extern void xgi_submit_cmdlist(struct xgi_info * info, struct xgi_cmd_info * pCmdInfo);
-
-extern void xgi_state_change(struct xgi_info * info, struct xgi_state_info * pStateInfo);
+extern int xgi_state_change(struct xgi_info * info, unsigned int to,
+ unsigned int from);
extern void xgi_cmdlist_cleanup(struct xgi_info * info);