aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gp.h
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2020-04-21 21:35:48 +0800
committerQiang Yu <yuq825@gmail.com>2020-04-24 20:51:10 +0800
commit3446d7e9883d70882568b0f7b6549835d51a8bc7 (patch)
treebac87841e0e25d9ce56d4f8b5330d25f708c7f46 /drivers/gpu/drm/lima/lima_gp.h
parent9f5072a191a141dcc919125986ea22bf05d598a7 (diff)
downloadkernel_replicant_linux-3446d7e9883d70882568b0f7b6549835d51a8bc7.tar.gz
kernel_replicant_linux-3446d7e9883d70882568b0f7b6549835d51a8bc7.tar.bz2
kernel_replicant_linux-3446d7e9883d70882568b0f7b6549835d51a8bc7.zip
drm/lima: add resume/suspend callback for each ip
For called when PM do resume/suspend. Tested-by: Bhushan Shah <bshah@kde.org> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-8-yuq825@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gp.h')
-rw-r--r--drivers/gpu/drm/lima/lima_gp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_gp.h b/drivers/gpu/drm/lima/lima_gp.h
index 516e5c1babbb..02ec9af78a51 100644
--- a/drivers/gpu/drm/lima/lima_gp.h
+++ b/drivers/gpu/drm/lima/lima_gp.h
@@ -7,6 +7,8 @@
struct lima_ip;
struct lima_device;
+int lima_gp_resume(struct lima_ip *ip);
+void lima_gp_suspend(struct lima_ip *ip);
int lima_gp_init(struct lima_ip *ip);
void lima_gp_fini(struct lima_ip *ip);