diff options
author | Lajos Molnar <molnar@ti.com> | 2011-08-12 20:03:05 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-08-17 11:59:02 -0700 |
commit | f1b02cbfd498bab3a1cf38f7d872a77ca89c9c94 (patch) | |
tree | 3105c9249205ddbea767479583a86b720f35d34e /drivers/video/omap2/dsscomp/dsscomp.h | |
parent | 1e399ff39999260e59ac088eccb4e9f78b05db08 (diff) | |
download | kernel_samsung_tuna-f1b02cbfd498bab3a1cf38f7d872a77ca89c9c94.zip kernel_samsung_tuna-f1b02cbfd498bab3a1cf38f7d872a77ca89c9c94.tar.gz kernel_samsung_tuna-f1b02cbfd498bab3a1cf38f7d872a77ca89c9c94.tar.bz2 |
OMAP:DSSCOMP: Blank manager before turning off its display
Flush displayed content by blanking the manager of the display
to be turned off. Otherwise, we will be waiting for VSYNC on
that display indefinitely to release the queued frames.
Change-Id: I2a2b85e58f5373d968083dd47505e8285aa6b4fa
Signed-off-by: Lajos Molnar <molnar@ti.com>
Diffstat (limited to 'drivers/video/omap2/dsscomp/dsscomp.h')
-rw-r--r-- | drivers/video/omap2/dsscomp/dsscomp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dsscomp/dsscomp.h b/drivers/video/omap2/dsscomp/dsscomp.h index 6deeda0..82e50cd 100644 --- a/drivers/video/omap2/dsscomp/dsscomp.h +++ b/drivers/video/omap2/dsscomp/dsscomp.h @@ -59,6 +59,7 @@ struct dsscomp_dev { struct omap_overlay_manager *mgrs[MAX_MANAGERS]; u32 num_displays; struct omap_dss_device *displays[MAX_DISPLAYS]; + struct notifier_block state_notifiers[MAX_DISPLAYS]; }; extern int debug; @@ -112,6 +113,8 @@ void dsscomp_gralloc_exit(void); int dsscomp_gralloc_queue_ioctl(struct dsscomp_setup_dispc_data *d); int dsscomp_wait(struct dsscomp_sync_obj *sync, enum dsscomp_wait_phase phase, int timeout); +int dsscomp_state_notifier(struct notifier_block *nb, + unsigned long arg, void *ptr); /* basic operation - if not using queues */ int set_dss_ovl_info(struct dss2_ovl_info *oi); |