Lines Matching full:modifier

142 				 u32 format, u64 modifier)  in malidp_format_mod_supported()  argument
149 if (WARN_ON(modifier == DRM_FORMAT_MOD_INVALID)) in malidp_format_mod_supported()
152 /* Some pixel formats are supported without any modifier */ in malidp_format_mod_supported()
153 if (modifier == DRM_FORMAT_MOD_LINEAR) { in malidp_format_mod_supported()
161 if (!fourcc_mod_is_vendor(modifier, ARM)) { in malidp_format_mod_supported()
162 DRM_ERROR("Unknown modifier (not Arm)\n"); in malidp_format_mod_supported()
166 if (modifier & in malidp_format_mod_supported()
175 if (WARN_ON_ONCE((modifier & AFBC_SPLIT) && !(modifier & AFBC_SPARSE))) in malidp_format_mod_supported()
179 if (WARN_ON_ONCE((modifier & AFBC_CBR) && (modifier & AFBC_YTR))) in malidp_format_mod_supported()
183 if (*modifiers == modifier) in malidp_format_mod_supported()
189 /* return false, if the modifier was not found */ in malidp_format_mod_supported()
191 DRM_DEBUG_KMS("Unsupported modifier\n"); in malidp_format_mod_supported()
209 * RGB formats need to provide YTR modifier and YUV formats should not in malidp_format_mod_supported()
210 * provide YTR modifier. in malidp_format_mod_supported()
212 if (!(info->is_yuv) != !!(modifier & AFBC_FORMAT_MOD_YTR)) { in malidp_format_mod_supported()
219 if (modifier & AFBC_SPLIT) { in malidp_format_mod_supported()
236 if (modifier & AFBC_CBR) { in malidp_format_mod_supported()
247 u32 format, u64 modifier) in malidp_format_mod_supported_per_plane() argument
249 return malidp_format_mod_supported(plane->dev, format, modifier); in malidp_format_mod_supported_per_plane()
364 static bool malidp_partial_prefetch_supported(u32 format, u64 modifier, in malidp_partial_prefetch_supported() argument
374 afbc = modifier & DRM_FORMAT_MOD_ARM_AFBC(0); in malidp_partial_prefetch_supported()
375 sparse = modifier & AFBC_FORMAT_MOD_SPARSE; in malidp_partial_prefetch_supported()
446 ms->base.fb->modifier, in malidp_mmu_prefetch_select_mode()
512 !!fb->modifier); in malidp_de_plane_check()
521 & (alignment - 1)) && !(fb->modifier)) { in malidp_de_plane_check()
563 if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier)) in malidp_de_plane_check()
570 fb->format->format == DRM_FORMAT_BGR888) && !(fb->modifier)) in malidp_de_plane_check()
575 if (mp->layer->id == DE_SMART && fb->modifier) { in malidp_de_plane_check()
587 !!(fb->modifier)); in malidp_de_plane_check()
711 bool afbc = fb->modifier ? true : false; in malidp_set_plane_base_addr()
751 if (!fb->modifier) { in malidp_de_set_plane_afbc()
773 if (fb->modifier & AFBC_FORMAT_MOD_SPLIT) in malidp_de_set_plane_afbc()
775 if (fb->modifier & AFBC_FORMAT_MOD_YTR) in malidp_de_set_plane_afbc()
802 if (fb->modifier) { in malidp_de_plane_update()