drm/ttm: Add a barrier when unreserving
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 29 Oct 2010 08:46:48 +0000 (10:46 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Nov 2010 03:33:49 +0000 (13:33 +1000)
commit06fba6d4168069d818593e2fcc2d4bd0f888e97b
tree25f0d1338da8942ef54b8ab926a48c1789317eee
parentdbc4a5b83585e89a6bce650d32426f61c8d4bca5
drm/ttm: Add a barrier when unreserving

Since we're doing this outside of a spinlock to provide the necessary
barriers, add an explicit barrier.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c