summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-11-11 10:04:53 +0100
committerDave Airlie <airlied@redhat.com>2010-11-18 15:00:42 +1000
commit95ccb0f3bdc4438bf470c25450e6a8a6090ca253 (patch)
treea4a55496a9483ddf43d8bd72c149341536628874 /drivers/gpu/drm/radeon/radeon_asic.h
parent9a03d3487abe89e3650bb2533c5d909143955499 (diff)
drm/ttm: Fix up a theoretical deadlock
A process suspended waiting for a higher sequence or no sequence to unreserve, a bo may be beaten to the reservation by a process with a lower sequence. In that case the first process should give up trying to reserve and return -EAGAIN. In order for that to happen, we must wake waiting processes when we change sequence, so that they have a chance to detect the new sequence. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
0 files changed, 0 insertions, 0 deletions