drm/radeon/prime: reserve/unreserve around pin
authorDave Airlie <airlied@redhat.com>
Tue, 12 Jun 2012 15:10:39 +0000 (16:10 +0100)
committerDave Airlie <airlied@redhat.com>
Sat, 16 Jun 2012 10:14:05 +0000 (11:14 +0100)
commit489797d510dfbce15120492d7ef6f956928b99f2
tree23311f729e80b41a0e5352f39254ddeb628b68f4
parent0ec0612a80f957000999c3f7b31a84e3558c719d
drm/radeon/prime: reserve/unreserve around pin

I finally got to test this code a bit more and hit the ttm
no reserved assert, so add the reservations around the pinning.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_prime.c