Lines Matching refs:plane_resp
487 struct drm_mode_get_plane_res *plane_resp = data;
495 plane_ptr = u64_to_user_ptr(plane_resp->plane_id_ptr);
511 if (count < plane_resp->count_planes &&
517 plane_resp->count_planes = count;
525 struct drm_mode_get_plane *plane_resp = data;
532 plane = drm_plane_find(dev, file_priv, plane_resp->plane_id);
538 plane_resp->crtc_id = plane->state->crtc->base.id;
540 plane_resp->crtc_id = plane->crtc->base.id;
542 plane_resp->crtc_id = 0;
545 plane_resp->fb_id = plane->state->fb->base.id;
547 plane_resp->fb_id = plane->fb->base.id;
549 plane_resp->fb_id = 0;
552 plane_resp->plane_id = plane->base.id;
553 plane_resp->possible_crtcs = drm_lease_filter_crtcs(file_priv,
556 plane_resp->gamma_size = 0;
563 (plane_resp->count_format_types >= plane->format_count)) {
564 format_ptr = (uint32_t __user *)(unsigned long)plane_resp->format_type_ptr;
571 plane_resp->count_format_types = plane->format_count;