mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
msm: kgsl: Use the correct pointer for preemption records
When we moved to the dynamic model for global buffers in
commit 2f23b00d46 ("msm: kgsl: Move globals to the KGSL device handle")
we missed two references to the memdescs in the snapshot code and were
accidentally passing a pointer to a pointer and copying the wrong memory.
Change-Id: Ic0dedbadc390661ecc02980990ec9ab6df731c56
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
1565876acc
commit
c4d040d1f2
2 changed files with 2 additions and 2 deletions
|
|
@ -1010,7 +1010,7 @@ void a5xx_snapshot(struct adreno_device *adreno_dev,
|
|||
kgsl_snapshot_add_section(device,
|
||||
KGSL_SNAPSHOT_SECTION_GPU_OBJECT_V2,
|
||||
snapshot, snapshot_preemption_record,
|
||||
&rb->preemption_desc);
|
||||
rb->preemption_desc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1813,7 +1813,7 @@ void a6xx_snapshot(struct adreno_device *adreno_dev,
|
|||
kgsl_snapshot_add_section(device,
|
||||
KGSL_SNAPSHOT_SECTION_GPU_OBJECT_V2,
|
||||
snapshot, snapshot_preemption_record,
|
||||
&rb->preemption_desc);
|
||||
rb->preemption_desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue