Skip to contentSkip to conversation

direct I/O instruction access to graphics register is sync with CPU?

DISCUSSION Westermann Fu 1 participant 1 message Feb 11, 2010

lore
Share & tools
lore
#0 lore raw

Hi, friends:

Sorry for my stupid question but I think right here can help me.

As I know, DMA/CommandParser or no matter what you call can provide asynchronous execuation of graphics commands with CPU execution, and the direct I/O of course is synchronous with instructions executed on CPU, but what is here 'synchronous' means? I take an example of direct I/O triangle setting for 3D engine to render triangle as the below piece of code:

/*
** set graphics contexts
*/

/*
** using direct I/O to write 3 vertex data to 3D engine ** register
for rendering a triangle
*/

movl vertex_data1,  VP_register
movl vertex_data2,  VP_register
movl vertex_data3,  VP_register

does 'synchronous' mean CPU won't finish the last one mov instruction until the 3D engine finish rendering this triangle? Or whatever other meaning? Thanks very much.

Regards

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel