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

Commit c35974b8 authored by Suprith Malligere Shankaregowda's avatar Suprith Malligere Shankaregowda Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Add common Boot KPI marker



Add a boot marker to indicate the time when video
driver probe is completed and the device is ready.

Change-Id: Ic9deb35cabbfa1cc7ad079656bde711014d3529e
Signed-off-by: default avatarSuprith Malligere Shankaregowda <supgow@codeaurora.org>
parent c2aee340
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -33,6 +33,7 @@
#include "vidc_hfi_api.h"
#include "msm_v4l2_private.h"
#include "msm_vidc_clocks.h"
#include <soc/qcom/boot_stats.h>

#define BASE_DEVICE_NUMBER 32

@@ -637,6 +638,7 @@ static int msm_vidc_probe_vidc_device(struct platform_device *pdev)
		goto err_fail_sub_device_probe;
	}

	place_marker("M - DRIVER Video Ready");
	return rc;

err_fail_sub_device_probe: