linux/drivers/gpu/drm/v3d/v3d_perfmon.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2021 Raspberry Pi
 */

#include "v3d_drv.h"
#include "v3d_regs.h"

#define V3D_PERFMONID_MIN
#define V3D_PERFMONID_MAX

static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] =;

static const struct v3d_perf_counter_desc v3d_v71_performance_counters[] =;

void v3d_perfmon_get(struct v3d_perfmon *perfmon)
{}

void v3d_perfmon_put(struct v3d_perfmon *perfmon)
{}

void v3d_perfmon_start(struct v3d_dev *v3d, struct v3d_perfmon *perfmon)
{}

void v3d_perfmon_stop(struct v3d_dev *v3d, struct v3d_perfmon *perfmon,
		      bool capture)
{}

struct v3d_perfmon *v3d_perfmon_find(struct v3d_file_priv *v3d_priv, int id)
{}

void v3d_perfmon_open_file(struct v3d_file_priv *v3d_priv)
{}

static int v3d_perfmon_idr_del(int id, void *elem, void *data)
{}

void v3d_perfmon_close_file(struct v3d_file_priv *v3d_priv)
{}

int v3d_perfmon_create_ioctl(struct drm_device *dev, void *data,
			     struct drm_file *file_priv)
{}

int v3d_perfmon_destroy_ioctl(struct drm_device *dev, void *data,
			      struct drm_file *file_priv)
{}

int v3d_perfmon_get_values_ioctl(struct drm_device *dev, void *data,
				 struct drm_file *file_priv)
{}

int v3d_perfmon_get_counter_ioctl(struct drm_device *dev, void *data,
				  struct drm_file *file_priv)
{}