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

Commit 8da9479b authored by Rajesh Kemisetti's avatar Rajesh Kemisetti Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Attach mem_entry once we have valid GPU address



kgsl_mem_entry_attach_process() adds new entry to the mem_idr list
without really having a valid GPU address.

This new entry can be used by other thread with GPUADDR_IN_MEMDESC()
and destroy it.

Get GPU address first and then add it to the mem_idr list.

Change-Id: I4d66cec754ca5315df3c9fe09644f55596c3c33c
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
parent 359d85b4
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