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

Benjamin Herrenschmidt
2008-08-06T22:09:20Z

On Wed, 2008-08-06 at 14:19 -0700, David Miller wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
> Date: Wed, 6 Aug 2008 08:43:29 -0700
>
> > On Wed, 06 Aug 2008 00:35:36 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> >
> > > [ Andrew/Ben, this fixes the bootup hang we were talking about
> > > the other day. ]
> > >
> > > radeonfb: Fix copyarea for R300 and later.
> > >
> > > For current chips we need to make sure the DSTCACHE_CTLSTAT and
> > > WAIT_UNTIL registers are properly setup. If not, a sequence of
> > > copyarea operations can result in the 2D raster processor
> > > hanging.
> >
> > Neato. This can be backported to -stable without also backporting your
> > recent radeon-misc-corrections.patch, I assume?
>
> Yes, it can.
>
> I discussed the patch with Ben earlier and he wants to add the
> same register writes to the solidfill code as well.

That and the flush code for when we're about to manually hit the fb.

I'll send a patch later today.

Ben.