Lines Matching defs:depth
84 switch (par->set_fb->format->depth) {
92 DRM_ERROR("Bad depth %u, bpp %u.\n",
93 par->set_fb->format->depth,
104 int depth = var->bits_per_pixel;
110 depth = (var->transp.length > 0) ? 32 : 24;
117 switch (depth) {
139 DRM_ERROR("Bad depth %u.\n", depth);
425 int *depth)
429 *depth = (var->transp.length > 0) ? 32 : 24;
506 int ret = 0, depth;
509 ret = vmw_fb_compute_depth(var, &depth);
517 drm_mode_legacy_fb_format(var->bits_per_pixel, depth);
714 /* 24 depth per default */