From: Maarten Lankhorst Date: Thu, 27 Jun 2013 11:48:19 +0000 (+0200) Subject: drm/ttm: convert to the reservation api X-Git-Tag: v3.11-rc1~65^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e338405119a80aa59e811626739122d1c15045d;p=pandora-kernel.git drm/ttm: convert to the reservation api Now that the code is compatible in semantics, flip the switch. Use ww_mutex instead of the homegrown implementation. ww_mutex uses -EDEADLK to signal that the caller has to back off, and -EALREADY to indicate this buffer is already held by the caller. ttm used -EAGAIN and -EDEADLK for those, respectively. So some changes were needed to handle this correctly. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse Signed-off-by: Dave Airlie --- Reading git-diff-tree failed