drm/nv50: use "nv86" tlb flush method on everything except 0x50/0xac
authorBen Skeggs <bskeggs@redhat.com>
Mon, 28 Mar 2011 23:56:14 +0000 (09:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 5 Apr 2011 01:38:02 +0000 (11:38 +1000)
commit2b4cebe4e165b0ef30a138e4cf602538dea15583
tree35dc42629387e7e6922e74b3afb7b31c82aaf139
parentc0929b499f834210561fe5e8c48bcad4f2130d25
drm/nv50: use "nv86" tlb flush method on everything except 0x50/0xac

It has been reported that this greatly improves (and possibly fixes
completely) the stability of NVA3+ chipsets.  In traces of my NVA8,
NVIDIA now appear to be doing this too.

The most recent traces of 0x50 and 0xac I could find don't show NVIDIA
checking PGRAPH status on these flushes, so for now, we won't either.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv50_graph.c