Lines Matching refs:screen
65 nouveau_screen_fence_signalled(struct pipe_screen *screen, in nouveau_screen_fence_signalled() argument
72 nouveau_screen_fence_finish(struct pipe_screen *screen, in nouveau_screen_fence_finish() argument
120 nouveau_screen_init(struct nouveau_screen *screen, struct nouveau_device *dev) in nouveau_screen_init() argument
122 struct pipe_screen *pscreen = &screen->base; in nouveau_screen_init()
143 data, size, &screen->channel); in nouveau_screen_init()
146 screen->device = dev; in nouveau_screen_init()
148 ret = nouveau_client_new(screen->device, &screen->client); in nouveau_screen_init()
151 ret = nouveau_pushbuf_new(screen->client, screen->channel, in nouveau_screen_init()
153 &screen->pushbuf); in nouveau_screen_init()
158 screen->cpu_gpu_time_delta = os_time_get(); in nouveau_screen_init()
162 screen->cpu_gpu_time_delta = time - screen->cpu_gpu_time_delta * 1000; in nouveau_screen_init()
175 screen->lowmem_bindings = PIPE_BIND_GLOBAL; /* gallium limit */ in nouveau_screen_init()
176 screen->vidmem_bindings = in nouveau_screen_init()
182 screen->sysmem_bindings = in nouveau_screen_init()
187 screen->mm_GART = nouveau_mm_create(dev, in nouveau_screen_init()
190 screen->mm_VRAM = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_config); in nouveau_screen_init()
195 nouveau_screen_fini(struct nouveau_screen *screen) in nouveau_screen_fini() argument
197 nouveau_mm_destroy(screen->mm_GART); in nouveau_screen_fini()
198 nouveau_mm_destroy(screen->mm_VRAM); in nouveau_screen_fini()
200 nouveau_pushbuf_del(&screen->pushbuf); in nouveau_screen_fini()
202 nouveau_client_del(&screen->client); in nouveau_screen_fini()
203 nouveau_object_del(&screen->channel); in nouveau_screen_fini()
205 nouveau_device_del(&screen->device); in nouveau_screen_fini()