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

Commit b4719f94 authored by Viraja Kommaraju's avatar Viraja Kommaraju Committed by Gerrit - the friendly Code Review server
Browse files

dsp: add ADSP subsystem mount start KPI marker



Add the ADSP start KPI marker before starting the PIL routine.

Change-Id: Ia52589a7d3d433136d41178e67841e02347c174c
Signed-off-by: default avatarViraja Kommaraju <virajak@codeaurora.org>
parent 2b79066d
Loading
Loading
Loading
Loading

dsp/adsp-loader.c

100644 → 100755
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/workqueue.h>
#include <linux/nvmem-consumer.h>
#include <linux/slab.h>
#include <soc/qcom/boot_stats.h>
#include <soc/qcom/subsystem_restart.h>

#define Q6_PIL_GET_DELAY_MS 100
@@ -172,6 +173,7 @@ static void adsp_load_fw(struct work_struct *adsp_ldr_work)
	{
		adsp_state = apr_get_q6_state();
		if (adsp_state == APR_SUBSYS_DOWN) {
			place_marker("M - Start ADSP");
			priv = platform_get_drvdata(pdev);
			if (!priv) {
				dev_err(&pdev->dev,