Search
lxdream.org :: lxdream/src/pvr2/tacore.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/tacore.c
changeset 305:1191085c5988
prev215:f432833e8303
next340:5ae1c80a68fb
author nkeynes
date Thu Jan 18 11:14:01 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Rearrange asic cascade events
file annotate diff log raw
1.1 --- a/src/pvr2/tacore.c Fri Aug 18 12:43:24 2006 +0000
1.2 +++ b/src/pvr2/tacore.c Thu Jan 18 11:14:01 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
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.7 *
1.8 * PVR2 Tile Accelerator implementation
1.9 *
1.10 @@ -327,7 +327,6 @@
1.11 }
1.12
1.13 static void ta_bad_input_error() {
1.14 - asic_event( EVENT_TA_ERROR );
1.15 asic_event( EVENT_PVR_BAD_INPUT );
1.16 }
1.17
1.18 @@ -347,7 +346,6 @@
1.19 for( rv=0; rv < length; rv++ ) {
1.20 if( posn == end ) {
1.21 asic_event( EVENT_PVR_PRIM_ALLOC_FAIL );
1.22 - asic_event( EVENT_TA_ERROR );
1.23 // ta_status.state = STATE_ERROR;
1.24 break;
1.25 }
1.26 @@ -383,7 +381,6 @@
1.27 return TA_NO_ALLOC;
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.33 } else {
1.34 @@ -402,7 +399,6 @@
1.35 return TA_NO_ALLOC;
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 );
1.41 } else {
.