linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.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.
 *
 * Authors: Ben Skeggs
 */
#include "priv.h"
#include "chan.h"
#include "hdmi.h"
#include "head.h"
#include "ior.h"
#include "outp.h"

#include <core/ramht.h>
#include <subdev/timer.h>

#include <nvif/class.h>

static void
gf119_sor_hda_device_entry(struct nvkm_ior *ior, int head)
{}

void
gf119_sor_hda_eld(struct nvkm_ior *ior, int head, u8 *data, u8 size)
{}

void
gf119_sor_hda_hpd(struct nvkm_ior *ior, int head, bool present)
{}

const struct nvkm_ior_func_hda
gf119_sor_hda =;

void
gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark)
{}

void
gf119_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v)
{}

void
gf119_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable)
{}

void
gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned)
{}

void
gf119_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu)
{}

static void
gf119_sor_dp_pattern(struct nvkm_ior *sor, int pattern)
{}

int
gf119_sor_dp_links(struct nvkm_ior *sor, struct nvkm_i2c_aux *aux)
{}

const struct nvkm_ior_func_dp
gf119_sor_dp =;

static void
gf119_sor_hdmi_infoframe_vsi(struct nvkm_ior *ior, int head, void *data, u32 size)
{}

static void
gf119_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 size)
{}

static void
gf119_sor_hdmi_ctrl(struct nvkm_ior *ior, int head, bool enable, u8 max_ac_packet, u8 rekey)
{}

static const struct nvkm_ior_func_hdmi
gf119_sor_hdmi =;

void
gf119_sor_clock(struct nvkm_ior *sor)
{}

void
gf119_sor_state(struct nvkm_ior *sor, struct nvkm_ior_state *state)
{}

static const struct nvkm_ior_func
gf119_sor =;

static int
gf119_sor_new(struct nvkm_disp *disp, int id)
{}

int
gf119_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
{}

static void
gf119_dac_clock(struct nvkm_ior *dac)
{}

static void
gf119_dac_state(struct nvkm_ior *dac, struct nvkm_ior_state *state)
{}

static const struct nvkm_ior_func
gf119_dac =;

int
gf119_dac_new(struct nvkm_disp *disp, int id)
{}

int
gf119_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask)
{}

static void
gf119_head_vblank_put(struct nvkm_head *head)
{}

static void
gf119_head_vblank_get(struct nvkm_head *head)
{}

void
gf119_head_rgclk(struct nvkm_head *head, int div)
{}

static void
gf119_head_state(struct nvkm_head *head, struct nvkm_head_state *state)
{}

static const struct nvkm_head_func
gf119_head =;

int
gf119_head_new(struct nvkm_disp *disp, int id)
{}

int
gf119_head_cnt(struct nvkm_disp *disp, unsigned long *pmask)
{}

static void
gf119_disp_chan_uevent_fini(struct nvkm_event *event, int type, int index)
{}

static void
gf119_disp_chan_uevent_init(struct nvkm_event *event, int types, int index)
{}

const struct nvkm_event_func
gf119_disp_chan_uevent =;

void
gf119_disp_chan_intr(struct nvkm_disp_chan *chan, bool en)
{}

static void
gf119_disp_pioc_fini(struct nvkm_disp_chan *chan)
{}

static int
gf119_disp_pioc_init(struct nvkm_disp_chan *chan)
{}

const struct nvkm_disp_chan_func
gf119_disp_pioc_func =;

int
gf119_disp_dmac_bind(struct nvkm_disp_chan *chan, struct nvkm_object *object, u32 handle)
{}

void
gf119_disp_dmac_fini(struct nvkm_disp_chan *chan)
{}

static int
gf119_disp_dmac_init(struct nvkm_disp_chan *chan)
{}

const struct nvkm_disp_chan_func
gf119_disp_dmac_func =;

const struct nvkm_disp_chan_user
gf119_disp_curs =;

const struct nvkm_disp_chan_user
gf119_disp_oimm =;

static const struct nvkm_disp_mthd_list
gf119_disp_ovly_mthd_base =;

static const struct nvkm_disp_chan_mthd
gf119_disp_ovly_mthd =;

static const struct nvkm_disp_chan_user
gf119_disp_ovly =;

static const struct nvkm_disp_mthd_list
gf119_disp_base_mthd_base =;

static const struct nvkm_disp_mthd_list
gf119_disp_base_mthd_image =;

const struct nvkm_disp_chan_mthd
gf119_disp_base_mthd =;

const struct nvkm_disp_chan_user
gf119_disp_base =;

const struct nvkm_disp_mthd_list
gf119_disp_core_mthd_base =;

const struct nvkm_disp_mthd_list
gf119_disp_core_mthd_dac =;

const struct nvkm_disp_mthd_list
gf119_disp_core_mthd_sor =;

const struct nvkm_disp_mthd_list
gf119_disp_core_mthd_pior =;

static const struct nvkm_disp_mthd_list
gf119_disp_core_mthd_head =;

static const struct nvkm_disp_chan_mthd
gf119_disp_core_mthd =;

void
gf119_disp_core_fini(struct nvkm_disp_chan *chan)
{}

static int
gf119_disp_core_init(struct nvkm_disp_chan *chan)
{}

const struct nvkm_disp_chan_func
gf119_disp_core_func =;

static const struct nvkm_disp_chan_user
gf119_disp_core =;

void
gf119_disp_super(struct work_struct *work)
{}

void
gf119_disp_intr_error(struct nvkm_disp *disp, int chid)
{}

void
gf119_disp_intr(struct nvkm_disp *disp)
{}

void
gf119_disp_fini(struct nvkm_disp *disp, bool suspend)
{}

int
gf119_disp_init(struct nvkm_disp *disp)
{}

static const struct nvkm_disp_func
gf119_disp =;

int
gf119_disp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
	       struct nvkm_disp **pdisp)
{}