diff options
author | Rob Clark <robdclark@chromium.org> | 2020-09-01 18:41:56 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-09-12 19:59:58 +0300 |
commit | ec1cb6e4408abe5fb723872d265fefa939f1a2ba (patch) | |
tree | 157cfd23e999178f4686a26b8a5dc2312c270961 /drivers/gpu/drm/msm/msm_gpu.c | |
parent | 1ef7c99d145c2759308e53bf19f2cc971677680c (diff) | |
download | linux-ec1cb6e4408abe5fb723872d265fefa939f1a2ba.tar.xz |
drm/msm/gpu: Add suspend/resume tracepoints
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index cec6ec1d3aa7..ce68ff0732a5 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -202,6 +202,7 @@ int msm_gpu_pm_resume(struct msm_gpu *gpu) int ret; DBG("%s", gpu->name); + trace_msm_gpu_resume(0); ret = enable_pwrrail(gpu); if (ret) @@ -227,6 +228,7 @@ int msm_gpu_pm_suspend(struct msm_gpu *gpu) int ret; DBG("%s", gpu->name); + trace_msm_gpu_suspend(0); devfreq_suspend_device(gpu->devfreq.devfreq); |