linux/drivers/video/omap2/dss
Tomi Valkeinen e0a2aa5b3d 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>
2011-12-02 08:54:42 +02:00
..
apply.c OMAPDSS: APPLY: add missing uses of spinlock 2011-12-02 08:54:42 +02:00
core.c OMAPDSS: create apply.c 2011-12-02 08:54:30 +02:00
dispc.c OMAPDSS: DISPC: Add dispc_mgr_get_vsync_irq() 2011-12-02 08:54:36 +02:00
dispc.h OMAPDSS: DISPC: VIDEO3 pipeline support 2011-10-03 16:51:54 +03:00
display.c OMAP: DSS2: Create an enum for DSI pixel formats 2011-09-30 16:16:29 +03:00
dpi.c OMAPDSS: hide manager's enable/disable() 2011-12-02 08:54:31 +02:00
dsi.c OMAPDSS: hide manager's enable/disable() 2011-12-02 08:54:31 +02:00
dss_features.c OMAPDSS: DISPC: VIDEO3 pipeline support 2011-10-03 16:51:54 +03:00
dss_features.h OMAPDSS: DISPC: VIDEO3 pipeline support 2011-10-03 16:51:54 +03:00
dss.c video: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/video 2011-10-31 19:31:33 -04:00
dss.h OMAPDSS: remove ovl/mgr check-code temporarily 2011-12-02 08:54:40 +02:00
hdmi_panel.c OMAP: DSS2: HDMI: implement detect() 2011-09-30 16:16:47 +03:00
hdmi.c OMAPDSS: hide manager's enable/disable() 2011-12-02 08:54:31 +02:00
Kconfig OMAP: DSS2: Remove "EXPERIMENTAL" from Kconfig 2011-09-30 16:16:19 +03:00
Makefile OMAPDSS: create apply.c 2011-12-02 08:54:30 +02:00
manager.c OMAPDSS: remove ovl/mgr check-code temporarily 2011-12-02 08:54:40 +02:00
overlay.c OMAPDSS: remove ovl/mgr check-code temporarily 2011-12-02 08:54:40 +02:00
rfbi.c OMAPDSS: remove partial update from the overlay manager 2011-12-02 08:54:23 +02:00
sdi.c OMAPDSS: hide manager's enable/disable() 2011-12-02 08:54:31 +02:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: Add support to dump registers through debugfs 2011-09-30 16:17:32 +03:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: Add missing register definitions 2011-09-30 16:17:31 +03:00
ti_hdmi.h OMAPDSS: HDMI: Add support to dump registers through debugfs 2011-09-30 16:17:32 +03:00
venc.c OMAPDSS: hide manager's enable/disable() 2011-12-02 08:54:31 +02:00