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;
813 if (!nv_crtc->base.primary->fb) {
839 if (!atomic && !crtc->primary->fb) {
850 drm_fb = crtc->primary->fb;
1152 struct drm_framebuffer *old_fb = crtc->primary->fb;
1228 crtc->primary->fb = fb;
1281 struct drm_plane *primary;
1284 primary = kzalloc(sizeof(*primary), GFP_KERNEL);
1285 if (primary == NULL) {
1286 DRM_DEBUG_KMS("Failed to allocate primary plane\n");
1291 ret = drm_universal_plane_init(dev, primary, 0,
1297 kfree(primary);
1298 primary = NULL;
1301 return primary;