]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/nv50-nvc0: prevent multiple vm/bar flushes occuring simultanenously
authorBen Skeggs <bskeggs@redhat.com>
Mon, 7 Mar 2011 07:18:04 +0000 (17:18 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Mar 2011 21:03:08 +0000 (07:03 +1000)
commit6f70a4c3d19e8e8e1047a4dbf0ca910fed39f619
tree53d45ab91ea31167710904f242b2dbdd33b1dc42
parentef1b287169cd3d1e428c8ed8222e0bbf733d5dbb
drm/nv50-nvc0: prevent multiple vm/bar flushes occuring simultanenously

The per-vm mutex doesn't prevent this completely, a flush coming from the
BAR VM could potentially happen at the same time as one for the channel
VM.  Not to mention that if/when we get per-client/channel VM, this will
happen far more frequently.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nv50_instmem.c
drivers/gpu/drm/nouveau/nv50_vm.c