Lines Matching defs:depth
1206 u8 depth)
1208 switch (depth) {
1316 drm_fb_helper_fill_pixel_fmt(var, fb->format->depth);
1499 * If driver picks 8 or 16 by default use that for both depth/bpp
1538 * supports RGBA5551 (16 bpp, depth 15) but not RGB565 (16 bpp, depth
1539 * 16) we need to scale down the depth of the sizes we request.
1557 * are supported (fmt->depth is a legacy field) but
1561 if (fmt->depth == 0)
1565 if (fmt->depth == sizes.surface_depth) {
1566 best_depth = fmt->depth;
1571 if (fmt->depth > sizes.surface_depth)
1574 /* Best depth found so far */
1575 if (fmt->depth > best_depth)
1576 best_depth = fmt->depth;
1580 drm_info(dev, "requested bpp %d, scaled depth down to %d",
1652 uint32_t depth)
1655 info->fix.visual = depth == 8 ? FB_VISUAL_PSEUDOCOLOR :
1685 drm_fb_helper_fill_pixel_fmt(&info->var, fb->format->depth);
1710 drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth);