diff options
author | Jimmy Rubin <jimmy.rubin@stericsson.com> | 2011-01-11 10:07:34 +0100 |
---|---|---|
committer | Henrik Öhman <henrik.ohman@stericsson.com> | 2011-03-09 09:32:26 +0100 |
commit | 610e8f4969640cd093d004afd9c3e7cf6d298d5f (patch) | |
tree | 22445179cc81e987bd8891c608369ceb5deda70b /include | |
parent | 056670f1e6dd5a24d3941adaae368bc033f07318 (diff) |
video: mcde: Fix for blanking
Only perform an update if power mode is different from OFF.
Changes behaviour of dss_disable_display and dss_enable_display.
chnl_get and chnl_put is only performed for open and close channel.
Adds chnl_enable and chnl_disable to handle blanking usecase.
ST-Ericsson ID: ER 318764
Change-Id: Ib7b52b75cd9aa4318e0dff34dee97539084da745
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12110
Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com>
Reviewed-by: QATOOLS
Diffstat (limited to 'include')
-rw-r--r-- | include/video/mcde.h | 3 | ||||
-rw-r--r-- | include/video/mcde_dss.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h index 729342722eb..70d71d2b53d 100644 --- a/include/video/mcde.h +++ b/include/video/mcde.h @@ -320,6 +320,9 @@ void mcde_chnl_put(struct mcde_chnl_state *chnl); void mcde_chnl_stop_flow(struct mcde_chnl_state *chnl); +void mcde_chnl_enable(struct mcde_chnl_state *chnl); +void mcde_chnl_disable(struct mcde_chnl_state *chnl); + /* MCDE overlay */ struct mcde_ovly_state; diff --git a/include/video/mcde_dss.h b/include/video/mcde_dss.h index a32b2dfdeba..6a149a5dee6 100644 --- a/include/video/mcde_dss.h +++ b/include/video/mcde_dss.h @@ -18,7 +18,8 @@ #include "mcde_display.h" /* Public MCDE dss (Used by MCDE fb ioctl & MCDE display sysfs) */ - +int mcde_dss_open_channel(struct mcde_display_device *ddev); +void mcde_dss_close_channel(struct mcde_display_device *ddev); int mcde_dss_enable_display(struct mcde_display_device *ddev); void mcde_dss_disable_display(struct mcde_display_device *ddev); int mcde_dss_apply_channel(struct mcde_display_device *ddev); |