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

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

Merge "msm: kgsl: Add Common Boot KPI marker"

parents 6b53b039 6e7ae2aa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/nvmem-consumer.h>
#include <linux/soc/qcom/llcc-qcom.h>
#include <soc/qcom/subsystem_restart.h>
#include <soc/qcom/boot_stats.h>

#include "adreno.h"
#include "adreno_a3xx.h"
@@ -1313,6 +1314,8 @@ int adreno_device_probe(struct platform_device *pdev,
	int status;
	u32 size;

	place_marker("M - DRIVER GPU Init");

	/* Initialize the adreno device structure */
	adreno_setup_device(adreno_dev);

@@ -1446,6 +1449,8 @@ int adreno_device_probe(struct platform_device *pdev,
	}
#endif

	place_marker("M - DRIVER GPU Ready");

	return 0;
err:
	device->pdev = NULL;
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/soc/qcom/llcc-qcom.h>
#include <linux/mailbox/qmp.h>
#include <soc/qcom/cmd-db.h>
#include <soc/qcom/boot_stats.h>

#include "adreno.h"
#include "adreno_a6xx.h"
@@ -2971,6 +2972,8 @@ static int a6xx_first_boot(struct adreno_device *adreno_dev)
	if (test_bit(GMU_PRIV_FIRST_BOOT_DONE, &gmu->flags))
		return a6xx_boot(adreno_dev);

	place_marker("M - DRIVER ADRENO Init");

	ret = adreno_dispatcher_init(adreno_dev);
	if (ret)
		return ret;
@@ -3024,6 +3027,7 @@ static int a6xx_first_boot(struct adreno_device *adreno_dev)

	trace_kgsl_pwr_set_state(device, KGSL_STATE_ACTIVE);

	place_marker("M - DRIVER ADRENO Ready");

	return 0;
}