Commit 3d7b3789 authored by José María Casanova Crespo's avatar José María Casanova Crespo
Browse files

v3d: YUV formats at is_dmabuf_modifier_supported are external_only

This fixes Issue https://github.com/Igalia/meta-webkit/issues/185
"Issue Raspberry 4-64 + Mesa VC4 driver + Gstreamer = red Label on video"

Fixes: 6ee10ab3

 "gallium: Add pipe_screen::is_dmabuf_modifier_supported"
Reviewed-by: Alejandro Piñeiro's avatarAlejandro Piñeiro <apinheiro@igalia.com>
Part-of: <!10524>
parent af00c925
......@@ -691,7 +691,7 @@ v3d_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen,
for (i = 0; i < ARRAY_SIZE(v3d_available_modifiers) - 1; i++) {
if (v3d_available_modifiers[i] == modifier) {
if (external_only)
*external_only = false;
*external_only = util_format_is_yuv(format);
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment