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

Commit 2ab6078a authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

msm: kgsl: Relinquish CPU during the TLBSTATUS timeout wait



Current cpu_relax() in hogging the CPU in TLBSTATUS check.
So remove cpu_relax() and use readl_poll_timeout() to avoid
CPU hogging long time during TLBSYNC timeout failure. Also
reduce wait timeout from 2sec to 1sec.

Change-Id: Ic29733528aa99de770d020b0b8b97eea83dd7f98
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent e445c189
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