summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panfrost/panfrost_devfreq.h
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2019-08-16 12:31:07 +0300
committerRob Herring <robh@kernel.org>2019-08-19 19:38:51 +0300
commitaa4fffec310da5eb6d6ef09509b03e780bdf248a (patch)
tree9adaa48e2d0a43e00b581c6fa0fd666e79b423ab /drivers/gpu/drm/panfrost/panfrost_devfreq.h
parente21dd290881b20c9a37e4a79568841e9ffebeb67 (diff)
downloadlinux-aa4fffec310da5eb6d6ef09509b03e780bdf248a.tar.xz
drm/panfrost: Remove opp table when unloading
The devfreq opp table needs to be removed when unloading the driver to free the memory associated with it. Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190816093107.30518-3-steven.price@arm.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_devfreq.h')
-rw-r--r--drivers/gpu/drm/panfrost/panfrost_devfreq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_devfreq.h b/drivers/gpu/drm/panfrost/panfrost_devfreq.h
index eb999531ed90..e3bc63e82843 100644
--- a/drivers/gpu/drm/panfrost/panfrost_devfreq.h
+++ b/drivers/gpu/drm/panfrost/panfrost_devfreq.h
@@ -5,6 +5,7 @@
#define __PANFROST_DEVFREQ_H__
int panfrost_devfreq_init(struct panfrost_device *pfdev);
+void panfrost_devfreq_fini(struct panfrost_device *pfdev);
void panfrost_devfreq_resume(struct panfrost_device *pfdev);
void panfrost_devfreq_suspend(struct panfrost_device *pfdev);