diff options
| author | Krishna Manikandan <mkrishn@codeaurora.org> | 2016-12-28 18:17:03 +0530 |
|---|---|---|
| committer | Krishna Manikandan <mkrishn@codeaurora.org> | 2017-01-02 10:47:37 +0530 |
| commit | 9efdd2ca2348fd9ada5460dcc7083f993cfdfa4d (patch) | |
| tree | fd098d75eb8fb519cdd03b98ca77176b1550eef8 /tools/perf/scripts/python | |
| parent | 42507841e7d4250361000a84603eb63d473d352f (diff) | |
msm: mdss: protect iommu attached status variable with iommu_lock
Commit dd7ad27eb3de6b088b6525b066c40f5a29ac4c60 ("msm: mdss: fix
race condition between iommu attach and sending DCS cmds") protected
the iommu attach/detach to fix possible race condition between the
display thread and DCS cmd sending from ESD or some other thread with
iommu_lock. But this still leaves possibility of race condition based
on iommu_attached status flag.
-> Display thread finishes the attach and releases the iommu lock
-> DCS cmd thread gets the iommu lock and checks iommu_attached
status before display thread could change it.
Protect the iommu_attached status variable along with iommu
attach/detach to avoid such cases.
Change-Id: I42d0ced5cbfd741cf02ad71c80c4f01dde37f647
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
