Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv10.c368 static int nv17_gr_ctx_regs[] = { variable
404 int nv17[ARRAY_SIZE(nv17_gr_ctx_regs)];
803 for (i = 0; i < ARRAY_SIZE(nv17_gr_ctx_regs); i++) { in nv17_gr_ctx_regs_find_offset()
804 if (nv17_gr_ctx_regs[i] == reg) in nv17_gr_ctx_regs_find_offset()
894 for (i = 0; i < ARRAY_SIZE(nv17_gr_ctx_regs); i++) in nv10_gr_load_context()
895 nvkm_wr32(device, nv17_gr_ctx_regs[i], chan->nv17[i]); in nv10_gr_load_context()
920 for (i = 0; i < ARRAY_SIZE(nv17_gr_ctx_regs); i++) in nv10_gr_unload_context()
921 chan->nv17[i] = nvkm_rd32(device, nv17_gr_ctx_regs[i]); in nv10_gr_unload_context()