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

Skip to content
Commit 312e4b6f authored by Sushmita Susheelendra's avatar Sushmita Susheelendra
Browse files

msm: kgsl: Sync non io-coherent dma buffers on attach to GPU



Sync the dma buffer when it is attached to the GPU device.
This is necessary to make sure any data in the buffer
is flushed to memory at attach time. Skipping it can
lead to coherency problems between CPU and GPU. The sync
can be skipped for IO-coherent DMA buffers.

Change-Id: I06fa54822688b1834e83a4e137c95d1c681300fb
Signed-off-by: default avatarSushmita Susheelendra <ssusheel@codeaurora.org>
parent 4719c01d
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