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

Commit e2a49d1e authored by rahsha's avatar rahsha
Browse files

msm: kgsl: Add common Boot KPI marker



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

Change-Id: I71655d8f54c708ef675d9d1391c44347d845f97a
Signed-off-by: default avatarrahsha <rahsha@codeaurora.org>
parent 14c735f1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2002,2007-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2002,2007-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
@@ -42,6 +42,8 @@
#include "adreno-gpulist.h"
#include "adreno_dispatch.h"

#include <soc/qcom/boot_stats.h>

#undef MODULE_PARAM_PREFIX
#define MODULE_PARAM_PREFIX "adreno."

@@ -1035,6 +1037,9 @@ static int adreno_probe(struct platform_device *pdev)
		}
	}
#endif

	place_marker("M - DRIVER GPU Ready");

out:
	if (status) {
		adreno_ringbuffer_close(adreno_dev);