xref: /openbmc/linux/drivers/gpu/drm/panfrost/panfrost_devfreq.h (revision cb3908c133f1285069673f11ad651d14ae0406cf)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2019 Collabora ltd. */
3 
4 #ifndef __PANFROST_DEVFREQ_H__
5 #define __PANFROST_DEVFREQ_H__
6 
7 int panfrost_devfreq_init(struct panfrost_device *pfdev);
8 
9 void panfrost_devfreq_resume(struct panfrost_device *pfdev);
10 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
11 
12 void panfrost_devfreq_record_transition(struct panfrost_device *pfdev, int slot);
13 
14 #endif /* __PANFROST_DEVFREQ_H__ */
15