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

Skip to content
Commit 8593410d authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

msm: kgsl: flush cache by virtual address



dmac_flush_range expects the virtual address of the memory to be flushed
but we're passing the physical address. Fix this.

This also fixes the following warning during LPAE builds:

    kernel/drivers/gpu/msm/kgsl_sharedmem.c: In function \
        ‘kgsl_cma_alloc_secure’:
    kernel/drivers/gpu/msm/kgsl_sharedmem.c:940:19: warning: cast to \
        pointer from integer of different size [-Wint-to-pointer-cast]
    error, forbidden warning: kgsl_sharedmem.c:940

Change-Id: I3881ff5d3388bf42476aa9f1e0ff2428e1ef94d7
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent df0a158a
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