agp/uninorth: Fix lockups with radeon KMS and >1x.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 19 May 2011 14:08:39 +0000 (16:08 +0200)
committerDave Airlie <airlied@gmail.com>
Sun, 22 May 2011 10:23:09 +0000 (20:23 +1000)
commit5613beb46d54da6ef7f1c4589e9f2e60eeb10721
treecaba4c382e8bb839fc527ff477836ef6aef7998f
parent2307790f0c8dea7d8052805a8209fbd67e815e72
agp/uninorth: Fix lockups with radeon KMS and >1x.

This was based on a description by Ben Herrenschmidt:

> I've removed that SBA reset from the normal TLB invalidation path and
> left it only once after turning AGP on.

About six months ago, he said:

> I did it a bit differently, but yeah, you get the idea. I'm doing a
> patch series so don't bother pushing things too hard yet.

But I haven't seen anything from him about this since then, and people are
regularly hitting these lockups, so here we are...

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/char/agp/uninorth-agp.c