diff options
| author | Justin Philip <jphili@codeaurora.org> | 2013-12-30 18:55:37 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-01-15 21:09:09 -0800 |
| commit | 95d5225d59190a7073138b0f51a1673d84e7589d (patch) | |
| tree | 4bf7d3728db202ffdf7e66b917cc30f1b51483d9 /scripts/gcc-wrapper.py | |
| parent | 02983880ebd8c4c35de72f97d225e6d8232c76cd (diff) | |
msm: mdss: On sharing dma pipe increment pipe ref_cnt
When DMA pipe is being shared and if mdss_mdp_pipe_map is called,
there could be a race condition when the pipe being shared
is unmapped, will lead to map failure as map is used for operations
on pipe which are already having positive ref_cnt.
This can result in potential map failure and attempt to free of
unmapped pipe resulting in crash.
Hence in this scenario of shared pipe usage atomic_inc should
be used instead of mdss_mdp_pipe_map.
CRs-Fixed: 590736
Change-Id: Ibaba20ac96662b5cd8aba3585f10d9cfe6e72d22
Signed-off-by: Justin Philip <jphili@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
