diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-12-17 17:04:32 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-12-19 23:44:05 +0100 |
commit | 5f8f635edd8ad5a6416bff4c5ff486500357f473 (patch) | |
tree | 272f2097b857340ba94a0356c4da29dc1dfcedfc /firmware | |
parent | drm/radeon: don't leave fence blocked process on failed GPU reset (diff) | |
download | linux-5f8f635edd8ad5a6416bff4c5ff486500357f473.tar.xz linux-5f8f635edd8ad5a6416bff4c5ff486500357f473.zip |
drm/radeon: avoid deadlock in pm path when waiting for fence
radeon_fence_wait_empty_locked should not trigger GPU reset as no
place where it's call from would benefit from such thing and it
actually lead to a kernel deadlock in case the reset is triggered
from pm codepath. Instead force ring completion in place where it
makes sense or return early in others.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions