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

Commit acba016e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "KGSL : Boot Marker"

parents 79d96173 0efdf943
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <linux/input.h>
#include <linux/io.h>
#include <soc/qcom/scm.h>
#include <soc/qcom/boot_stats.h>

#include <linux/msm-bus-board.h>
#include <linux/msm-bus.h>
@@ -1331,6 +1332,8 @@ static int adreno_probe(struct platform_device *pdev)
	struct adreno_device *adreno_dev;
	int status;

	place_marker("M - DRIVER GPU Init");

	adreno_dev = adreno_get_dev(pdev);

	if (adreno_dev == NULL) {
@@ -1475,6 +1478,8 @@ static int adreno_probe(struct platform_device *pdev)
		}
	}
#endif

	place_marker("M - DRIVER GPU Ready");
out:
	if (status) {
		adreno_ringbuffer_close(adreno_dev);
@@ -1688,6 +1693,8 @@ static int adreno_init(struct kgsl_device *device)
	if (test_bit(ADRENO_DEVICE_INITIALIZED, &adreno_dev->priv))
		return 0;

	place_marker("M - DRIVER ADRENO Init");

	/*
	 * Either the microcode read failed because the usermodehelper isn't
	 * available or the microcode was corrupted. Fail the init and force
@@ -1761,6 +1768,8 @@ static int adreno_init(struct kgsl_device *device)

	}

	place_marker("M - DRIVER ADRENO Ready");

	return 0;
}

+5 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
#include <linux/ion.h>
#include <asm/cacheflush.h>
#include <uapi/linux/sched/types.h>
#include <soc/qcom/boot_stats.h>

#include "kgsl.h"
#include "kgsl_debugfs.h"
@@ -5119,6 +5120,8 @@ static 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, KGSL_DEVICE_MAX,
		"kgsl");
@@ -5205,6 +5208,8 @@ static int __init kgsl_core_init(void)

	kgsl_memfree_init();

	place_marker("M - DRIVER KGSL Ready");

	return 0;

err: