Lines Matching refs:present
272 if (pNv->present) {
273 free(pNv->present);
274 pNv->present = NULL;
283 struct nouveau_present *present;
287 present = pNv->present = calloc(1, sizeof(*present));
288 if (!present)
291 present->info.version = PRESENT_SCREEN_INFO_VERSION;
292 present->info.get_crtc = nouveau_present_crtc;
293 present->info.get_ust_msc = nouveau_present_ust_msc;
294 present->info.queue_vblank = nouveau_present_vblank_queue;
295 present->info.abort_vblank = nouveau_present_vblank_abort;
296 present->info.flush = nouveau_present_flush;
302 present->info.capabilities |= PresentCapabilityAsync;
304 present->info.check_flip = nouveau_present_flip_check;
305 present->info.flip = nouveau_present_flip_next;
306 present->info.unflip = nouveau_present_flip_stop;
309 return present_screen_init(screen, &present->info);