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

Skip to content
Commit 5ea56b85 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Avoid register write miss for a fenced register



In adreno_gmu_fenced_write(), it is possible that the register write
is posted after reading the fence status register, which in this case
will return a Success. But the register write may be dropped. We can
avoid this by forcing the order of the read/write operations with a
barrier. Put a memory barrier after the register write to make sure
the write is posted before the register is read.

Change-Id: I7882c3e9d1f7e5182fedafe0b28727f777c7bd7f
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent c153c0af
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