cregit-Linux how code gets into the kernel

Release 4.18 drivers/gpu/drm/nouveau/nvkm/engine/fifo/changk104.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __GK104_FIFO_CHAN_H__

#define __GK104_FIFO_CHAN_H__

#define gk104_fifo_chan(p) container_of((p), struct gk104_fifo_chan, base)
#include "chan.h"
#include "gk104.h"


struct gk104_fifo_chan {
	
struct nvkm_fifo_chan base;
	
struct gk104_fifo *fifo;
	
int runl;

	
struct nvkm_fifo_cgrp *cgrp;
	
struct list_head head;
	
bool killed;

	
struct {
		
struct nvkm_gpuobj *inst;
		
struct nvkm_vma *vma;
	
} engn[NVKM_SUBDEV_NR];
};

extern const struct nvkm_fifo_chan_func gk104_fifo_gpfifo_func;

int gk104_fifo_gpfifo_new(struct gk104_fifo *, const struct nvkm_oclass *,
			  void *data, u32 size, struct nvkm_object **);
void *gk104_fifo_gpfifo_dtor(struct nvkm_fifo_chan *);
void gk104_fifo_gpfifo_init(struct nvkm_fifo_chan *);
void gk104_fifo_gpfifo_fini(struct nvkm_fifo_chan *);
int gk104_fifo_gpfifo_engine_ctor(struct nvkm_fifo_chan *, struct nvkm_engine *,
				  struct nvkm_object *);
void gk104_fifo_gpfifo_engine_dtor(struct nvkm_fifo_chan *,
				   struct nvkm_engine *);
int gk104_fifo_gpfifo_kick(struct gk104_fifo_chan *);
int gk104_fifo_gpfifo_kick_locked(struct gk104_fifo_chan *);

int gv100_fifo_gpfifo_new(struct gk104_fifo *, const struct nvkm_oclass *,
			  void *data, u32 size, struct nvkm_object **);
#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs19399.48%888.89%
Greg Kroah-Hartman10.52%111.11%
Total194100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.