mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
msm: kgsl: Add Common Boot KPI marker
Add a boot marker to indicate the time when driver kgsl is initialised and ready. Change-Id: I4c3073f642354ef16d1f1f8ed99f520e3ec76c59 Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
This commit is contained in:
parent
2bbcc09826
commit
001efe54a3
1 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#include <linux/pm_runtime.h>
|
||||
#include <linux/security.h>
|
||||
#include <linux/sort.h>
|
||||
#include <soc/qcom/boot_stats.h>
|
||||
|
||||
#include "kgsl_compat.h"
|
||||
#include "kgsl_debugfs.h"
|
||||
|
|
@ -4497,6 +4498,8 @@ int __init kgsl_core_init(void)
|
|||
int result = 0;
|
||||
struct sched_param param = { .sched_priority = 2 };
|
||||
|
||||
place_marker("M - DRIVER KGSL Init");
|
||||
|
||||
/* alloc major and minor device numbers */
|
||||
result = alloc_chrdev_region(&kgsl_driver.major, 0,
|
||||
ARRAY_SIZE(kgsl_driver.devp), "kgsl");
|
||||
|
|
@ -4599,6 +4602,8 @@ int __init kgsl_core_init(void)
|
|||
memfree.list = kcalloc(MEMFREE_ENTRIES, sizeof(struct memfree_entry),
|
||||
GFP_KERNEL);
|
||||
|
||||
place_marker("M - DRIVER KGSL Ready");
|
||||
|
||||
return 0;
|
||||
|
||||
err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue