summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJimmy Rubin <jimmy.rubin@stericsson.com>2011-05-12 10:37:18 +0200
committerPhilippe Langlais <philippe.langlais@linaro.org>2011-07-22 15:47:47 +0200
commit6742dc271445d7ff2d75d4386a483665b5863adb (patch)
treeda670302b91e04b8d30a44ea2c9e0afca8868b1a /include
parent1dbb72b539ad3bf7be42743e9794e026089f5ca0 (diff)
video: mcde: Add mutex in dss
The display device has to be protected by mutexes on DSS level. The framebuffer device and the dispdev both uses dss at the same time. ST-Ericsson ID: 338979 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I10065488130a5c5400b4463ddffd71c3a7586f12 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22956 Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/mcde_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/mcde_display.h b/include/video/mcde_display.h
index 524e62904fc..059d4a7e609 100644
--- a/include/video/mcde_display.h
+++ b/include/video/mcde_display.h
@@ -36,6 +36,7 @@ struct mcde_display_device {
enum mcde_chnl chnl_id;
enum mcde_fifo fifo;
bool first_update;
+ struct mutex display_lock;
bool enabled;
struct mcde_chnl_state *chnl_state;