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:
Rituraj Raman 2021-05-03 14:23:03 +05:30
commit 001efe54a3

View file

@ -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: