diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-15 10:36:34 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-15 17:22:52 +0300 |
commit | 45c1da501fc5051fb04f579692f5f0a7d3b0ffbe (patch) | |
tree | 67249212bfc52b41057ed2576be0fa19d727d52b /drivers/iio/amplifiers/Kconfig | |
parent | 2fcef6ec87a044221fc3c2f16873f7c02b9ae991 (diff) | |
download | linux-45c1da501fc5051fb04f579692f5f0a7d3b0ffbe.tar.xz |
drm/radeon: Use rdev->gem.mutex to protect hyperz/cmask owners
This removes the last depency of radeon for dev->struct_mutex!
Also the locking scheme for hyperz/cmask owners seems a bit unsound,
there's no protection in the preclose handler (and that never did hold
dev->struct_mutex while being called). So grab the same lock there,
too.
There's also all the checks in the cs checker, but since the overall
design seems to never stall for the previous owner I figured it's ok
if I leave this racy. It was racy even before I touched it after all
too.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/iio/amplifiers/Kconfig')
0 files changed, 0 insertions, 0 deletions