linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c

/*
 * Copyright 2013 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 <[email protected]>
 */
#include "gf100.h"
#include "gk104.h"
#include "ctxgf100.h"

#include <nvif/class.h>

/*******************************************************************************
 * PGRAPH register lists
 ******************************************************************************/

const struct gf100_gr_init
gk104_gr_init_main_0[] =;

static const struct gf100_gr_init
gk104_gr_init_ds_0[] =;

static const struct gf100_gr_init
gk104_gr_init_sked_0[] =;

static const struct gf100_gr_init
gk104_gr_init_cwd_0[] =;

static const struct gf100_gr_init
gk104_gr_init_gpc_unk_1[] =;

const struct gf100_gr_init
gk104_gr_init_gpc_unk_2[] =;

const struct gf100_gr_init
gk104_gr_init_tpccs_0[] =;

const struct gf100_gr_init
gk104_gr_init_pe_0[] =;

static const struct gf100_gr_init
gk104_gr_init_l1c_0[] =;

static const struct gf100_gr_init
gk104_gr_init_sm_0[] =;

const struct gf100_gr_init
gk104_gr_init_be_0[] =;

const struct gf100_gr_pack
gk104_gr_pack_mmio[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_main_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_rstr2d_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_unk_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gcc_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_sked_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_unk_1[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_ctxctl_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_unk_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_esetup_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_tpbus_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_zcull_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_tpconf_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_unk_1[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_gcc_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_ffb_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_tex_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_poly_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_l1c_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_unk_2[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_mp_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_gpc_ppc_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_rop_zrop_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_rop_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_rop_crop_0[] =;

const struct nvkm_therm_clkgate_init
gk104_clkgate_blcg_init_pxbar_0[] =;

static const struct nvkm_therm_clkgate_pack
gk104_clkgate_pack[] =;

/*******************************************************************************
 * PGRAPH engine/subdev functions
 ******************************************************************************/

void
gk104_gr_init_sked_hww_esr(struct gf100_gr *gr)
{}

static void
gk104_gr_init_fecs_exceptions(struct gf100_gr *gr)
{}

void
gk104_gr_init_rop_active_fbps(struct gf100_gr *gr)
{}

void
gk104_gr_init_ppc_exceptions(struct gf100_gr *gr)
{}

void
gk104_gr_init_vsc_stream_master(struct gf100_gr *gr)
{}

#include "fuc/hubgk104.fuc3.h"

static struct gf100_gr_ucode
gk104_gr_fecs_ucode =;

#include "fuc/gpcgk104.fuc3.h"

static struct gf100_gr_ucode
gk104_gr_gpccs_ucode =;

static const struct gf100_gr_func
gk104_gr =;

static const struct gf100_gr_fwif
gk104_gr_fwif[] =;

int
gk104_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr)
{}