From: Thomas Hellstrom Date: Thu, 27 Feb 2014 11:34:51 +0000 (+0100) Subject: drm/vmwgfx: Use a per-device semaphore for reservation protection X-Git-Tag: v3.15-rc1~51^2~25^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=294adf7d86226c0e6abeb4475159b03aa315d56f;p=pandora-kernel.git drm/vmwgfx: Use a per-device semaphore for reservation protection 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 Reviewed-by: Brian Paul --- Reading git-diff-tree failed