1.1 --- a/src/pvr2/tacore.c Fri Aug 18 12:43:24 2006 +0000
1.2 +++ b/src/pvr2/tacore.c Mon Jan 22 11:45:37 2007 +0000
1.5 - * $Id: tacore.c,v 1.9 2006-08-18 12:43:24 nkeynes Exp $
1.6 + * $Id: tacore.c,v 1.10 2007-01-18 11:14:01 nkeynes Exp $
1.8 * PVR2 Tile Accelerator implementation
1.13 static void ta_bad_input_error() {
1.14 - asic_event( EVENT_TA_ERROR );
1.15 asic_event( EVENT_PVR_BAD_INPUT );
1.19 for( rv=0; rv < length; rv++ ) {
1.21 asic_event( EVENT_PVR_PRIM_ALLOC_FAIL );
1.22 - asic_event( EVENT_TA_ERROR );
1.23 // ta_status.state = STATE_ERROR;
1.28 } else if( newposn <= limit ) {
1.29 } else if( newposn <= (limit + ta_status.tilelist_size) ) {
1.30 - asic_event( EVENT_TA_ERROR );
1.31 asic_event( EVENT_PVR_MATRIX_ALLOC_FAIL );
1.32 MMIO_WRITE( PVR2, TA_LISTPOS, newposn );
1.36 } else if( newposn >= limit ) {
1.37 } else if( newposn >= (limit - ta_status.tilelist_size) ) {
1.38 - asic_event( EVENT_TA_ERROR );
1.39 asic_event( EVENT_PVR_MATRIX_ALLOC_FAIL );
1.40 MMIO_WRITE( PVR2, TA_LISTPOS, newposn );