Commit 79c2402ba26e57f4c9fd27f75f8a0324c72c13be

Removed Clipping.  Time-of-effect appears to be "immediate" rather than queued.
  
308308
309309
310310/*
311** These need to be macros so that they can "borrow" the pS3CDEV
311** These need to be macros so that they can "borrow" the pXAA
312312** from the client. Ugly, but it beats a file-global.
313313*/
314314#define read2d_l(reg) __raw_readl(pXAA->g2d + reg)
611611 }
612612}
613613
614/*
615** If it turns out that clipping is queued in the g2d fifo, enable
616** this, but for now, it appears that clipping is immedidate mode only
617*/
618#ifdef CLIPPING_IS_IN_FIFO
614619void s3cSetClippingRectangle ( ScrnInfoPtr pScrn,
615620 int left, int top, int right, int bottom)
616621{
642642
643643}
644644
645#endif
646
645647#ifdef IMAGE_WRITE_NOT_SLOW
646648static void s3cSetupForScanlineImageWrite(ScrnInfoPtr pScrn,
647649 int rop, unsigned int planemask, int trans_color,
717717 __func__, pXAA->imageWriteCount-1, bufno, srcy);
718718
719719 /* This is a bug in XAA. A new image starts at bufno 0 even if
720 ** bufno 0 is still enqueued. By have n-bufs if they can be reused
720 ** bufno 0 is still enqueued. Why have n-bufs if they can be reused
721721 ** prior to pipeline completion. Dumb,
722722 */
723723 //if (bufno == IMAGE_WRITE_LINES - 1) /* don't use 0 again... */
844844 infoPtr->SubsequentSolidTwoPointLine = s3cSubsequentSolidTwoPointLine;
845845 infoPtr->SolidLineFlags = 0;
846846
847/*
848** If it turns out that clipping is queued in the g2d fifo, enable
849** this, but for now, it appears that clipping is immedidate mode only
850*/
851#ifdef CLIPPING_IS_IN_FIFO
847852 /* setup clipping */
848853 infoPtr->ClippingFlags = HARDWARE_CLIP_SCREEN_TO_SCREEN_COLOR_EXPAND|
849854 HARDWARE_CLIP_SCREEN_TO_SCREEN_COPY|
850 HARDWARE_CLIP_SOLID_FILL;
851
852 /* HARDWARE_CLIP_SOLID_LINE g2d does not support line clipping (correctly) */
855 HARDWARE_CLIP_SOLID_FILL|
856 HARDWARE_CLIP_SOLID_LINE;
853857
854 // infoPtr->SetClippingRectangle = s3cSetClippingRectangle;
858 infoPtr->SetClippingRectangle = s3cSetClippingRectangle;
855859 infoPtr->DisableClipping = s3cDisableClipping;
856860
861#endif
857862#ifdef IMAGE_WRITE_NOT_SLOW
858863 /* setup for scanline image writes */
859864 /* XAA makes some unaligned accesses when clipping is not available */