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>
This commit is contained in:
Tomi Valkeinen 2011-11-18 12:38:38 +02:00
parent e70f98acaa
commit 9d11c321a8
1 changed files with 22 additions and 0 deletions

View File

@ -384,6 +384,17 @@ struct omap_overlay {
/* dynamic fields */ /* dynamic fields */
struct omap_overlay_manager *manager; 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 (*enable)(struct omap_overlay *ovl);
int (*disable)(struct omap_overlay *ovl); int (*disable)(struct omap_overlay *ovl);
bool (*is_enabled)(struct omap_overlay *ovl); bool (*is_enabled)(struct omap_overlay *ovl);
@ -426,6 +437,17 @@ struct omap_overlay_manager {
/* dynamic fields */ /* dynamic fields */
struct omap_dss_device *device; 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, int (*set_device)(struct omap_overlay_manager *mgr,
struct omap_dss_device *dssdev); struct omap_dss_device *dssdev);
int (*unset_device)(struct omap_overlay_manager *mgr); int (*unset_device)(struct omap_overlay_manager *mgr);