diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-02-20 14:01:20 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2018-03-14 14:03:36 +0100 |
commit | 1c85f2fa68a4616f437424b18a229d331c699456 (patch) | |
tree | de3c5897f013cdd12ad9281a1ea92adc5cd38baa /drivers/gpu/drm/vmwgfx | |
parent | drm/rockchip: Do not use memcpy for MMIO addresses (diff) | |
download | linux-1c85f2fa68a4616f437424b18a229d331c699456.tar.xz linux-1c85f2fa68a4616f437424b18a229d331c699456.zip |
drm/rockchip: Don't use spin_lock_irqsave in interrupt context
The rockchip DRM driver is quite careful to disable interrupts
when taking a lock that is also taken in interrupt context,
which is a good thing.
What is a bit over the top is to use spin_lock_irqsave when
already in interrupt context, as you cannot take another
interrupt again, and disabling interrupt is just pure
overhead.
Switching to the non _irqsave version in interrupt context is
more logical, and less heavy handed.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180220130120.5254-4-marc.zyngier@arm.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
0 files changed, 0 insertions, 0 deletions