linux/drivers/gpu/host1x/hw/debug_hw.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 "../dev.h"
#include "../debug.h"
#include "../cdma.h"
#include "../channel.h"

#define HOST1X_DEBUG_MAX_PAGE_OFFSET

enum {};

enum {};

#define INVALID_PAYLOAD

static unsigned int show_channel_command(struct output *o, u32 val,
					 u32 *payload)
{}

static void show_gather(struct output *o, dma_addr_t phys_addr,
			unsigned int words, struct host1x_cdma *cdma,
			dma_addr_t pin_addr, u32 *map_addr)
{}

static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma)
{}

#if HOST1X_HW >= 6
#include "debug_hw_1x06.c"
#else
#include "debug_hw_1x01.c"
#endif

static const struct host1x_debug_ops host1x_debug_ops =;