msm: kgsl: Trigger preemption from preemption complete interrupt
If a high priority context submits while preemption to a lower context is underway, then preemption to higher context is not triggered until either we get a GPU command complete interrupt or another workload from the higher context is submitted. To avoid this latency, trigger preemption from the preemption complete interrupt. CRs-Fixed: 1058401 Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org> Change-Id: I0a05df94e7bdd5daadfa0713371a595a06b7bda7
This commit is contained in:
parent
28352998de
commit
3a206e4c0f
1 changed files with 2 additions and 0 deletions
|
@ -311,6 +311,8 @@ void a5xx_preempt_callback(struct adreno_device *adreno_dev, int bit)
|
|||
adreno_dev->cur_rb->dispatch_q.expires);
|
||||
|
||||
adreno_set_preempt_state(adreno_dev, ADRENO_PREEMPT_NONE);
|
||||
|
||||
a5xx_preemption_trigger(adreno_dev);
|
||||
}
|
||||
|
||||
void a5xx_preemption_schedule(struct adreno_device *adreno_dev)
|
||||
|
|
Loading…
Add table
Reference in a new issue