summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-05-08 14:57:44 -0400
committerScott Murray <scott.murray@konsulko.com>2024-05-10 15:59:47 +0000
commit8918747564a0f224284e7408c14c06a70170fcdd (patch)
tree485ba1c1f35c2fa3c1d4bd7c24656666d702160f /meta-agl-bsp
parent95051638dc19a49384ee8f0f9f1b468df49aca54 (diff)
meta-agl-bsp: refresh mesa virgl patch
Refresh the mesa patch applied dynamically when meta-virtualization is being used so it applies cleanly. It is still unknown if the patch is required for the KVM demo, but fixing it up is required to have the IC EG container demos to build. Bug-AGL: SPEC-5123 Change-Id: Ib1c8b623d78ca0453d3418e565dbe86bdc344fb5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29898 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/virtualization-layer/recipes-graphics/mesa/mesa/0001-virgl-virgl_driinfo.h.in-Disable-by-default-emulated.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta-agl-bsp/virtualization-layer/recipes-graphics/mesa/mesa/0001-virgl-virgl_driinfo.h.in-Disable-by-default-emulated.patch b/meta-agl-bsp/virtualization-layer/recipes-graphics/mesa/mesa/0001-virgl-virgl_driinfo.h.in-Disable-by-default-emulated.patch
index 8bc102c92..d27696056 100644
--- a/meta-agl-bsp/virtualization-layer/recipes-graphics/mesa/mesa/0001-virgl-virgl_driinfo.h.in-Disable-by-default-emulated.patch
+++ b/meta-agl-bsp/virtualization-layer/recipes-graphics/mesa/mesa/0001-virgl-virgl_driinfo.h.in-Disable-by-default-emulated.patch
@@ -1,7 +1,8 @@
-From 39dea63ebce2764c683c8c2eddbb10cf07a970c4 Mon Sep 17 00:00:00 2001
+From 737ccb36c0faf275037e5e96a263c89a44886ddd Mon Sep 17 00:00:00 2001
From: Marius Vlad <marius.vlad@collabora.com>
Date: Mon, 19 Dec 2022 11:51:28 +0200
Subject: [PATCH] virgl/virgl_driinfo.h.in: Disable by default emulated BGRA
+
and swizzling
Workaround in place for virtio aarch64 to avoid graphical artefacts when
@@ -16,10 +17,10 @@ Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/virgl/virgl_driinfo.h.in b/src/gallium/drivers/virgl/virgl_driinfo.h.in
-index f57e5880965..1c06f932c5c 100644
+index ec688f5..244021e 100644
--- a/src/gallium/drivers/virgl/virgl_driinfo.h.in
+++ b/src/gallium/drivers/virgl/virgl_driinfo.h.in
-@@ -8,7 +8,7 @@
+@@ -8,8 +8,8 @@
// 5. Implement the tweak in virglrenderer
DRI_CONF_SECTION_MISCELLANEOUS
DRI_CONF_FORMAT_L8_SRGB_ENABLE_READBACK(false)
@@ -28,7 +29,8 @@ index f57e5880965..1c06f932c5c 100644
+ DRI_CONF_GLES_EMULATE_BGRA(false)
+ DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE(false)
DRI_CONF_GLES_SAMPLES_PASSED_VALUE(1024, 1, 400000000)
- DRI_CONF_SECTION_END
+
+ /*
--
-2.35.1
+2.30.2