Skip to content
Commit 6d9eff91 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Set correct context restore address during preemption



On A6XX, when triggering preemption, we need to tell CP from where
to restore the incoming context's saved data. Currently, the logic
to figure out the incoming context is incorrect. Fix it by wrapping
the IBs with commands to write the context's restore address to
scratch memory location. The address is then read from the scratch
memory location at the time of triggering preemption.

Change-Id: Ie83bd1adc0f24faa122748b972fad28e0d05b0e6
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 6bf4cf1b
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