summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2012-07-02 12:45:19 -0400
committerChristian König <deathsimple@vodafone.de>2012-07-17 10:32:02 +0200
commitdee53e7fb3ee01b83c75a8e8df8c444049d38058 (patch)
treef9f0a669b4949f9d215759bcbd8f79a08ca1bdfa /ipc
parent93bf888c5c730605e3470f5d2381f296eda88d79 (diff)
downloadlinux-3.10-dee53e7fb3ee01b83c75a8e8df8c444049d38058.tar.gz
linux-3.10-dee53e7fb3ee01b83c75a8e8df8c444049d38058.tar.bz2
linux-3.10-dee53e7fb3ee01b83c75a8e8df8c444049d38058.zip
drm/radeon: add an exclusive lock for GPU reset v2
GPU reset need to be exclusive, one happening at a time. For this add a rw semaphore so that any path that trigger GPU activities have to take the semaphore as a reader thus allowing concurency. The GPU reset path take the semaphore as a writer ensuring that no concurrent reset take place. v2: init rw semaphore Signed-off-by: Jerome Glisse <jglisse@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions