diff options
| author | Kuogee Hsieh <khsieh@codeaurora.org> | 2014-03-04 17:31:28 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:28:14 -0700 |
| commit | a281b8d29dbac1e53e5fbd2592c29ee169f59ef5 (patch) | |
| tree | b879f013e165636f2e5f6ed597f3f972661d78f2 /include/linux/ring_buffer.h | |
| parent | 6d013eb88a7392fb9dca602999a4a15554943a11 (diff) | |
msm: mdss: keep clocks on during kickoff operation
There is deadlock scenario where work thread to turn clocks off is
trying to acquire DSI's mdp_busy lock while holding clk_mtx to turn
mdp clocks on. Meanwhile kickoff thread holds mdp_busy lock and
trying to acquire clk_mtx to turn on clock.
This patch ensure that clocks are kept on and work thread is not
scheduled while kickoff is in progress so that deadlock will not happen.
Change-Id: Iceb5db431a7f9f0e1f56a0e3c1ced2d08d762b86
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Diffstat (limited to 'include/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions
