Lines Matching defs:format

104 	state->format = m_state->format;
134 drm_printf(p, "\tformat_id=%u\n", ms->format);
142 u32 format, u64 modifier)
158 return !malidp_hw_format_is_afbc_only(format);
195 info = drm_format_info(format);
202 if (malidp_hw_format_is_linear_only(format) == true) {
203 DRM_DEBUG_KMS("Given format (0x%x) is supported is linear mode only\n",
204 format);
228 if (!(format == DRM_FORMAT_YUV420_10BIT &&
247 u32 format, u64 modifier)
249 return malidp_format_mod_supported(plane->dev, format, modifier);
362 * current format, AFBC state and rotation.
364 static bool malidp_partial_prefetch_supported(u32 format, u64 modifier,
377 switch (format) {
420 * is selected as long as it is supported for the current format. The selected
445 if (malidp_partial_prefetch_supported(ms->base.fb->format->format,
510 ms->format = malidp_hw_get_format_id(&mp->hwdev->hw->map,
511 mp->layer->id, fb->format->format,
513 if (ms->format == MALIDP_INVALID_FORMAT_ID)
516 ms->n_planes = fb->format->num_planes;
520 if (((fb->pitches[i] * drm_format_info_block_height(fb->format, i))
528 block_w = drm_format_info_block_width(fb->format, 0);
529 block_h = drm_format_info_block_height(fb->format, 0);
569 if ((fb->format->format == DRM_FORMAT_RGB888 ||
570 fb->format->format == DRM_FORMAT_BGR888) && !(fb->modifier))
586 fb->format->format,
597 fb->format->has_alpha)
624 unsigned int block_h = drm_format_info_block_height(mp->base.state->fb->format, i);
815 val = (val & ~LAYER_FORMAT_MASK) | ms->format;
872 } else if (new_state->fb->format->has_alpha) {
873 /* We only care about blend mode if the format has alpha */
969 formats[n++] = map->pixel_formats[j].format;