Lines Matching refs:primary
169 format = shmob_drm_format_info(crtc->primary->fb->format->format); in shmob_drm_crtc_start()
294 struct drm_framebuffer *fb = crtc->primary->fb; in shmob_drm_crtc_compute_base()
358 format = shmob_drm_format_info(crtc->primary->fb->format->format); in shmob_drm_crtc_mode_set()
361 &crtc->primary->fb->format->format); in shmob_drm_crtc_mode_set()
366 scrtc->line_size = crtc->primary->fb->pitches[0]; in shmob_drm_crtc_mode_set()
427 crtc->primary->fb = fb; in shmob_drm_crtc_page_flip()
496 struct drm_plane *primary; in shmob_drm_crtc_create() local
501 primary = __drm_universal_plane_alloc(sdev->ddev, sizeof(*primary), 0, in shmob_drm_crtc_create()
507 if (IS_ERR(primary)) in shmob_drm_crtc_create()
508 return PTR_ERR(primary); in shmob_drm_crtc_create()
510 ret = drm_crtc_init_with_planes(sdev->ddev, crtc, primary, NULL, in shmob_drm_crtc_create()
513 drm_plane_cleanup(primary); in shmob_drm_crtc_create()
514 kfree(primary); in shmob_drm_crtc_create()