drm/radeon: take exclusive_lock in read mode during ring tests, v5
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 27 Aug 2014 20:45:18 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2014 21:41:56 +0000 (17:41 -0400)
commit9bb39ff43e15e85bc1bd9bbbdc5b9cef7a670fd5
tree371366b3bd997316c7e6a5508e0cf0b8f96bcb5d
parenteb98c709907c7a78b9cd0d18642477d47d348f9f
drm/radeon: take exclusive_lock in read mode during ring tests, v5

This is needed for the next commit, because the lockup detection
will need the read lock to run.

v4 (chk): split out forced fence completion, remove unrelated changes,
          add and handle in_reset flag
v5 (agd5f): rebase fix

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_display.c