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