diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-18 05:38:38 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 01:54:52 -0500 |
commit | 9d11c321a84266db2dba82cfb0d9d3bc17c326a8 (patch) | |
tree | 65c203c13fe360675e98d668e1e09be8dbe9a8a0 | |
parent | e70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca (diff) |
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>
-rw-r--r-- | include/video/omapdss.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 98fc0267dd9e..39862b8c9805 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -384,6 +384,17 @@ struct omap_overlay { | |||
384 | /* dynamic fields */ | 384 | /* dynamic fields */ |
385 | struct omap_overlay_manager *manager; | 385 | struct omap_overlay_manager *manager; |
386 | 386 | ||
387 | /* | ||
388 | * The following functions do not block: | ||
389 | * | ||
390 | * is_enabled | ||
391 | * set_overlay_info | ||
392 | * get_overlay_info | ||
393 | * | ||
394 | * The rest of the functions may block and cannot be called from | ||
395 | * interrupt context | ||
396 | */ | ||
397 | |||
387 | int (*enable)(struct omap_overlay *ovl); | 398 | int (*enable)(struct omap_overlay *ovl); |
388 | int (*disable)(struct omap_overlay *ovl); | 399 | int (*disable)(struct omap_overlay *ovl); |
389 | bool (*is_enabled)(struct omap_overlay *ovl); | 400 | bool (*is_enabled)(struct omap_overlay *ovl); |
@@ -426,6 +437,17 @@ struct omap_overlay_manager { | |||
426 | /* dynamic fields */ | 437 | /* dynamic fields */ |
427 | struct omap_dss_device *device; | 438 | struct omap_dss_device *device; |
428 | 439 | ||
440 | /* | ||
441 | * The following functions do not block: | ||
442 | * | ||
443 | * set_manager_info | ||
444 | * get_manager_info | ||
445 | * apply | ||
446 | * | ||
447 | * The rest of the functions may block and cannot be called from | ||
448 | * interrupt context | ||
449 | */ | ||
450 | |||
429 | int (*set_device)(struct omap_overlay_manager *mgr, | 451 | int (*set_device)(struct omap_overlay_manager *mgr, |
430 | struct omap_dss_device *dssdev); | 452 | struct omap_dss_device *dssdev); |
431 | int (*unset_device)(struct omap_overlay_manager *mgr); | 453 | int (*unset_device)(struct omap_overlay_manager *mgr); |