Searched refs:ctxprog (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxnv40.h | 26 u32 *ctxprog = ctx->ucode; in cp_out() local 32 ctxprog[ctx->ctxprog_len++] = inst; in cp_out() 60 u32 *ctxprog = ctx->ucode; in cp_name() local 68 if ((ctxprog[i] & 0xfff00000) != 0xff400000) in cp_name() 70 if ((ctxprog[i] & CP_BRA_IP) != ((name) << CP_BRA_IP_SHIFT)) in cp_name() 72 ctxprog[i] = (ctxprog[i] & 0x00ff00ff) | in cp_name()
|
D | ctxnv40.c | 673 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()
|
D | ctxnv50.c | 267 u32 *ctxprog = kmalloc(512 * 4, GFP_KERNEL), i; in nv50_grctx_init() local 271 .ucode = ctxprog, in nv50_grctx_init() 275 if (!ctxprog) in nv50_grctx_init() 281 nvkm_wr32(device, 0x400328, ctxprog[i]); in nv50_grctx_init() 283 kfree(ctxprog); in nv50_grctx_init()
|