18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright 2018 Marty E. Plummer <hanetzer@startmail.com> */ 38c2ecf20Sopenharmony_ci/* Copyright 2019 Collabora ltd. */ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifndef __PANFROST_GPU_H__ 68c2ecf20Sopenharmony_ci#define __PANFROST_GPU_H__ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct panfrost_device; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciint panfrost_gpu_init(struct panfrost_device *pfdev); 118c2ecf20Sopenharmony_civoid panfrost_gpu_fini(struct panfrost_device *pfdev); 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciu32 panfrost_gpu_get_latest_flush_id(struct panfrost_device *pfdev); 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciint panfrost_gpu_soft_reset(struct panfrost_device *pfdev); 168c2ecf20Sopenharmony_civoid panfrost_gpu_power_on(struct panfrost_device *pfdev); 178c2ecf20Sopenharmony_civoid panfrost_gpu_power_off(struct panfrost_device *pfdev); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_civoid panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif 22