Lines Matching refs:primary
242 struct drm_framebuffer *fb = crtc->primary->fb; in nv_crtc_mode_set_vga()
468 const struct drm_framebuffer *fb = crtc->primary->fb; in nv_crtc_mode_set_regs()
613 struct drm_framebuffer *fb = crtc->primary->fb; in nv_crtc_swap_fbs()
814 if (!nv_crtc->base.primary->fb) { in nv_crtc_gamma_set()
840 if (!atomic && !crtc->primary->fb) { in nv04_crtc_do_mode_set_base()
851 drm_fb = crtc->primary->fb; in nv04_crtc_do_mode_set_base()
1145 struct drm_framebuffer *old_fb = crtc->primary->fb; in nv04_crtc_page_flip()
1221 crtc->primary->fb = fb; in nv04_crtc_page_flip()
1289 struct drm_plane *primary; in nv04_crtc_create() local
1304 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0, in nv04_crtc_create()
1309 if (IS_ERR(primary)) { in nv04_crtc_create()
1310 ret = PTR_ERR(primary); in nv04_crtc_create()
1315 drm_crtc_init_with_planes(dev, &nv_crtc->base, primary, NULL, in nv04_crtc_create()