#include "priv.h"
#include "cgrp.h"
#include "chan.h"
#include "runl.h"
#include <core/memory.h>
#include <subdev/gsp.h>
#include <subdev/mc.h>
#include <subdev/vfn.h>
#include <nvif/class.h>
static u32
tu102_chan_doorbell_handle(struct nvkm_chan *chan)
{ … }
static void
tu102_chan_start(struct nvkm_chan *chan)
{ … }
static const struct nvkm_chan_func
tu102_chan = …;
static bool
tu102_runl_pending(struct nvkm_runl *runl)
{ … }
static void
tu102_runl_commit(struct nvkm_runl *runl, struct nvkm_memory *memory, u32 start, int count)
{ … }
static const struct nvkm_runl_func
tu102_runl = …;
static const struct nvkm_enum
tu102_fifo_mmu_fault_engine[] = …;
const struct nvkm_fifo_func_mmu_fault
tu102_fifo_mmu_fault = …;
void
tu102_fifo_intr_ctxsw_timeout_info(struct nvkm_engn *engn, u32 info)
{ … }
static void
tu102_fifo_intr_ctxsw_timeout(struct nvkm_fifo *fifo)
{ … }
static void
tu102_fifo_intr_sched(struct nvkm_fifo *fifo)
{ … }
static irqreturn_t
tu102_fifo_intr(struct nvkm_inth *inth)
{ … }
static void
tu102_fifo_init_pbdmas(struct nvkm_fifo *fifo, u32 mask)
{ … }
static const struct nvkm_fifo_func
tu102_fifo = …;
int
tu102_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_fifo **pfifo)
{ … }