linux/drivers/gpu/drm/vc4/vc4_perfmon.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2018 Broadcom
 */

/**
 * DOC: VC4 V3D performance monitor module
 *
 * The V3D block provides 16 hardware counters which can count various events.
 */

#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)
{}