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

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

/**
 * DOC: Interrupt management for the V3D engine
 *
 * When we take a bin, render, TFU done, or CSD done interrupt, we
 * need to signal the fence for that job so that the scheduler can
 * queue up the next one and unblock any waiters.
 *
 * When we take the binner out of memory interrupt, we need to
 * allocate some new memory and pass it to the binner so that the
 * current job can make progress.
 */

#include <linux/platform_device.h>
#include <linux/sched/clock.h>

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

#define V3D_CORE_IRQS(ver)

#define V3D_HUB_IRQS(ver)

static irqreturn_t
v3d_hub_irq(int irq, void *arg);

static void
v3d_overflow_mem_work(struct work_struct *work)
{}

static irqreturn_t
v3d_irq(int irq, void *arg)
{}

static irqreturn_t
v3d_hub_irq(int irq, void *arg)
{}

int
v3d_irq_init(struct v3d_dev *v3d)
{}

void
v3d_irq_enable(struct v3d_dev *v3d)
{}

void
v3d_irq_disable(struct v3d_dev *v3d)
{}

/** Reinitializes interrupt registers when a GPU reset is performed. */
void v3d_irq_reset(struct v3d_dev *v3d)
{}