Lines Matching defs:height
83 fb_height = fb->height << 16;
96 fb->width, fb->height);
135 r.height = or->height;
163 static int fb_plane_height(int height,
167 return height;
169 return DIV_ROUND_UP(height, format->vsub);
193 if (r->height == 0) {
194 DRM_DEBUG_KMS("bad framebuffer height %u\n", r->height);
203 unsigned int height = fb_plane_height(r->height, info, i);
220 if ((uint64_t) height * r->pitches[i] + r->offsets[i] > UINT_MAX)
248 width % 128 || height % 32 ||
308 if ((config->min_height > r->height) || (r->height > config->max_height)) {
309 DRM_DEBUG_KMS("bad framebuffer height %d, should be >= %d && <= %d\n",
310 r->height, config->min_height, config->max_height);
530 r->height = fb->height;
592 r->height = fb->height;
1142 * drm_framebuffer_plane_height - height of the plane given the first plane
1143 * @height: height of the first plane
1148 * The height of @plane, given that the height of the first plane is @height.
1150 int drm_framebuffer_plane_height(int height,
1156 return fb_plane_height(height, fb->format, plane);
1172 drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height);
1178 drm_framebuffer_plane_height(fb->height, fb, i));