Clean up generation of begin commands in xgi_submit_cmdlist
authorIan Romanick <idr@us.ibm.com>
Fri, 20 Jul 2007 18:29:16 +0000 (11:29 -0700)
committerIan Romanick <idr@us.ibm.com>
Fri, 20 Jul 2007 18:29:16 +0000 (11:29 -0700)
commit659209cb2d59c7b25df58d130d0649f8f899b693
tree6770e224249daf9f4c7b06e8a92f32b15fcac803
parent6bd848307485f678915913f282e2ea59ae3ca1a8
Clean up generation of begin commands in xgi_submit_cmdlist

Generate the begin command once in a temporary buffer.  Then,
depending on whether the command is to be written directly to the
hardware or to a secondary buffer, copy to command to the correct place.
linux-core/xgi_cmdlist.c
linux-core/xgi_cmdlist.h