linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef __NV50_FIFO_H__
   3#define __NV50_FIFO_H__
   4#define nv50_fifo(p) container_of((p), struct nv50_fifo, base)
   5#include "priv.h"
   6
   7struct nv50_fifo {
   8        struct nvkm_fifo base;
   9        struct nvkm_memory *runlist[2];
  10        int cur_runlist;
  11};
  12
  13int nv50_fifo_new_(const struct nvkm_fifo_func *, struct nvkm_device *,
  14                   int index, struct nvkm_fifo **);
  15
  16void *nv50_fifo_dtor(struct nvkm_fifo *);
  17int nv50_fifo_oneinit(struct nvkm_fifo *);
  18void nv50_fifo_init(struct nvkm_fifo *);
  19void nv50_fifo_runlist_update(struct nv50_fifo *);
  20#endif
  21