drm/radeon: fix userptr lockup
authorChristian König <christian.koenig@amd.com>
Tue, 5 May 2015 07:52:12 +0000 (09:52 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 May 2015 15:00:15 +0000 (11:00 -0400)
commit247c405098ab731ad9b58971e2cfbab116b54b45
tree730fc35b4be10a2757aebb47ac1e6fe8f435d52b
parentdb12973cd581d4e79f4aadd0960948f268d15af7
drm/radeon: fix userptr lockup

We shouldn't try to reserve and wait for a BO that isn't bound. Otherwise
we can run into a deadlock if we have a fault during binding the BO.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_mn.c