linux/drivers/gpu/drm/msm/adreno/a3xx_gpu.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2013 Red Hat
 * Author: Rob Clark <[email protected]>
 *
 * Copyright (c) 2014 The Linux Foundation. All rights reserved.
 */

#include "a3xx_gpu.h"

#define A3XX_INT0_MASK

extern bool hang_debug;

static void a3xx_dump(struct msm_gpu *gpu);
static bool a3xx_idle(struct msm_gpu *gpu);

static void a3xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
{}

static bool a3xx_me_init(struct msm_gpu *gpu)
{}

static int a3xx_hw_init(struct msm_gpu *gpu)
{}

static void a3xx_recover(struct msm_gpu *gpu)
{}

static void a3xx_destroy(struct msm_gpu *gpu)
{}

static bool a3xx_idle(struct msm_gpu *gpu)
{}

static irqreturn_t a3xx_irq(struct msm_gpu *gpu)
{}

static const unsigned int a3xx_registers[] =;

/* would be nice to not have to duplicate the _show() stuff with printk(): */
static void a3xx_dump(struct msm_gpu *gpu)
{}

static struct msm_gpu_state *a3xx_gpu_state_get(struct msm_gpu *gpu)
{}

static u64 a3xx_gpu_busy(struct msm_gpu *gpu, unsigned long *out_sample_rate)
{}

static u32 a3xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)
{}

static const struct adreno_gpu_funcs funcs =;

static const struct msm_gpu_perfcntr perfcntrs[] =;

struct msm_gpu *a3xx_gpu_init(struct drm_device *dev)
{}