Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / drivers / gpu / drm / panfrost / panfrost_devfreq.h
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 void panfrost_devfreq_fini(struct panfrost_device *pfdev);
9
10 void panfrost_devfreq_resume(struct panfrost_device *pfdev);
11 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
12
13 void panfrost_devfreq_record_transition(struct panfrost_device *pfdev, int slot);
14
15 #endif /* __PANFROST_DEVFREQ_H__ */