Home | History | Annotate | Download | only in drm

Lines Matching defs:plane

52  * handle that can be passed to the KMS CRTC control, plane configuration and
160 const struct drm_format_info *format, int plane)
162 if (plane == 0)
169 const struct drm_format_info *format, int plane)
171 if (plane == 0)
214 DRM_DEBUG_KMS("Format requires non-linear modifier for plane %d\n", i);
219 DRM_DEBUG_KMS("no buffer object handle for plane %d\n", i);
230 DRM_DEBUG_KMS("bad pitch %u for plane %d\n", r->pitches[i], i);
235 DRM_DEBUG_KMS("bad fb modifier %"PRIu64" for plane %d\n",
242 DRM_DEBUG_KMS("bad fb modifier %"PRIu64" for plane %d\n",
256 DRM_DEBUG_KMS("bad modifier data for plane %d\n", i);
268 DRM_DEBUG_KMS("non-zero modifier for unused plane %d\n", i);
277 DRM_DEBUG_KMS("buffer object handle for unused plane %d\n", i);
282 DRM_DEBUG_KMS("non-zero pitch for unused plane %d\n", i);
287 DRM_DEBUG_KMS("non-zero offset for unused plane %d\n", i);
847 struct drm_plane *plane;
870 drm_for_each_plane(plane, dev) {
873 if (plane->state->fb != fb)
876 plane_state = drm_atomic_get_plane_state(state, plane);
882 if (disable_crtcs && plane_state->crtc->primary == plane) {
902 plane_mask |= drm_plane_mask(plane);
941 struct drm_plane *plane;
953 drm_for_each_plane(plane, dev) {
954 if (plane->fb == fb)
955 drm_plane_force_disable(plane);
1011 * drm_framebuffer_plane_width - width of the plane given the first plane
1012 * @width: width of the first plane
1014 * @plane: plane index
1017 * The width of @plane, given that the width of the first plane is @width.
1020 const struct drm_framebuffer *fb, int plane)
1022 if (plane >= fb->format->num_planes)
1025 return fb_plane_width(width, fb->format, plane);
1030 * drm_framebuffer_plane_height - height of the plane given the first plane
1031 * @height: height of the first plane
1033 * @plane: plane index
1036 * The height of @plane, given that the height of the first plane is @height.
1039 const struct drm_framebuffer *fb, int plane)
1041 if (plane >= fb->format->num_planes)
1044 return fb_plane_height(height, fb->format, plane);