Searched refs:nouveau_fb (Results 1 – 2 of 2) sorted by relevance
55 struct nouveau_framebuffer *nouveau_fb; in nv04_display_fini() local57 nouveau_fb = nouveau_framebuffer(crtc->primary->fb); in nv04_display_fini()58 if (!nouveau_fb || !nouveau_fb->nvbo) in nv04_display_fini()61 nouveau_bo_unpin(nouveau_fb->nvbo); in nv04_display_fini()107 struct nouveau_framebuffer *nouveau_fb; in nv04_display_init() local109 nouveau_fb = nouveau_framebuffer(crtc->primary->fb); in nv04_display_init()110 if (!nouveau_fb || !nouveau_fb->nvbo) in nv04_display_init()113 ret = nouveau_bo_pin(nouveau_fb->nvbo, TTM_PL_FLAG_VRAM, true); in nv04_display_init()
416 struct nouveau_framebuffer *nouveau_fb = nouveau_framebuffer(fbcon->helper.fb); in nouveau_fbcon_destroy() local421 if (nouveau_fb && nouveau_fb->nvbo) { in nouveau_fbcon_destroy()422 nouveau_vma_del(&nouveau_fb->vma); in nouveau_fbcon_destroy()423 nouveau_bo_unmap(nouveau_fb->nvbo); in nouveau_fbcon_destroy()424 nouveau_bo_unpin(nouveau_fb->nvbo); in nouveau_fbcon_destroy()425 drm_framebuffer_put(&nouveau_fb->base); in nouveau_fbcon_destroy()