diff options
| author | Lukas Wunner <[email protected]> | 2015-08-23 21:23:02 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-10-02 08:21:13 +0000 |
| commit | 8f12a3118f554d2a38cc2c0ea17443d8b041b17f (patch) | |
| tree | c2058c2b7968afbd140ad49fe8f6e33c93a3df9a /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | vgaarb: use kzalloc in vga_arbiter_add_pci_device() (diff) | |
| download | kernel-8f12a3118f554d2a38cc2c0ea17443d8b041b17f.tar.gz kernel-8f12a3118f554d2a38cc2c0ea17443d8b041b17f.zip | |
vga_switcheroo: Add missing locking
The following functions iterate over the client list, invoke client
callbacks or invoke handler callbacks without locking anything at all:
- Introduced by c8e9cf7bb240 ("vga_switcheroo: Add a helper function to
get the client state"):
vga_switcheroo_get_client_state()
- Introduced by 0d69704ae348 ("gpu/vga_switcheroo: add driver control
power feature. (v3)"):
vga_switcheroo_set_dynamic_switch()
vga_switcheroo_runtime_suspend()
vga_switcheroo_runtime_resume()
vga_switcheroo_runtime_resume_hdmi_audio()
Refactor vga_switcheroo_runtime_resume_hdmi_audio() a bit to be able to
release vgasr_mutex immediately after iterating over the client list.
Signed-off-by: Lukas Wunner <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions
