Lines Matching refs:plane_resp
805 struct drm_mode_get_plane_res *plane_resp = data;
813 plane_ptr = u64_to_user_ptr(plane_resp->plane_id_ptr);
842 if (count < plane_resp->count_planes &&
848 plane_resp->count_planes = count;
856 struct drm_mode_get_plane *plane_resp = data;
863 plane = drm_plane_find(dev, file_priv, plane_resp->plane_id);
869 plane_resp->crtc_id = plane->state->crtc->base.id;
871 plane_resp->crtc_id = plane->crtc->base.id;
873 plane_resp->crtc_id = 0;
876 plane_resp->fb_id = plane->state->fb->base.id;
878 plane_resp->fb_id = plane->fb->base.id;
880 plane_resp->fb_id = 0;
883 plane_resp->plane_id = plane->base.id;
884 plane_resp->possible_crtcs = drm_lease_filter_crtcs(file_priv,
887 plane_resp->gamma_size = 0;
894 (plane_resp->count_format_types >= plane->format_count)) {
895 format_ptr = (uint32_t __user *)(unsigned long)plane_resp->format_type_ptr;
902 plane_resp->count_format_types = plane->format_count;