aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-11-18 12:38:38 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 08:54:52 +0200
commit9d11c321a84266db2dba82cfb0d9d3bc17c326a8 (patch)
tree65c203c13fe360675e98d668e1e09be8dbe9a8a0 /include/video
parente70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca (diff)
downloadkernel_goldelico_gta04-9d11c321a84266db2dba82cfb0d9d3bc17c326a8.zip
kernel_goldelico_gta04-9d11c321a84266db2dba82cfb0d9d3bc17c326a8.tar.gz
kernel_goldelico_gta04-9d11c321a84266db2dba82cfb0d9d3bc17c326a8.tar.bz2
OMAPDSS: Add comments about blocking of ovl/mgr functions
Add comments specifying what ovl/mgr functions may block. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 98fc026..39862b8 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -384,6 +384,17 @@ struct omap_overlay {
/* dynamic fields */
struct omap_overlay_manager *manager;
+ /*
+ * The following functions do not block:
+ *
+ * is_enabled
+ * set_overlay_info
+ * get_overlay_info
+ *
+ * The rest of the functions may block and cannot be called from
+ * interrupt context
+ */
+
int (*enable)(struct omap_overlay *ovl);
int (*disable)(struct omap_overlay *ovl);
bool (*is_enabled)(struct omap_overlay *ovl);
@@ -426,6 +437,17 @@ struct omap_overlay_manager {
/* dynamic fields */
struct omap_dss_device *device;
+ /*
+ * The following functions do not block:
+ *
+ * set_manager_info
+ * get_manager_info
+ * apply
+ *
+ * The rest of the functions may block and cannot be called from
+ * interrupt context
+ */
+
int (*set_device)(struct omap_overlay_manager *mgr,
struct omap_dss_device *dssdev);
int (*unset_device)(struct omap_overlay_manager *mgr);