/*
* 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 < bskeggs @ redhat . com >
*/
#include "ctxgf100.h"
/*******************************************************************************
* PGRAPH context register lists
******************************************************************************/
static const struct gf100_gr_init
gk110b_grctx_init_sm_0[] = {
{ 0 x419e04, 1 , 0 x04, 0 x00000000 },
{ 0 x419e08, 1 , 0 x04, 0 x0000001d },
{ 0 x419e0c, 1 , 0 x04, 0 x00000000 },
{ 0 x419e10, 1 , 0 x04, 0 x00001c02 },
{ 0 x419e44, 1 , 0 x04, 0 x0013eff2 },
{ 0 x419e48, 1 , 0 x04, 0 x00000000 },
{ 0 x419e4c, 1 , 0 x04, 0 x0000007f },
{ 0 x419e50, 2 , 0 x04, 0 x00000000 },
{ 0 x419e58, 1 , 0 x04, 0 x00000001 },
{ 0 x419e5c, 3 , 0 x04, 0 x00000000 },
{ 0 x419e68, 1 , 0 x04, 0 x00000002 },
{ 0 x419e6c, 12 , 0 x04, 0 x00000000 },
{ 0 x419eac, 1 , 0 x04, 0 x00001f8f },
{ 0 x419eb0, 1 , 0 x04, 0 x0db00d2f },
{ 0 x419eb8, 1 , 0 x04, 0 x00000000 },
{ 0 x419ec8, 1 , 0 x04, 0 x0001304f },
{ 0 x419f30, 4 , 0 x04, 0 x00000000 },
{ 0 x419f40, 1 , 0 x04, 0 x00000018 },
{ 0 x419f44, 3 , 0 x04, 0 x00000000 },
{ 0 x419f58, 1 , 0 x04, 0 x00000000 },
{ 0 x419f70, 1 , 0 x04, 0 x00006300 },
{ 0 x419f78, 1 , 0 x04, 0 x000000eb },
{ 0 x419f7c, 1 , 0 x04, 0 x00000404 },
{}
};
static const struct gf100_gr_pack
gk110b_grctx_pack_tpc[] = {
{ gf117_grctx_init_pe_0 },
{ gk110_grctx_init_tex_0 },
{ gk110_grctx_init_mpc_0 },
{ gk110_grctx_init_l1c_0 },
{ gk110b_grctx_init_sm_0 },
{}
};
/*******************************************************************************
* PGRAPH context implementation
******************************************************************************/
const struct gf100_grctx_func
gk110b_grctx = {
.main = gf100_grctx_generate_main,
.unkn = gk104_grctx_generate_unkn,
.hub = gk110_grctx_pack_hub,
.gpc_0 = gk110_grctx_pack_gpc_0,
.gpc_1 = gk110_grctx_pack_gpc_1,
.zcull = gf100_grctx_pack_zcull,
.tpc = gk110b_grctx_pack_tpc,
.ppc = gk110_grctx_pack_ppc,
.icmd = gk110_grctx_pack_icmd,
.mthd = gk110_grctx_pack_mthd,
.bundle = gk104_grctx_generate_bundle,
.bundle_size = 0 x3000,
.bundle_min_gpm_fifo_depth = 0 x180,
.bundle_token_limit = 0 x600,
.pagepool = gk104_grctx_generate_pagepool,
.pagepool_size = 0 x8000,
.attrib_cb_size = gf100_grctx_generate_attrib_cb_size,
.attrib_cb = gf100_grctx_generate_attrib_cb,
.attrib = gf117_grctx_generate_attrib,
.attrib_nr_max = 0 x324,
.attrib_nr = 0 x218,
.alpha_nr_max = 0 x7ff,
.alpha_nr = 0 x648,
.patch_ltc = gk104_grctx_generate_patch_ltc,
.sm_id = gf100_grctx_generate_sm_id,
.tpc_nr = gf100_grctx_generate_tpc_nr,
.rop_mapping = gf117_grctx_generate_rop_mapping,
.alpha_beta_tables = gk104_grctx_generate_alpha_beta_tables,
.dist_skip_table = gf117_grctx_generate_dist_skip_table,
.gpc_tpc_nr = gk104_grctx_generate_gpc_tpc_nr,
.r418800 = gk104_grctx_generate_r418800,
.r419eb0 = gk110_grctx_generate_r419eb0,
.r419f78 = gk110_grctx_generate_r419f78,
};
Messung V0.5 in Prozent C=98 H=100 G=98
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-06)
¤
*© Formatika GbR, Deutschland