Lines Matching refs:plane

47  * handle that can be passed to the KMS CRTC control, plane configuration and
155 const struct drm_format_info *format, int plane)
157 if (plane == 0)
164 const struct drm_format_info *format, int plane)
166 if (plane == 0)
208 DRM_DEBUG_KMS("Format requires non-linear modifier for plane %d\n", i);
213 DRM_DEBUG_KMS("no buffer object handle for plane %d\n", i);
224 DRM_DEBUG_KMS("bad pitch %u for plane %d\n", r->pitches[i], i);
229 DRM_DEBUG_KMS("bad fb modifier %llu for plane %d\n",
236 DRM_DEBUG_KMS("bad fb modifier %llu for plane %d\n",
250 DRM_DEBUG_KMS("bad modifier data for plane %d\n", i);
262 DRM_DEBUG_KMS("non-zero modifier for unused plane %d\n", i);
271 DRM_DEBUG_KMS("buffer object handle for unused plane %d\n", i);
276 DRM_DEBUG_KMS("non-zero pitch for unused plane %d\n", i);
281 DRM_DEBUG_KMS("non-zero offset for unused plane %d\n", i);
582 /* For multi-plane framebuffers, we require the driver to place the
583 * GEM objects directly in the drm_framebuffer. For single-plane
958 struct drm_plane *plane;
981 drm_for_each_plane(plane, dev) {
984 if (plane->state->fb != fb)
987 plane_state = drm_atomic_get_plane_state(state, plane);
993 if (disable_crtcs && plane_state->crtc->primary == plane) {
1013 plane_mask |= drm_plane_mask(plane);
1052 struct drm_plane *plane;
1064 drm_for_each_plane(plane, dev) {
1065 if (plane->fb == fb)
1066 drm_plane_force_disable(plane);
1123 * drm_framebuffer_plane_width - width of the plane given the first plane
1124 * @width: width of the first plane
1126 * @plane: plane index
1129 * The width of @plane, given that the width of the first plane is @width.
1132 const struct drm_framebuffer *fb, int plane)
1134 if (plane >= fb->format->num_planes)
1137 return fb_plane_width(width, fb->format, plane);
1142 * drm_framebuffer_plane_height - height of the plane given the first plane
1143 * @height: height of the first plane
1145 * @plane: plane index
1148 * The height of @plane, given that the height of the first plane is @height.
1151 const struct drm_framebuffer *fb, int plane)
1153 if (plane >= fb->format->num_planes)
1156 return fb_plane_height(height, fb->format, plane);