Searched refs:ctxprog (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv40.h | 29 u32 *ctxprog = ctx->ucode; in cp_out() local 35 ctxprog[ctx->ctxprog_len++] = inst; in cp_out() 63 u32 *ctxprog = ctx->ucode; in cp_name() local 71 if ((ctxprog[i] & 0xfff00000) != 0xff400000) in cp_name() 73 if ((ctxprog[i] & CP_BRA_IP) != ((name) << CP_BRA_IP_SHIFT)) in cp_name() 75 ctxprog[i] = (ctxprog[i] & 0x00ff00ff) | in cp_name()
|
H A D | nouveau_nvkm_engine_gr_ctxnv40.c | 678 u32 *ctxprog = kmalloc(256 * 4, GFP_KERNEL), i; in nv40_grctx_init() local 682 .ucode = ctxprog, in nv40_grctx_init() 686 if (!ctxprog) in nv40_grctx_init() 693 nvkm_wr32(device, 0x400328, ctxprog[i]); in nv40_grctx_init() 696 kfree(ctxprog); in nv40_grctx_init()
|
H A D | nouveau_nvkm_engine_gr_ctxnv50.c | 273 u32 *ctxprog = kmalloc(512 * 4, GFP_KERNEL), i; in nv50_grctx_init() local 277 .ucode = ctxprog, in nv50_grctx_init() 281 if (!ctxprog) in nv50_grctx_init() 287 nvkm_wr32(device, 0x400328, ctxprog[i]); in nv50_grctx_init() 289 kfree(ctxprog); in nv50_grctx_init()
|