mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
disp: msm: sde: add reg log minidump partition
Changes are made to add reg log to minidump. Change-Id: I703075ae22cfa0d987e4bb51ebc28dcdf13baa46 Signed-off-by: Andhavarapu Karthik <kartkart@codeaurora.org>
This commit is contained in:
parent
361a8e3351
commit
ae9f6d8dce
1 changed files with 3 additions and 0 deletions
|
|
@ -244,6 +244,9 @@ struct sde_dbg_reglog *sde_reglog_init(void)
|
|||
return ERR_PTR(-ENOMEM);
|
||||
|
||||
atomic64_set(®log->curr, 0);
|
||||
if (sde_mini_dump_add_region("reg_log", sizeof(*reglog),
|
||||
reglog) < 0)
|
||||
pr_err("minidump add region failed for reglog\n");
|
||||
|
||||
return reglog;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue