panfrost_perfcnt.h 692 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright 2019 Collabora Ltd */
  3. #ifndef __PANFROST_PERFCNT_H__
  4. #define __PANFROST_PERFCNT_H__
  5. #include "panfrost_device.h"
  6. void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev);
  7. void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev);
  8. int panfrost_perfcnt_init(struct panfrost_device *pfdev);
  9. void panfrost_perfcnt_fini(struct panfrost_device *pfdev);
  10. void panfrost_perfcnt_close(struct drm_file *file_priv);
  11. int panfrost_ioctl_perfcnt_enable(struct drm_device *dev, void *data,
  12. struct drm_file *file_priv);
  13. int panfrost_ioctl_perfcnt_dump(struct drm_device *dev, void *data,
  14. struct drm_file *file_priv);
  15. #endif