summaryrefslogtreecommitdiff
path: root/kernel/async.c
diff options
context:
space:
mode:
authorGuchun Chen <guchunc@codeaurora.org>2018-03-09 20:48:57 +0800
committerGuchun Chen <guchunc@codeaurora.org>2018-03-14 11:48:38 +0800
commite453eb66bcda9c6aff4ce2c97e96bcb19587b411 (patch)
tree42c27941d2f60390afad72713e0e58392fefc280 /kernel/async.c
parent1707cb3ff140dec01127669e1c88d5b850f272e4 (diff)
drm: smmu: fix smmu map failure
In concurrency test, smmu map failure appears in a low possibility. This is caused by virtual address conflict. Display driver calls different smmu map APIs to do map with the same domain, while the virtual address allocation happens separately, one in dmp-mapping.c, and another one is in msm_gem_vam.c. This could not gurantee the virtual addresses by different callers are different in the same mmu domain, if they are the same, the virtual address will possibily be mapped twice, hence conflict happens. The change is to fix this: 1. Remove the map calling for early splash buffer from msm_smmu_map. 2. Introduce one new map API early_splash_map/unmap, dedicated for memory mapping for early splash usercase. CRs-Fixed: 2198827 Change-Id: I8e632f1971998a14c362b5bf0ae9a5522a5a1bff Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions