linux/drivers/gpu/drm/nouveau/nouveau_abi16.c

/*
 * Copyright 2012 Red Hat Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 */

#include <nvif/client.h>
#include <nvif/driver.h>
#include <nvif/fifo.h>
#include <nvif/ioctl.h>
#include <nvif/class.h>
#include <nvif/cl0002.h>
#include <nvif/unpack.h>

#include "nouveau_drv.h"
#include "nouveau_dma.h"
#include "nouveau_exec.h"
#include "nouveau_gem.h"
#include "nouveau_chan.h"
#include "nouveau_abi16.h"
#include "nouveau_vmm.h"
#include "nouveau_sched.h"

static struct nouveau_abi16 *
nouveau_abi16(struct drm_file *file_priv)
{}

struct nouveau_abi16 *
nouveau_abi16_get(struct drm_file *file_priv)
{}

int
nouveau_abi16_put(struct nouveau_abi16 *abi16, int ret)
{}

s32
nouveau_abi16_swclass(struct nouveau_drm *drm)
{}

static void
nouveau_abi16_ntfy_fini(struct nouveau_abi16_chan *chan,
			struct nouveau_abi16_ntfy *ntfy)
{}

static void
nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16,
			struct nouveau_abi16_chan *chan)
{}

void
nouveau_abi16_fini(struct nouveau_abi16 *abi16)
{}

static inline int
getparam_dma_ib_max(struct nvif_device *device)
{}

int
nouveau_abi16_ioctl_getparam(ABI16_IOCTL_ARGS)
{}

int
nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS)
{}

static struct nouveau_abi16_chan *
nouveau_abi16_chan(struct nouveau_abi16 *abi16, int channel)
{}

int
nouveau_abi16_usif(struct drm_file *file_priv, void *data, u32 size)
{}

int
nouveau_abi16_ioctl_channel_free(ABI16_IOCTL_ARGS)
{}

int
nouveau_abi16_ioctl_grobj_alloc(ABI16_IOCTL_ARGS)
{}

int
nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
{}

int
nouveau_abi16_ioctl_gpuobj_free(ABI16_IOCTL_ARGS)
{}