Home | History | Annotate | Download | only in drm

Lines Matching defs:plane

72  * &drm_crtc_funcs.set_config, legacy plane operations, see
218 * @primary: Primary plane for CRTC
219 * @cursor: Cursor plane for CRTC
226 * planes). For really simple hardware which has only 1 plane look at
370 struct drm_plane *plane;
379 plane = crtc->primary;
383 drm_modeset_lock(&plane->mutex, NULL);
384 if (plane->state && plane->state->fb)
385 crtc_resp->fb_id = plane->state->fb->base.id;
386 else if (!plane->state && plane->fb)
387 crtc_resp->fb_id = plane->fb->base.id;
391 if (plane->state) {
392 crtc_resp->x = plane->state->src_x >> 16;
393 crtc_resp->y = plane->state->src_y >> 16;
395 drm_modeset_unlock(&plane->mutex);
440 struct drm_plane *plane = tmp->primary;
442 plane->old_fb = plane->fb;
449 struct drm_plane *plane = crtc->primary;
451 plane->crtc = fb ? crtc : NULL;
452 plane->fb = fb;
456 struct drm_plane *plane = tmp->primary;
458 if (plane->fb)
459 drm_framebuffer_get(plane->fb);
460 if (plane->old_fb)
461 drm_framebuffer_put(plane->old_fb);
462 plane->old_fb = NULL;
537 struct drm_plane *plane;
551 * Universal plane src offsets are only 16.16, prevent havoc for
552 * drivers using universal plane code internally.
564 plane = crtc->primary;
566 /* allow disabling with the primary plane leased */
567 if (crtc_req->mode_valid && !drm_lease_held(file_priv, plane->base.id))
580 if (plane->state)
581 old_fb = plane->state->fb;
583 old_fb = plane->fb;
626 * Check whether the primary plane supports the fb pixel format.
632 if (!plane->format_default) {
633 ret = drm_plane_check_pixel_format(plane,