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

This commit is contained in:
qctecmdr 2021-03-08 03:05:24 -08:00 • committed by Gerrit - the friendly Code Review server
commit c30b722b43
2 changed files with 9 additions and 0 deletions

View file

@ -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;

View file

@ -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;
}