drm/vmwgfx: Take the ttm lock around the dirty ioctl
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Oct 2010 10:43:03 +0000 (12:43 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:29:48 +0000 (11:29 +1000)
This makes sure noone accesses the fifo while it's taken down using the
dirty ioctl.
Also make sure all workqueues are idled before the fifo is taken down.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found