mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
The devfreq opp table needs to be removed when unloading the driver to free the memory associated with it. Signed-off-by: Steven Price <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
16 lines
500 B
C
16 lines
500 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright 2019 Collabora ltd. */
|
|
|
|
#ifndef __PANFROST_DEVFREQ_H__
|
|
#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);
|
|
|
|
void panfrost_devfreq_record_transition(struct panfrost_device *pfdev, int slot);
|
|
|
|
#endif /* __PANFROST_DEVFREQ_H__ */
|