diff options
| author | Qiang Yu <[email protected]> | 2020-04-21 13:35:48 +0000 |
|---|---|---|
| committer | Qiang Yu <[email protected]> | 2020-04-24 12:51:10 +0000 |
| commit | 3446d7e9883d70882568b0f7b6549835d51a8bc7 (patch) | |
| tree | bac87841e0e25d9ce56d4f8b5330d25f708c7f46 /drivers/gpu/drm/lima/lima_l2_cache.h | |
| parent | drm/lima: power down ip blocks when pmu exit (diff) | |
| download | kernel-3446d7e9883d70882568b0f7b6549835d51a8bc7.tar.gz kernel-3446d7e9883d70882568b0f7b6549835d51a8bc7.zip | |
drm/lima: add resume/suspend callback for each ip
For called when PM do resume/suspend.
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_l2_cache.h')
| -rw-r--r-- | drivers/gpu/drm/lima/lima_l2_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_l2_cache.h b/drivers/gpu/drm/lima/lima_l2_cache.h index c63fb676ff14..1aeeefd53fb9 100644 --- a/drivers/gpu/drm/lima/lima_l2_cache.h +++ b/drivers/gpu/drm/lima/lima_l2_cache.h @@ -6,6 +6,8 @@ struct lima_ip; +int lima_l2_cache_resume(struct lima_ip *ip); +void lima_l2_cache_suspend(struct lima_ip *ip); int lima_l2_cache_init(struct lima_ip *ip); void lima_l2_cache_fini(struct lima_ip *ip); |
