mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "msm: kgsl: Fix preemption fault handling for A6xx GPU"
This commit is contained in:
commit
e195cd0a45
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ static void _a6xx_preemption_fault(struct adreno_device *adreno_dev)
|
|||
if (kgsl_state_is_awake(device)) {
|
||||
kgsl_regread(device, A6XX_CP_CONTEXT_SWITCH_CNTL, &status);
|
||||
|
||||
if (status == 0) {
|
||||
if (!(status & 0x1)) {
|
||||
adreno_set_preempt_state(adreno_dev,
|
||||
ADRENO_PREEMPT_COMPLETE);
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ static void _a6xx_preemption_fault(struct adreno_device *adreno_dev)
|
|||
}
|
||||
|
||||
dev_err(device->dev,
|
||||
"Preemption timed out: cur=%d R/W=%X/%X, next=%d R/W=%X/%X\n",
|
||||
"Preemption Fault: cur=%d R/W=0x%x/0x%x, next=%d R/W=0x%x/0x%x\n",
|
||||
adreno_dev->cur_rb->id,
|
||||
adreno_get_rptr(adreno_dev->cur_rb),
|
||||
adreno_dev->cur_rb->wptr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue