mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "msm: kgsl: Fill a6xx crash dumper buffer with known pattern"
This commit is contained in:
commit
d2deb0f365
1 changed files with 3 additions and 0 deletions
|
|
@ -1582,6 +1582,9 @@ static void _a6xx_do_crashdump(struct kgsl_device *device)
|
|||
if (a6xx_is_smmu_stalled(device))
|
||||
return;
|
||||
|
||||
memset(a6xx_crashdump_registers->hostptr, 0xaa,
|
||||
a6xx_crashdump_registers->size);
|
||||
|
||||
/* Turn on APRIV for legacy targets so we can access the buffers */
|
||||
if (!ADRENO_FEATURE(ADRENO_DEVICE(device), ADRENO_APRIV))
|
||||
kgsl_regwrite(device, A6XX_CP_MISC_CNTL, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue