Skip to content
Commit 59a69575 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Use fence mechanism for A6XX preemption register writes



This is an alternative method for successfully writing to preemption
registers if device is in IFPC. The A6XX preemption registers are
fenced. That means, when we write to these registers and if the device
is in IFPC, we can poll the fence status register to make sure the GPU
is up and write went through. The preemption registers are saved/restored
across IFPC. This ensures that if device goes to IFPC during one of
these register writes, the writes will not be lost.

Change-Id: Id09ec236b19da1491a588bfe063cfed220ffaf62
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 8f78d5fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment