From: Thomas Hellstrom Date: Sun, 6 Dec 2009 20:46:25 +0000 (+0100) Subject: drm/ttm: Add ttm lock functionality. X-Git-Tag: v2.6.33-rc1~323^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aff1013f5e4ae08a24155c029a2c5e1a7929de6;p=pandora-kernel.git drm/ttm: Add ttm lock functionality. This is intended to be used by ttm-aware drivers to 1) Block clients to inactive masters when they try to validate buffers for GPU use. 2) Optionally block clients to the current master when there is thrashing due to GPU memory shortage. Used by the vmwgfx driver. Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed