Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv10.c46 static int nv10_gr_ctx_regs[] = { variable
403 int nv10[ARRAY_SIZE(nv10_gr_ctx_regs)];
790 for (i = 0; i < ARRAY_SIZE(nv10_gr_ctx_regs); i++) { in nv10_gr_ctx_regs_find_offset()
791 if (nv10_gr_ctx_regs[i] == reg) in nv10_gr_ctx_regs_find_offset()
890 for (i = 0; i < ARRAY_SIZE(nv10_gr_ctx_regs); i++) in nv10_gr_load_context()
891 nvkm_wr32(device, nv10_gr_ctx_regs[i], chan->nv10[i]); in nv10_gr_load_context()
916 for (i = 0; i < ARRAY_SIZE(nv10_gr_ctx_regs); i++) in nv10_gr_unload_context()
917 chan->nv10[i] = nvkm_rd32(device, nv10_gr_ctx_regs[i]); in nv10_gr_unload_context()