linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c

// SPDX-License-Identifier: MIT
#include "nv20.h"
#include "regs.h"

#include <core/client.h>
#include <core/gpuobj.h>
#include <engine/fifo.h>
#include <engine/fifo/chan.h>
#include <subdev/fb.h>
#include <subdev/timer.h>

/*******************************************************************************
 * PGRAPH context
 ******************************************************************************/

int
nv20_gr_chan_init(struct nvkm_object *object)
{}

int
nv20_gr_chan_fini(struct nvkm_object *object, bool suspend)
{}

void *
nv20_gr_chan_dtor(struct nvkm_object *object)
{}

static const struct nvkm_object_func
nv20_gr_chan =;

static int
nv20_gr_chan_new(struct nvkm_gr *base, struct nvkm_chan *fifoch,
		 const struct nvkm_oclass *oclass, struct nvkm_object **pobject)
{}

/*******************************************************************************
 * PGRAPH engine/subdev functions
 ******************************************************************************/

void
nv20_gr_tile(struct nvkm_gr *base, int i, struct nvkm_fb_tile *tile)
{}

void
nv20_gr_intr(struct nvkm_gr *base)
{}

int
nv20_gr_oneinit(struct nvkm_gr *base)
{}

int
nv20_gr_init(struct nvkm_gr *base)
{}

void *
nv20_gr_dtor(struct nvkm_gr *base)
{}

int
nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device,
	     enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr)
{}

static const struct nvkm_gr_func
nv20_gr =;

int
nv20_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr)
{}