diff options
author | Daniel Vetter <[email protected]> | 2020-10-07 15:30:35 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2020-10-08 11:29:33 +0200 |
commit | a76fa3540fc33de4718b386aea37ed4a7236d253 (patch) | |
tree | 6192addbe3e42dec62715eaf41d2cb9e41d6dd7d /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 5a3884320a5753395e7167a74f4be257d490a578 (diff) |
drm/fb-helper: Add locking to sysrq handling
We didn't take the kernel_fb_helper_lock mutex, which protects that
code. While at it, simplify the code
- inline the function (originally shared with kgdb I think)
- drop the error tracking and all the complications
- drop the pointless early out, it served nothing
Acked-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions