diff options
| author | Kalyan Thota <kalyant@codeaurora.org> | 2015-11-19 20:41:24 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:48:04 -0700 |
| commit | 87345f4cdeb15fe0f6851e4b76cab5dea021d2ec (patch) | |
| tree | e045a07b7de91699f4d0e709938a4a02f9e38ef1 /include/linux/input | |
| parent | dfe5ee688c976df4714b01f42543480873db15f9 (diff) | |
msm: mdss: use DMA_BIDIRECTIONAL for 8937
Simultaneous buffer maps with read and write permissions are
possible due to the asynchronous nature of MDSS driver.
Client stages the same buffer on MDP & ROTATOR. It calls the map
API for both at the same time. Due to concurrency, the source buffer
is mapped by MDP before and is ref-counted. ROTATOR API called later never
updates the permission which is required for dst buffer.
This leads to permission fault. Requesting the map with DMA_BIDIRECTIONAL
flag to fix the issue.
Change-Id: Ieb819820b19d163fee541dd571c5a58dc78be7d3
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
[cip@codeaurora.org: Resolved merge conflict]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
