1.1 --- a/test/dma.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/test/dma.h Fri Feb 24 21:11:58 2012 +1000
1.4 * @return 0 on success, non-zero on failure.
1.6 int pvr_dma_write( unsigned int target, char *buf, int length, int region );
1.9 + * Transfer TA data to the PVR via SORT-DMA.
1.11 + * @param sorttable Start address of the sort table
1.12 + * @param tablelen Size of the sort table (in bytes)
1.13 + * @param data Start address of the TA data (polygons)
1.14 + * @param datalen Size of the polygon data block (in bytes)
1.17 + * @param region Target region for VRAM writes, 0 for 64-byte region, 1 for 32-byte region.
1.19 + * @return 0 on success, non-zero on failure.
1.21 +int sort_dma_write( char *sorttable, int tablelen, char *data, int datalen, int bitwidth, int datasize );
1.23 +int aica_dma_write( uint32_t aica_addr, char *data, uint32_t size );
1.24 +int aica_dma_read( char *data, uint32_t aica_addr, uint32_t size );