drm/nv50: add a memory barrier to pushbuf submission
authorMaarten Maathuis <madman2003@gmail.com>
Thu, 25 Feb 2010 19:00:38 +0000 (20:00 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Mar 2010 06:07:35 +0000 (16:07 +1000)
commitce48fa93a6f5cadd4141a921dfb4129c8850374e
tree550350594fdae72ff50884c18adc9fbc1377a96e
parent81441570c9cbf453891d90f5725adbbfe5a9cc69
drm/nv50: add a memory barrier to pushbuf submission

- This is useful for vram pushbuffers that are write combined.
- pre-nv50 has one too (in WRITE_PUT).

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.c