panfrost_gpu.h 651 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright 2018 Marty E. Plummer <[email protected]> */
  3. /* Copyright 2019 Collabora ltd. */
  4. #ifndef __PANFROST_GPU_H__
  5. #define __PANFROST_GPU_H__
  6. struct panfrost_device;
  7. int panfrost_gpu_init(struct panfrost_device *pfdev);
  8. void panfrost_gpu_fini(struct panfrost_device *pfdev);
  9. u32 panfrost_gpu_get_latest_flush_id(struct panfrost_device *pfdev);
  10. int panfrost_gpu_soft_reset(struct panfrost_device *pfdev);
  11. void panfrost_gpu_power_on(struct panfrost_device *pfdev);
  12. void panfrost_gpu_power_off(struct panfrost_device *pfdev);
  13. void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev);
  14. #endif