Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f34c884 authored by Harsh Sahu's avatar Harsh Sahu
Browse files

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: default avatarHarsh Sahu <hsahu@codeaurora.org>
parent 11f2cc4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment