diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-15 12:32:57 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 06:54:42 (GMT) |
commit | e0a2aa5b3d1a26969ba906447c816d44c018969d (patch) | |
tree | 6e0044f26982c0df41e52e339c8571f39ae47232 /include/video/omapdss.h | |
parent | 5558db3fdd52e3928d5eaabe363e1576dc5fe473 (diff) | |
download | linux-fsl-qoriq-e0a2aa5b3d1a26969ba906447c816d44c018969d.tar.xz |
OMAPDSS: APPLY: add missing uses of spinlock
The functions in apply.c, called mostly via function pointers in overlay
and overlay_manager structs, will be divided into two groups. The other
group will not sleep and can be called from interrupts, and the other
group may sleep.
The idea is that the non-sleeping functions may only change certain
settings in overlays and managers, and those settings may only affect
the particular overlay/manager. For example, set the base address of the
overlay.
The blocking functions, however, will handle more complex configuration
changes. For example, when an overlay is enabled and fifo-merge feature
is used, we need to do the enable in multiple steps, waiting in between,
and the change affects multiple overlays and managers.
apply.c already contains a spinlock, which has been used to protect
(badly) the dss_data. This patch adds locks/unlocks of the spinlock to
the missing places, and the lock should now properly protect dss_data.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
0 files changed, 0 insertions, 0 deletions