treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / panfrost / panfrost_perfcnt.h
blob8bbcf5f5fb3391ce625eedbcb4c1b32e8bc9ebb6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2019 Collabora Ltd */
3 #ifndef __PANFROST_PERFCNT_H__
4 #define __PANFROST_PERFCNT_H__
6 #include "panfrost_device.h"
8 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev);
9 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev);
10 int panfrost_perfcnt_init(struct panfrost_device *pfdev);
11 void panfrost_perfcnt_fini(struct panfrost_device *pfdev);
12 void panfrost_perfcnt_close(struct drm_file *file_priv);
13 int panfrost_ioctl_perfcnt_enable(struct drm_device *dev, void *data,
14 struct drm_file *file_priv);
15 int panfrost_ioctl_perfcnt_dump(struct drm_device *dev, void *data,
16 struct drm_file *file_priv);
18 #endif