kmscube: create_framebuffer: backport modifier fix

Backport the upstream buffer modifier fix for create_framebuffer to
handle the case where no valid modifiers are available.

(From OE-Core rev: 983e3efb51ab22f1fa5f90cbbfba2d701aa425fc)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Randolph Sapp
2024-10-11 15:26:35 -05:00
committed by Steve Sakoman
parent dfe311ef7a
commit c2dcb5102c
2 changed files with 32 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ SRCREV = "9f63f359fab1b5d8e862508e4e51c9dfe339ccb0"
SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https \
file://0001-texturator-Use-correct-GL-extension-header.patch \
file://0001-common-fix-cast-type-in-init_egl.patch \
file://0001-drm-common.c-do-not-use-invalid-modifier.patch \
"
UPSTREAM_CHECK_COMMITS = "1"