OSDN Git Service

msm: vidc: Add common Boot KPI marker
authorSuprith Malligere Shankaregowda <supgow@codeaurora.org>
Sat, 23 Mar 2019 19:23:02 +0000 (00:53 +0530)
committerSuprith Malligere Shankaregowda <supgow@codeaurora.org>
Tue, 26 Mar 2019 16:58:29 +0000 (22:28 +0530)
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: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
drivers/media/platform/msm/vidc/msm_v4l2_vidc.c

index e81162f..a921467 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2017, 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
@@ -31,6 +31,7 @@
 #include "msm_vidc_resources.h"
 #include "venus_boot.h"
 #include "vidc_hfi_api.h"
+#include <soc/qcom/boot_stats.h>
 
 #define BASE_DEVICE_NUMBER 32
 
@@ -608,6 +609,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: