commit | 2f34c88405ad249acbeb95382aea95e1e5439a05 | [log] [tgz] |
---|---|---|
author | Harsh Sahu <hsahu@codeaurora.org> | Wed Jan 17 16:41:20 2018 -0800 |
committer | Harsh Sahu <hsahu@codeaurora.org> | Tue Jan 30 21:18:13 2018 -0800 |
tree | 3378cbc4602eab19dae65ea3829169e1cacbc599 | |
parent | 11f2cc4d611d6f44471c68d433725bbe7533cd33 [diff] |
drm/msm/gem: move msm_gem cache flush api before copy msm_gem object allocates the memory using kzalloc or vmalloc based on memory size requirement. This is cacheable memory and must be flushed before any cpu access on it. This change moves the sync api before copying the data in the buffer to make sure it has the recent content. Change-Id: Ide39582023862b75dccdeb1461e1abd5f9977f94 Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>