Home
last modified time | relevance | path

Searched refs:ctxprog (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv40.h27 u32 *ctxprog = ctx->ucode; in cp_out() local
33 ctxprog[ctx->ctxprog_len++] = inst; in cp_out()
61 u32 *ctxprog = ctx->ucode; in cp_name() local
69 if ((ctxprog[i] & 0xfff00000) != 0xff400000) in cp_name()
71 if ((ctxprog[i] & CP_BRA_IP) != ((name) << CP_BRA_IP_SHIFT)) in cp_name()
73 ctxprog[i] = (ctxprog[i] & 0x00ff00ff) | in cp_name()
Dctxnv40.c673 u32 *ctxprog = kmalloc(256 * 4, GFP_KERNEL), i; in nv40_grctx_init() local
677 .ucode = ctxprog, in nv40_grctx_init()
681 if (!ctxprog) in nv40_grctx_init()
688 nvkm_wr32(device, 0x400328, ctxprog[i]); in nv40_grctx_init()
691 kfree(ctxprog); in nv40_grctx_init()
Dctxnv50.c268 u32 *ctxprog = kmalloc(512 * 4, GFP_KERNEL), i; in nv50_grctx_init() local
272 .ucode = ctxprog, in nv50_grctx_init()
276 if (!ctxprog) in nv50_grctx_init()
282 nvkm_wr32(device, 0x400328, ctxprog[i]); in nv50_grctx_init()
284 kfree(ctxprog); in nv50_grctx_init()