From patchwork Fri Jun 9 20:55:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Davis Jr X-Patchwork-Id: 25385 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62867C7EE2E for ; Fri, 9 Jun 2023 20:56:05 +0000 (UTC) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by mx.groups.io with SMTP id smtpd.web11.5411.1686344164381909375 for ; Fri, 09 Jun 2023 13:56:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@underview.tech header.s=google header.b=Me3bDJ1J; spf=pass (domain: underview.tech, ip: 209.85.210.52, mailfrom: vince@underview.tech) Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6b2a4655352so998140a34.3 for ; Fri, 09 Jun 2023 13:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=underview.tech; s=google; t=1686344163; x=1688936163; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=soob1aMaP+gOv0/699qQ9Pe3D5SN/+V3oe55c45fS2Q=; b=Me3bDJ1J4G/T6m8Obr1rNJ1gHD6OYePutEWNxtMbeMZYgfO/PJWjEcgOK4gaVCrjeg JFdyL8T+lq4WnjK0WiY3AaEgfX1FtU+FbIFhJ8yVSKfh5Pah+9G9bSDj1JEXFhB0IIE5 Kn5ZETYGUh+I0hHunTQTKB3ikuzAd1IUPwBvSSFH/HILzSrIV5yRfrir9z6wBfZE2WCl /d7ziEYr4SGAQYLrbtA13h3yxLXDL3LWQxzhxhuti7Hpqg3lk6jpRelS5uzXf3f88pto yqgWSyXpdjVpKXBLoKM7M0iUiSMo6V2anO19VHdbltp1//0wwK4bi/tIpuGH9xFX8r8a n+IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686344163; x=1688936163; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=soob1aMaP+gOv0/699qQ9Pe3D5SN/+V3oe55c45fS2Q=; b=KHvzrDp3aA/bBhjGXaiGcGTcsFseg2RdNlCnapI23bsL/ARXXh2fapczJ/46xArn4J PTj0tDZ6LQ/N05HePHJOzcp7yZC6G+aIxxNMog/wyUbztkA7JpJWd7nOWHTB5/2D7kMv 8Jg/dcU8N19cSl0z+0hFTj6HQFW+yyVa27DsR3ye6oxPEpw8241Of5gaQqEtSr0rPuuC VOiOOK1uk/DqgtKEq3lUs913sRBiJVgVNI98H4H51JIs12XzK5qAFWR9YRBV9zZvqFPg v4dsYWOW2w1Ynd9G6YYrXBlQ75qyY+uwPAww9Z/xPb8FqFxOV/vIcyJ5nJITISDJ0Z4R Z91Q== X-Gm-Message-State: AC+VfDxR+H4ek18uhYCTTYwEez4Bu0wkJtt7yLK0gXXgHLLApilGFQwZ v+Fdthm5NV49Iy4ljpk8AmFt6gtxmabBEFGy1vI= X-Google-Smtp-Source: ACHHUZ6fc0SthPrF1VL/wbXp+W/xgQGa/4zUVTIYic90qyktrMDkJjEUDV2ke1TmP/GLhemdAak4tg== X-Received: by 2002:a9d:77c5:0:b0:6af:7fed:1fd3 with SMTP id w5-20020a9d77c5000000b006af7fed1fd3mr2461679otl.31.1686344163403; Fri, 09 Jun 2023 13:56:03 -0700 (PDT) Received: from vince-B550I-AORUS-PRO-AX.attlocal.net ([2600:1700:1124:8090:255d:167:ce63:bdd5]) by smtp.gmail.com with ESMTPSA id z7-20020a05683020c700b006acfdbdf37csm1761836otq.31.2023.06.09.13.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 13:56:02 -0700 (PDT) From: Vincent Davis Jr To: meta-freescale@lists.yoctoproject.org Cc: Vincent Davis Jr Subject: [PATCH 1/2] vulkan-validation-layers: add new recipe v1.2.182.0 Date: Fri, 9 Jun 2023 15:55:20 -0500 Message-Id: <20230609205521.1216135-1-vince@underview.tech> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jun 2023 20:56:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24918 Add a recipe to build the Khronos official Vulkan validation layers that can assist developers in verifying that their applications correctly use the Vulkan APIs. Using vulkan version v1.2.182.0 to be compatible with other recipes in meta-freescale layer. Signed-off-by: Vincent Davis Jr --- .../vulkan-validation-layers_1.2.182.0.bb | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.bb diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.bb new file mode 100644 index 00000000..abcaf5dc --- /dev/null +++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.bb @@ -0,0 +1,52 @@ +SUMMARY = "Vulkan Validation layers" +DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ +in verifying that their applications correctly use the Vulkan API" +HOMEPAGE = "https://www.khronos.org/vulkan/" +BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" +SECTION = "libs" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c" + +SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.2.182;protocol=https" +SRCREV = "91fcffa8eca1a9573c8d736a54a028035ed4e06c" + +S = "${WORKDIR}/git" + +REQUIRED_DISTRO_FEATURES = "vulkan" + +DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang" + +# BUILD_TESTS - Not required for OE builds +# BUILD_WERROR - There are too many compiler warnings/errors due to upgrades in version +# of clang. Requiring a number of patches from upstream. Disable compiler +# -Werror to bypass build issues. +# USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. +# Yocto project doesn't contain a recipe for package so disabled it. +EXTRA_OECMAKE = "\ + -DBUILD_TESTS=OFF \ + -DBUILD_WERROR=OFF \ + -DUSE_ROBIN_HOOD_HASHING=OFF \ + -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \ + -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_DATADIR} \ + -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_DATADIR} \ + " + +PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" +PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" + +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" + +inherit cmake features_check pkgconfig + +FILES:${PN} += "${datadir}/vulkan" + +SOLIBS = ".so" +FILES_SOLIBSDEV = "" + +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, +# vulkan-validation-layers, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. +UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" From patchwork Fri Jun 9 20:55:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Davis Jr X-Patchwork-Id: 25386 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45969C7EE2E for ; Fri, 9 Jun 2023 20:56:15 +0000 (UTC) Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) by mx.groups.io with SMTP id smtpd.web11.5412.1686344172054677927 for ; Fri, 09 Jun 2023 13:56:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@underview.tech header.s=google header.b=W1aPLnLj; spf=pass (domain: underview.tech, ip: 209.85.210.44, mailfrom: vince@underview.tech) Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-6b1fa5a04e9so836263a34.1 for ; Fri, 09 Jun 2023 13:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=underview.tech; s=google; t=1686344171; x=1688936171; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A8eradPBHn3+qeoWaTgzweyyDsZ0SSQWl+5/aPGQ80A=; b=W1aPLnLjuVPyQk3LZdgeLWy4cIU0IdomNxc4BU/J1DWE6ts89PWpDtSwElN6yTI5yz IZGtsWkWBo16GRwEDro1pKZVXkObBB+tgUBHWmCDkNQmltVCfpRS9IWa5ZiLkRdLD5y4 KqEixDeNrksBdkJvuKuDigFYqYxmbm70ZiwBl2ebNoTAk0pbWjFKgYw3vUcz/hy92Rwa YhOjijos4EnGUaOxUGhX5g3j3rj2oMoe1PCFBwZ0IK+27MZzlTNRO1ysjODU0kjSGWl4 xGNhcUOTNx4De7FxHvJpU4s7CihWd1z2okgnyIoSBSEPuJdPCCwRjpxGi3JWeVIrMov+ pk9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686344171; x=1688936171; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A8eradPBHn3+qeoWaTgzweyyDsZ0SSQWl+5/aPGQ80A=; b=IhMR4Zh7GfUNg+EJer8OIsC53fW5xkQSczzSIXciytbyG1CgWXqzuW6xN1CkPXF5aZ f51GoaHDSDRWd1JJqK9ySL9QviWX6/2tYbbi6r0wjXWFZpV5wUoBW+N/4CD5a43L7i64 3jAm1xEE0AmvIUEfZDi0qtxwzWmoggr7Aut+JpeCq6I3Noo7mPNqFFGWcvGXezELoeXu wrdN7TRPgFEYxktWPNGsU1Shbn7KHjQ4KLRpAoW/UyC8jqSzYcp8llTocQbkeQBPvIlR v+s7OZyOdiO7b+DQV2x78OBSTmpNoYl/75ammoZflJHn1r1fBPmU9BXb5tlBuLa6Bozw 3MIA== X-Gm-Message-State: AC+VfDzbfQB6WPaV8lvC3usbpcLYEzYU6MXGtvGOQZbGsb8LC3upJI0P mBdoGybrcZlJRzwXjI1CLCMlOeG8eXGGk9Gq6Vk= X-Google-Smtp-Source: ACHHUZ4MU4RLqOZWcfhpzmIo3ACgNiaF1n8z/kssXHY5f12P5b0tTkYJQFS9h7MX7uofrlGZ/5CvKQ== X-Received: by 2002:a9d:51c9:0:b0:6ac:ed36:7ed3 with SMTP id d9-20020a9d51c9000000b006aced367ed3mr2872595oth.8.1686344171295; Fri, 09 Jun 2023 13:56:11 -0700 (PDT) Received: from vince-B550I-AORUS-PRO-AX.attlocal.net ([2600:1700:1124:8090:255d:167:ce63:bdd5]) by smtp.gmail.com with ESMTPSA id z7-20020a05683020c700b006acfdbdf37csm1761836otq.31.2023.06.09.13.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 13:56:10 -0700 (PDT) From: Vincent Davis Jr To: meta-freescale@lists.yoctoproject.org Cc: Vincent Davis Jr Subject: [PATCH 2/2] imx-base: set PREFERRED_VERSION_vulkan-validation-layers Date: Fri, 9 Jun 2023 15:55:21 -0500 Message-Id: <20230609205521.1216135-2-vince@underview.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230609205521.1216135-1-vince@underview.tech> References: <20230609205521.1216135-1-vince@underview.tech> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jun 2023 20:56:15 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24919 Signed-off-by: Vincent Davis Jr --- conf/machine/include/imx-base.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 18fe65f6..d88ea44a 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -534,9 +534,10 @@ PREFERRED_VERSION_libdrm:mx7-nxp-bsp ??= "2.4.114.imx" PREFERRED_VERSION_libdrm:mx8-nxp-bsp ??= "2.4.114.imx" PREFERRED_VERSION_libdrm:mx9-nxp-bsp ??= "2.4.114.imx" -PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0" -PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0" -PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0" +PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0" +PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0" +PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0" +PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.2.182.0" # Use i.MX optee Version PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "3.19.0.imx"