aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.h
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2020-04-21 13:35:46 +0000
committerQiang Yu <[email protected]>2020-04-24 12:50:57 +0000
commit4836cf044d74eb70bb28d3460d8c82e4aaf56d65 (patch)
tree8d6a5e9edc33972fc7bfd5647c5f2a548437a4eb /drivers/gpu/drm/lima/lima_devfreq.h
parentdrm/lima: always set page directory when switch vm (diff)
downloadkernel-4836cf044d74eb70bb28d3460d8c82e4aaf56d65.tar.gz
kernel-4836cf044d74eb70bb28d3460d8c82e4aaf56d65.zip
drm/lima: add lima_devfreq_resume/suspend
Used for device resume/suspend in the following commits. Tested-by: Bhushan Shah <[email protected]> Reviewed-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Qiang Yu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.h')
-rw-r--r--drivers/gpu/drm/lima/lima_devfreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_devfreq.h b/drivers/gpu/drm/lima/lima_devfreq.h
index 8d71ba9fb22a..5eed2975a375 100644
--- a/drivers/gpu/drm/lima/lima_devfreq.h
+++ b/drivers/gpu/drm/lima/lima_devfreq.h
@@ -38,4 +38,7 @@ void lima_devfreq_fini(struct lima_device *ldev);
void lima_devfreq_record_busy(struct lima_devfreq *devfreq);
void lima_devfreq_record_idle(struct lima_devfreq *devfreq);
+int lima_devfreq_resume(struct lima_devfreq *devfreq);
+int lima_devfreq_suspend(struct lima_devfreq *devfreq);
+
#endif