diff options
author | Jerome Glisse <[email protected]> | 2012-07-02 12:45:19 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2012-07-17 10:32:02 +0200 |
commit | dee53e7fb3ee01b83c75a8e8df8c444049d38058 (patch) | |
tree | f9f0a669b4949f9d215759bcbd8f79a08ca1bdfa /net/unix/af_unix.c | |
parent | 93bf888c5c730605e3470f5d2381f296eda88d79 (diff) |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions