mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
v3d: YUV formats at query_dmabuf_modifiers 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:95c4f0f910"v3d: Enables DRM_FORMAT_MOD_BROADCOM_SAND128 support" Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10524> (cherry picked from commit9094ad7c6a)
This commit is contained in:
parent
e633a4a3a8
commit
563c41a44a
2 changed files with 3 additions and 5 deletions
|
|
@ -238,7 +238,7 @@
|
|||
"description": "v3d: YUV formats at query_dmabuf_modifiers are external_only",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "95c4f0f91098a0da5a8e8ec76cb38f2c95bafe1c"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -660,10 +660,8 @@ v3d_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen,
|
|||
for (i = 0; i < *count; i++) {
|
||||
modifiers[i] = v3d_available_modifiers[i];
|
||||
if (external_only)
|
||||
external_only[i] =
|
||||
v3d_available_modifiers[i] ==
|
||||
DRM_FORMAT_MOD_BROADCOM_SAND128;
|
||||
}
|
||||
external_only[i] = util_format_is_yuv(format);
|
||||
}
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue