summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_device.h
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2020-04-21 21:35:47 +0800
committerQiang Yu <yuq825@gmail.com>2020-04-24 20:51:04 +0800
commit9f5072a191a141dcc919125986ea22bf05d598a7 (patch)
tree2cd0c9f1174a9434913bee96c8dd3f41eee52e60 /drivers/gpu/drm/lima/lima_device.h
parent4836cf044d74eb70bb28d3460d8c82e4aaf56d65 (diff)
drm/lima: power down ip blocks when pmu exit
Prepare resume/suspend PM. v2: Fix lima_pmu_wait_cmd timeout when mali400 case. 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-7-yuq825@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_device.h')
-rw-r--r--drivers/gpu/drm/lima/lima_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_device.h b/drivers/gpu/drm/lima/lima_device.h
index 99b1fb147dad..9cd2718079bd 100644
--- a/drivers/gpu/drm/lima/lima_device.h
+++ b/drivers/gpu/drm/lima/lima_device.h
@@ -64,6 +64,8 @@ struct lima_ip {
bool async_reset;
/* l2 cache */
spinlock_t lock;
+ /* pmu */
+ u32 mask;
} data;
};