linux/drivers/gpu/host1x/debug.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2010 Google, Inc.
 * Author: Erik Gilling <[email protected]>
 *
 * Copyright (C) 2011-2013 NVIDIA Corporation
 */

#include <linux/debugfs.h>
#include <linux/pm_runtime.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>

#include <linux/io.h>

#include "dev.h"
#include "debug.h"
#include "channel.h"

static DEFINE_MUTEX(debug_lock);

unsigned int host1x_debug_trace_cmdbuf;

static pid_t host1x_debug_force_timeout_pid;
static u32 host1x_debug_force_timeout_val;
static u32 host1x_debug_force_timeout_channel;

void host1x_debug_output(struct output *o, const char *fmt, ...)
{}

void host1x_debug_cont(struct output *o, const char *fmt, ...)
{}

static int show_channel(struct host1x_channel *ch, void *data, bool show_fifo)
{}

static void show_syncpts(struct host1x *m, struct output *o, bool show_all)
{}

static void show_all(struct host1x *m, struct output *o, bool show_fifo)
{}

static int host1x_debug_all_show(struct seq_file *s, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static int host1x_debug_show(struct seq_file *s, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static void host1x_debugfs_init(struct host1x *host1x)
{}

static void host1x_debugfs_exit(struct host1x *host1x)
{}

void host1x_debug_init(struct host1x *host1x)
{}

void host1x_debug_deinit(struct host1x *host1x)
{}

void host1x_debug_dump(struct host1x *host1x)
{}

void host1x_debug_dump_syncpts(struct host1x *host1x)
{}