Skip to content
Commit 363541e8 authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: dc: Remove redundant spinlock



The spinlock is only used to serialize accesses to the DC_CMD_INT_MASK
register. However, this register is accesses either with interrupts
masked (in tegra_crtc_atomic_enable()) or protected by the vbl_lock and
vblank_time_lock spinlocks of the DRM device. Therefore, these accesses
don't need any extra serialization and the lock can be removed.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 1087fac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment