Searched hist:"363541 e8eeed16fdf696252008ddee823730f82c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dc.h | diff 363541e8eeed16fdf696252008ddee823730f82c Thu Dec 14 06:50:19 CST 2017 Thierry Reding <treding@nvidia.com> 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: Thierry Reding <treding@nvidia.com>
|
H A D | dc.c | diff 363541e8eeed16fdf696252008ddee823730f82c Thu Dec 14 06:50:19 CST 2017 Thierry Reding <treding@nvidia.com> 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: Thierry Reding <treding@nvidia.com>
|