Lines Matching defs:primary
242 struct drm_framebuffer *fb = crtc->primary->fb;
468 const struct drm_framebuffer *fb = crtc->primary->fb;
497 /* Except for rare conditions I2C is enabled on the primary crtc */
613 struct drm_framebuffer *fb = crtc->primary->fb;
814 if (!nv_crtc->base.primary->fb) {
840 if (!atomic && !crtc->primary->fb) {
851 drm_fb = crtc->primary->fb;
1145 struct drm_framebuffer *old_fb = crtc->primary->fb;
1221 crtc->primary->fb = fb;
1289 struct drm_plane *primary;
1304 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0,
1309 if (IS_ERR(primary)) {
1310 ret = PTR_ERR(primary);
1315 drm_crtc_init_with_planes(dev, &nv_crtc->base, primary, NULL,