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

Skip to content
Commit 117cb25b authored by Harsh Sahu's avatar Harsh Sahu Committed by Narendra Muppalla
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>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 87ef03a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment