WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / panfrost / panfrost_gpu.h
blob468c51e7e46db53618e2ca8da7fc2f8ff0a680fd
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2018 Marty E. Plummer <hanetzer@startmail.com> */
3 /* Copyright 2019 Collabora ltd. */
5 #ifndef __PANFROST_GPU_H__
6 #define __PANFROST_GPU_H__
8 struct panfrost_device;
10 int panfrost_gpu_init(struct panfrost_device *pfdev);
11 void panfrost_gpu_fini(struct panfrost_device *pfdev);
13 u32 panfrost_gpu_get_latest_flush_id(struct panfrost_device *pfdev);
15 int panfrost_gpu_soft_reset(struct panfrost_device *pfdev);
16 void panfrost_gpu_power_on(struct panfrost_device *pfdev);
17 void panfrost_gpu_power_off(struct panfrost_device *pfdev);
19 void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev);
21 #endif