#include <nvif/push006c.h>
#include <nvif/class.h>
#include <nvif/cl0002.h>
#include <nvif/if0020.h>
#include "nouveau_drv.h"
#include "nouveau_dma.h"
#include "nouveau_bo.h"
#include "nouveau_chan.h"
#include "nouveau_fence.h"
#include "nouveau_abi16.h"
#include "nouveau_vmm.h"
#include "nouveau_svm.h"
MODULE_PARM_DESC(…) …;
int nouveau_vram_pushbuf;
module_param_named(vram_pushbuf, nouveau_vram_pushbuf, int, 0400);
void
nouveau_channel_kill(struct nouveau_channel *chan)
{ … }
static int
nouveau_channel_killed(struct nvif_event *event, void *repv, u32 repc)
{ … }
int
nouveau_channel_idle(struct nouveau_channel *chan)
{ … }
void
nouveau_channel_del(struct nouveau_channel **pchan)
{ … }
static void
nouveau_channel_kick(struct nvif_push *push)
{ … }
static int
nouveau_channel_wait(struct nvif_push *push, u32 size)
{ … }
static int
nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device,
u32 size, struct nouveau_channel **pchan)
{ … }
static int
nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool priv, u64 runm,
struct nouveau_channel **pchan)
{ … }
static int
nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
{ … }
int
nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device,
bool priv, u64 runm, u32 vram, u32 gart, struct nouveau_channel **pchan)
{ … }
void
nouveau_channels_fini(struct nouveau_drm *drm)
{ … }
int
nouveau_channels_init(struct nouveau_drm *drm)
{ … }