mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
5558db3fdd
The functions in apply.c, called mostly via function pointers in overlay and overlay_manager structs, will be divided into two groups. The first group will not sleep and can be called from interrupts, and the second 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. This patch adds the mutex which is used in the blocking functions to have exclusive access to overlays and overlay managers. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> |
||
---|---|---|
.. | ||
apply.c | ||
core.c | ||
dispc.c | ||
dispc.h | ||
display.c | ||
dpi.c | ||
dsi.c | ||
dss_features.c | ||
dss_features.h | ||
dss.c | ||
dss.h | ||
hdmi_panel.c | ||
hdmi.c | ||
Kconfig | ||
Makefile | ||
manager.c | ||
overlay.c | ||
rfbi.c | ||
sdi.c | ||
ti_hdmi_4xxx_ip.c | ||
ti_hdmi_4xxx_ip.h | ||
ti_hdmi.h | ||
venc.c |