diff options
| author | Valentin Jec <valentin.jec@nxp.com> | 2024-10-25 13:48:21 +0300 |
|---|---|---|
| committer | Valentin Jec <valentin.jec@nxp.com> | 2024-10-25 13:48:21 +0300 |
| commit | fc287f98d9590354e2d83614ad7452608d7b7c73 (patch) | |
| tree | 30806fc84fd7dd48f1b7d823c97bfe9d68cad12e | |
| parent | fdca219fecba823b60b7fd84d14e72f1a070c811 (diff) | |
| download | meta-freescale-fc287f98d9590354e2d83614ad7452608d7b7c73.tar.gz | |
Upgrade BSP to LF6.6.36_2.1.0
spir: Update downgrade spir: 1.3.261.1.imx -> 1.3.275.0.imx
vulkan: Update downgrade vulkan: 1.3.261.1.imx -> 1.3.275.0.imx
vulkan-loader_1.3.261.1.imx.bbappend: Upgrade vulkan-loader: 1.3.261.1.imx -> 1.3.275.0.imx
Add patch for wsi layer
imx-base.inc: Update `PREFFERED_VERSION` for vulkan and spir
Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
| -rw-r--r-- | conf/machine/include/imx-base.inc | 12 | ||||
| -rw-r--r-- | recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb (renamed from recipes-downgrade/spir/spirv-headers_1.3.261.1.imx.bb) | 3 | ||||
| -rw-r--r-- | recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb (renamed from recipes-downgrade/spir/spirv-tools_1.3.261.1.imx.bb) | 3 | ||||
| -rw-r--r-- | recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-headers_1.3.261.1.imx.bb) | 5 | ||||
| -rw-r--r-- | recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-loader_1.3.261.1.imx.bb) | 7 | ||||
| -rw-r--r-- | recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-tools_1.3.261.1.imx.bb) | 5 | ||||
| -rw-r--r-- | recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-validation-layers_1.3.261.1.imx.bb) | 9 | ||||
| -rw-r--r-- | recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch | 52 | ||||
| -rw-r--r-- | recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend (renamed from recipes-graphics/vulkan/vulkan-loader_1.3.261.1.imx.bbappend) | 6 |
9 files changed, 83 insertions, 19 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 9d06b4649..5fa502444 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -587,12 +587,12 @@ PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.1.1.imx" | |||
| 587 | # Use i.MX libdrm Version | 587 | # Use i.MX libdrm Version |
| 588 | PREFERRED_VERSION_libdrm:imx-nxp-bsp ??= "2.4.116.imx" | 588 | PREFERRED_VERSION_libdrm:imx-nxp-bsp ??= "2.4.116.imx" |
| 589 | 589 | ||
| 590 | PREFERRED_VERSION_spirv-headers:imxvulkan ??= "1.3.261.1.imx" | 590 | PREFERRED_VERSION_spirv-headers:imxvulkan ??= "1.3.275.0.imx" |
| 591 | PREFERRED_VERSION_spirv-tools:imxvulkan ??= "1.3.261.1.imx" | 591 | PREFERRED_VERSION_spirv-tools:imxvulkan ??= "1.3.275.0.imx" |
| 592 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.261.1.imx" | 592 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.275.0.imx" |
| 593 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.261.1.imx" | 593 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.275.0.imx" |
| 594 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.261.1.imx" | 594 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.275.0.imx" |
| 595 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.261.1.imx" | 595 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.275.0.imx" |
| 596 | 596 | ||
| 597 | # Use i.MX optee Version | 597 | # Use i.MX optee Version |
| 598 | PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "4.2.0.imx" | 598 | PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "4.2.0.imx" |
diff --git a/recipes-downgrade/spir/spirv-headers_1.3.261.1.imx.bb b/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb index 945f0879f..598a8fc20 100644 --- a/recipes-downgrade/spir/spirv-headers_1.3.261.1.imx.bb +++ b/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb | |||
| @@ -4,11 +4,12 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d" |
| 6 | 6 | ||
| 7 | SRCREV = "124a9665e464ef98b8b718d572d5f329311061eb" | 7 | SRCREV = "1c6bb2743599e6eb6f37b2969acc0aef812e32e3" |
| 8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main" | 8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main" |
| 9 | PE = "1" | 9 | PE = "1" |
| 10 | # These recipes need to be updated in lockstep with each other: | 10 | # These recipes need to be updated in lockstep with each other: |
| 11 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 11 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools |
| 12 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 12 | # The tags versions should always be sdk-x.y.z, as this is what | 13 | # The tags versions should always be sdk-x.y.z, as this is what |
| 13 | # upstream considers a release. | 14 | # upstream considers a release. |
| 14 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-downgrade/spir/spirv-tools_1.3.261.1.imx.bb b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb index 690428829..05c6de1b5 100644 --- a/recipes-downgrade/spir/spirv-tools_1.3.261.1.imx.bb +++ b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb | |||
| @@ -7,11 +7,12 @@ SECTION = "graphics" | |||
| 7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | 9 | ||
| 10 | SRCREV = "e553b884c7c9febaa4e52334f683641fb5f196a0" | 10 | SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc" |
| 11 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" | 11 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" |
| 12 | PE = "1" | 12 | PE = "1" |
| 13 | # These recipes need to be updated in lockstep with each other: | 13 | # These recipes need to be updated in lockstep with each other: |
| 14 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 14 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools |
| 15 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 15 | # The tags versions should always be sdk-x.y.z, as this is what | 16 | # The tags versions should always be sdk-x.y.z, as this is what |
| 16 | # upstream considers a release. | 17 | # upstream considers a release. |
| 17 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 18 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.3.261.1.imx.bb b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb index 01eb14b9f..aacec8cab 100644 --- a/recipes-downgrade/vulkan/vulkan-headers_1.3.261.1.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb | |||
| @@ -11,7 +11,7 @@ LICENSE = "Apache-2.0 & MIT" | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bc355d8c4196f774c8b87ed1a8dd625" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bc355d8c4196f774c8b87ed1a8dd625" |
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" |
| 13 | 13 | ||
| 14 | SRCREV = "85c2334e92e215cce34e8e0ed8b2dce4700f4a50" | 14 | SRCREV = "217e93c664ec6704ec2d8c36fa116c1a4a1e2d40" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| @@ -21,7 +21,8 @@ FILES:${PN} += "${datadir}/vulkan" | |||
| 21 | RDEPENDS:${PN} += "python3-core" | 21 | RDEPENDS:${PN} += "python3-core" |
| 22 | 22 | ||
| 23 | # These recipes need to be updated in lockstep with each other: | 23 | # These recipes need to be updated in lockstep with each other: |
| 24 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 24 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, |
| 25 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 25 | # The tags versions should always be sdk-x.y.z, as this is what | 26 | # The tags versions should always be sdk-x.y.z, as this is what |
| 26 | # upstream considers a release. | 27 | # upstream considers a release. |
| 27 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 28 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.3.261.1.imx.bb b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb index 01cbeafa3..7caed6720 100644 --- a/recipes-downgrade/vulkan/vulkan-loader_1.3.261.1.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb | |||
| @@ -9,8 +9,8 @@ SECTION = "libs" | |||
| 9 | 9 | ||
| 10 | LICENSE = "Apache-2.0" | 10 | LICENSE = "Apache-2.0" |
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" |
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=vulkan-sdk-1.3.275;protocol=https" |
| 13 | SRCREV = "afdd025ead2b63b2c73d900ab128a2d3b512cdf0" | 13 | SRCREV = "00893b9a03e526aec2c5bf487521d16dfa435229" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| @@ -36,7 +36,8 @@ PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SU | |||
| 36 | RRECOMMENDS:${PN} = "mesa-vulkan-drivers" | 36 | RRECOMMENDS:${PN} = "mesa-vulkan-drivers" |
| 37 | 37 | ||
| 38 | # These recipes need to be updated in lockstep with each other: | 38 | # These recipes need to be updated in lockstep with each other: |
| 39 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 39 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, |
| 40 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 40 | # The tags versions should always be sdk-x.y.z, as this is what | 41 | # The tags versions should always be sdk-x.y.z, as this is what |
| 41 | # upstream considers a release. | 42 | # upstream considers a release. |
| 42 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 43 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.3.261.1.imx.bb b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb index 7a7edc9eb..f86912c90 100644 --- a/recipes-downgrade/vulkan/vulkan-tools_1.3.261.1.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "libs" | |||
| 7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" | 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" |
| 10 | SRCREV = "a7da7027ca9fd0901639f02619c226da9c6036f1" | 10 | SRCREV = "c86d42cf9eb620eeac377e3bff46ae342c5cd664" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 13 | 13 | ||
| @@ -15,7 +15,7 @@ inherit cmake features_check pkgconfig | |||
| 15 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | 15 | ANY_OF_DISTRO_FEATURES = "x11 wayland" |
| 16 | REQUIRED_DISTRO_FEATURES = "vulkan" | 16 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 17 | 17 | ||
| 18 | DEPENDS += "vulkan-headers vulkan-loader" | 18 | DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" |
| 19 | 19 | ||
| 20 | EXTRA_OECMAKE = "\ | 20 | EXTRA_OECMAKE = "\ |
| 21 | -DBUILD_TESTS=OFF \ | 21 | -DBUILD_TESTS=OFF \ |
| @@ -31,6 +31,7 @@ PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SU | |||
| 31 | 31 | ||
| 32 | # These recipes need to be updated in lockstep with each other: | 32 | # These recipes need to be updated in lockstep with each other: |
| 33 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 33 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools |
| 34 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 34 | # The tags versions should always be sdk-x.y.z, as this is what | 35 | # The tags versions should always be sdk-x.y.z, as this is what |
| 35 | # upstream considers a release. | 36 | # upstream considers a release. |
| 36 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 37 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.261.1.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb index 1e2a0aced..239589108 100644 --- a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.261.1.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb | |||
| @@ -8,14 +8,14 @@ SECTION = "libs" | |||
| 8 | LICENSE = "Apache-2.0 & MIT" | 8 | LICENSE = "Apache-2.0 & MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" |
| 10 | 10 | ||
| 11 | SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.3.261;protocol=https" | 11 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.3.275;protocol=https" |
| 12 | SRCREV = "628cd310bef6d54b4e6b25b5ac2ed013473409d6" | 12 | SRCREV = "780c65337e111c7385109c7b720d757a778e4fe2" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | REQUIRED_DISTRO_FEATURES = "vulkan" | 16 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 17 | 17 | ||
| 18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang" | 18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" |
| 19 | 19 | ||
| 20 | # BUILD_TESTS - Not required for OE builds | 20 | # BUILD_TESTS - Not required for OE builds |
| 21 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. | 21 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. |
| @@ -42,7 +42,8 @@ FILES_SOLIBSDEV = "" | |||
| 42 | 42 | ||
| 43 | # These recipes need to be updated in lockstep with each other: | 43 | # These recipes need to be updated in lockstep with each other: |
| 44 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | 44 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, |
| 45 | # vulkan-validation-layers, spirv-headers, spirv-tools | 45 | # vulkan-validation-layers, spirv-headers, spirv-tools, |
| 46 | # vulkan-utility-libraries. | ||
| 46 | # The tags versions should always be sdk-x.y.z, as this is what | 47 | # The tags versions should always be sdk-x.y.z, as this is what |
| 47 | # upstream considers a release. | 48 | # upstream considers a release. |
| 48 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 49 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch b/recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch new file mode 100644 index 000000000..da738aabe --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | From 3448c245b15928aa5a5a3695d9271fb201eb2e3b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yuan Tian <yuan.tian@nxp.com> | ||
| 3 | Date: Sat, 27 Apr 2024 06:06:54 +0800 | ||
| 4 | Subject: [PATCH] LF-11869 change mali wsi layer activating order | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 7 | |||
| 8 | Signed-off-by: Yuan Tian <yuan.tian@nxp.com> | ||
| 9 | --- | ||
| 10 | loader/loader.c | 12 ++++++++++++ | ||
| 11 | 1 file changed, 12 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/loader/loader.c b/loader/loader.c | ||
| 14 | index e646b28b4..55912c178 100644 | ||
| 15 | --- a/loader/loader.c | ||
| 16 | +++ b/loader/loader.c | ||
| 17 | @@ -2906,6 +2906,7 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 18 | #if !defined(_WIN32) | ||
| 19 | char temp_path[2048]; | ||
| 20 | #endif | ||
| 21 | + bool has_wsi_layer = false; | ||
| 22 | |||
| 23 | // Now, parse the paths | ||
| 24 | next_file = search_path; | ||
| 25 | @@ -2965,6 +2966,10 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 26 | name = full_path; | ||
| 27 | |||
| 28 | VkResult local_res; | ||
| 29 | + if(!strcmp(name,"/etc/vulkan/implicit_layer.d/VkLayer_window_system_integration.json")) { | ||
| 30 | + has_wsi_layer = true; | ||
| 31 | + continue; | ||
| 32 | + } | ||
| 33 | local_res = add_if_manifest_file(inst, name, out_files); | ||
| 34 | |||
| 35 | // Incomplete means this was not a valid data file. | ||
| 36 | @@ -2975,6 +2980,13 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 37 | break; | ||
| 38 | } | ||
| 39 | } | ||
| 40 | + | ||
| 41 | + if(has_wsi_layer) { | ||
| 42 | + name = "/etc/vulkan/implicit_layer.d/VkLayer_window_system_integration.json"; | ||
| 43 | + vk_result = add_if_manifest_file(inst, name, out_files); | ||
| 44 | + has_wsi_layer = false; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | loader_closedir(inst, dir_stream); | ||
| 48 | if (vk_result != VK_SUCCESS) { | ||
| 49 | goto out; | ||
| 50 | -- | ||
| 51 | 2.34.1 | ||
| 52 | |||
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.imx.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend index c1a9902b7..9b0ce3b99 100644 --- a/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.imx.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | SRC_URI:append:imx-nxp-bsp = " \ | ||
| 4 | file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \ | ||
| 5 | " | ||
| 6 | |||
| 1 | # libvulkan.so is loaded dynamically, so put it in the main package | 7 | # libvulkan.so is loaded dynamically, so put it in the main package |
| 2 | SOLIBS = ".so*" | 8 | SOLIBS = ".so*" |
| 3 | FILES_SOLIBSDEV = "" | 9 | FILES_SOLIBSDEV = "" |
