diff options
| author | Daniel Vetter <[email protected]> | 2015-10-02 11:01:02 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-11-24 10:47:47 +0000 |
| commit | a48a62bc9226e731e2284afb1c782869a413e1b2 (patch) | |
| tree | d56b382176f5423b552a711016430893abf76fe1 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm: Print the src/dst/clip rectangles in error in drm_plane_helper (diff) | |
| download | kernel-a48a62bc9226e731e2284afb1c782869a413e1b2.tar.gz kernel-a48a62bc9226e731e2284afb1c782869a413e1b2.zip | |
drm/sysfs: Grab lock for edid/modes_show
We chase pointers/lists without taking the locks protecting them,
which isn't that good.
Fix it.
v2: Actually unlock properly, spotted by Julia.
v3: Put the label _before_ the mutex_unlock (Emil)
Cc: Emil Velikov <[email protected]>
Cc: Julia Lawall <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
