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:
Hareesh Gundu <hareeshg@codeaurora.org>
Loading
Please register or sign in to comment