]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc598f6278d3a4702231c856e841c9f876ad37ffe
tree730fc35b4be10a2757aebb47ac1e6fe8f435d52b
parenta38a673025140a308a8f78ed1a5b60431ca06df8
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