Re: [PATCH]: radeonfb: Fix copyarea for R300 and later.

Benjamin Herrenschmidt
2008-08-07T06:31:12Z

>
> + /* Ensure the dst cache is flushed and the engine idle before
> + * issuing the operation.
> + *
> + * This works around engine lockups on some cards
> + */
> + OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL);
> + OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE));
> +
> radeon_fifo_wait(2);

Typo in the patch, missing radeon_fifo_wait before the cache flush.

Fixed version on it's way, sorry.

Cheers,
Ben.