Lines Matching refs:SCREEN
38 struct nouveau_screen *screen = nouveau_screen(pipe->screen);
41 nouveau_fence_ref(screen->fence.current, (struct nouveau_fence **)fence);
43 PUSH_KICK(screen->pushbuf);
60 struct nv50_screen *screen = push->user_priv;
62 if (screen) {
63 nouveau_fence_next(&screen->base);
64 nouveau_fence_update(&screen->base, TRUE);
65 if (screen->cur_ctx)
66 screen->cur_ctx->state.flushed = TRUE;
120 struct nv50_screen *screen = nv50_screen(pscreen);
131 nv50->base.pushbuf = screen->base.pushbuf;
133 ret = nouveau_bufctx_new(screen->base.client, NV50_BIND_COUNT,
136 ret = nouveau_bufctx_new(screen->base.client, 2, &nv50->bufctx);
140 nv50->base.screen = &screen->base;
145 nv50->screen = screen;
146 pipe->screen = pscreen;
157 if (!screen->cur_ctx) {
158 screen->cur_ctx = nv50;
159 nouveau_pushbuf_bufctx(screen->base.pushbuf, nv50->bufctx);
178 BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->code);
179 BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->uniforms);
180 BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->txc);
181 BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->stack_bo);
185 BCTX_REFN_bo(nv50->bufctx_3d, SCREEN, flags, screen->fence.bo);
186 BCTX_REFN_bo(nv50->bufctx, FENCE, flags, screen->fence.bo);