#include "vc4_drv.h"
#include "vc4_regs.h"
#define VC4_PERFMONID_MIN …
#define VC4_PERFMONID_MAX …
void vc4_perfmon_get(struct vc4_perfmon *perfmon)
{ … }
void vc4_perfmon_put(struct vc4_perfmon *perfmon)
{ … }
void vc4_perfmon_start(struct vc4_dev *vc4, struct vc4_perfmon *perfmon)
{ … }
void vc4_perfmon_stop(struct vc4_dev *vc4, struct vc4_perfmon *perfmon,
bool capture)
{ … }
struct vc4_perfmon *vc4_perfmon_find(struct vc4_file *vc4file, int id)
{ … }
void vc4_perfmon_open_file(struct vc4_file *vc4file)
{ … }
static int vc4_perfmon_idr_del(int id, void *elem, void *data)
{ … }
void vc4_perfmon_close_file(struct vc4_file *vc4file)
{ … }
int vc4_perfmon_create_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{ … }
int vc4_perfmon_destroy_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{ … }
int vc4_perfmon_get_values_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{ … }