drm/vmwgfx: Use a per-device semaphore for reservation protection
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Feb 2014 11:34:51 +0000 (12:34 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:02 +0000 (14:19 +0100)
Don't use a per-master semaphore (ttm lock) for reservation protection, but
rather a per-device semaphore. This is needed since clients connecting using
render nodes aren't master aware.

The ttm lock used should probably be replaced with a reader-write semaphore
once the function down_xx_interruptible() is available.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>

No differences found