Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001efe54 authored by Rituraj Raman's avatar Rituraj Raman
Browse files

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: default avatarRituraj Raman <riturama@codeaurora.org>
parent 2bbcc098
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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: