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