Searched hist:"9 fc04b503df9a34ec1a691225445c5b7dfd022e7" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ring.c | diff 9fc04b503df9a34ec1a691225445c5b7dfd022e7 Mon Jan 23 10:52:15 CST 2012 Jerome Glisse <jglisse@redhat.com> drm/radeon: avoid deadlock if GPU lockup is detected in ib_pool_get
If GPU lockup is detected in ib_pool get we are holding the ib_pool mutex that will be needed by the GPU reset code. As ib_pool code is safe to be reentrant from GPU reset code we should not block if we are trying to get the ib pool lock on the behalf of the same userspace caller, thus use the radeon_mutex_lock helper.
Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|
H A D | radeon_device.c | diff 9fc04b503df9a34ec1a691225445c5b7dfd022e7 Mon Jan 23 10:52:15 CST 2012 Jerome Glisse <jglisse@redhat.com> drm/radeon: avoid deadlock if GPU lockup is detected in ib_pool_get
If GPU lockup is detected in ib_pool get we are holding the ib_pool mutex that will be needed by the GPU reset code. As ib_pool code is safe to be reentrant from GPU reset code we should not block if we are trying to get the ib pool lock on the behalf of the same userspace caller, thus use the radeon_mutex_lock helper.
Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|
H A D | radeon.h | diff 9fc04b503df9a34ec1a691225445c5b7dfd022e7 Mon Jan 23 10:52:15 CST 2012 Jerome Glisse <jglisse@redhat.com> drm/radeon: avoid deadlock if GPU lockup is detected in ib_pool_get
If GPU lockup is detected in ib_pool get we are holding the ib_pool mutex that will be needed by the GPU reset code. As ib_pool code is safe to be reentrant from GPU reset code we should not block if we are trying to get the ib pool lock on the behalf of the same userspace caller, thus use the radeon_mutex_lock helper.
Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
|