diff options
Diffstat (limited to 'recipes-graphics')
30 files changed, 399 insertions, 167 deletions
diff --git a/recipes-graphics/drm/libdrm_2.4.116.imx.bb b/recipes-graphics/drm/libdrm_2.4.123.imx.bb index ff23f35f3..e4208cff3 100644 --- a/recipes-graphics/drm/libdrm_2.4.116.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.123.imx.bb | |||
@@ -13,10 +13,8 @@ DEPENDS = "libpthread-stubs" | |||
13 | 13 | ||
14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" | 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" |
15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" | 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" |
16 | SRCBRANCH = "libdrm-imx-2.4.116" | 16 | SRCBRANCH = "libdrm-imx-2.4.123" |
17 | SRCREV = "2f1797674f94572ae8c365c8cbffb0263337ed57" | 17 | SRCREV = "c7c4953161a0f8f2cc7bee70284bf3263c9cfcf5" |
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | 18 | ||
21 | DEFAULT_PREFERENCE = "-1" | 19 | DEFAULT_PREFERENCE = "-1" |
22 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 20 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.3.0.bb index 23168ae16..bf0a127c9 100644 --- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.3.0.bb | |||
@@ -4,28 +4,26 @@ | |||
4 | 4 | ||
5 | DESCRIPTION = "G2D library using i.MX DPU" | 5 | DESCRIPTION = "G2D library using i.MX DPU" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
8 | 8 | ||
9 | DEPENDS = "libdrm ${LIBGAL_IMX}" | 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" |
10 | LIBGAL_IMX = "libgal-imx" | 10 | LIBGAL_IMX = "" |
11 | LIBGAL_IMX:mx95-nxp-bsp = "" | 11 | LIBGAL_IMX:imxviv = "libgal-imx" |
12 | 12 | ||
13 | PROVIDES += "virtual/libg2d" | 13 | PROVIDES += "virtual/libg2d" |
14 | 14 | ||
15 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}" | 15 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}" |
16 | IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}" | 16 | IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}" |
17 | 17 | ||
18 | IMX_SRCREV_ABBREV = "6a00326" | 18 | IMX_SRCREV_ABBREV = "8d2a88d" |
19 | IMX_SRC_URI_NAME = "v1" | 19 | IMX_SRC_URI_NAME = "v1" |
20 | SRC_URI[v1.md5sum] = "470ad0bdef7dec171395991d47b39e2c" | 20 | SRC_URI[v1.sha256sum] = "20325a7c6090b79e012339aed25fa4c3b760efcc32be339e389a36a15e44bdfc" |
21 | SRC_URI[v1.sha256sum] = "4d8e4b536bd24eedfbce375a06c19ab74603291b8b5a5be36b03fbf6e016e940" | ||
22 | 21 | ||
23 | IMX_SRCREV_ABBREV:mx95-nxp-bsp = "6a00326" | 22 | IMX_SRCREV_ABBREV:imxmali = "8d2a88d" |
24 | IMX_SRC_URI_NAME:mx95-nxp-bsp = "v2" | 23 | IMX_SRC_URI_NAME:imxmali = "v2" |
25 | SRC_URI[v2.md5sum] = "cf807c38a110763c19a12d6d595b4b09" | 24 | SRC_URI[v2.sha256sum] = "eb7108256cb55d996c07f6941d0d4a76beaf73458494b2c902d907bc8228eeeb" |
26 | SRC_URI[v2.sha256sum] = "1b86d4fecd5026e871da0de8ed6382c962460468d8151ae2f95b72d00bca17ee" | ||
27 | 25 | ||
28 | S = "${WORKDIR}/${IMX_BIN_NAME}" | 26 | S = "${UNPACKDIR}/${IMX_BIN_NAME}" |
29 | 27 | ||
30 | inherit fsl-eula-unpack | 28 | inherit fsl-eula-unpack |
31 | 29 | ||
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb index 0f0c18967..1f62398fe 100644 --- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
@@ -5,14 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" | |||
5 | 5 | ||
6 | DEPENDS = "cairo" | 6 | DEPENDS = "cairo" |
7 | 7 | ||
8 | PV = "2.1+git${SRCPV}" | 8 | PV = "2.3+git${SRCPV}" |
9 | 9 | ||
10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" | 10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" |
11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxp-imx/g2d-samples.git;protocol=https" | 11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxp-imx/g2d-samples.git;protocol=https" |
12 | SRCBRANCH = "imx_2.1" | 12 | SRCBRANCH = "imx_2.3" |
13 | SRCREV = "431f311a41ca052902ea0d6445e74defe0a4df2d" | 13 | SRCREV = "7d12c50c07d73650b4c97906ce917aff429238f8" |
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | 14 | ||
17 | inherit pkgconfig | 15 | inherit pkgconfig |
18 | 16 | ||
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.6.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb index d12d9c1a8..3c8784d0f 100644 --- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.6.bb +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb | |||
@@ -5,19 +5,17 @@ | |||
5 | 5 | ||
6 | DESCRIPTION = "G2D library using i.MX GPU" | 6 | DESCRIPTION = "G2D library using i.MX GPU" |
7 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
9 | DEPENDS = "libgal-imx" | 9 | DEPENDS = "libgal-imx" |
10 | PROVIDES = "virtual/libg2d" | 10 | PROVIDES = "virtual/libg2d" |
11 | 11 | ||
12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" |
13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" | 13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" |
14 | IMX_SRCREV_ABBREV = "bc7b6a2" | 14 | IMX_SRCREV_ABBREV = "c600d03" |
15 | SRC_URI[aarch64.md5sum] = "4b12d0434d612b57ff4d7df690c3154f" | 15 | SRC_URI[aarch64.sha256sum] = "e6c336c0b876efab7598a2d7817111772284487f646d5d83c400692f2cdfebe3" |
16 | SRC_URI[aarch64.sha256sum] = "b2e4c580bf887042f479fde7c8b07c6215794d8123263d10ff0c167af7ba5918" | 16 | SRC_URI[arm.sha256sum] = "6e1a42f2c570582b8038d1b5c86dbdcd645e75cc10a1db23e716f662d1c1329f" |
17 | SRC_URI[arm.md5sum] = "4bead15838f47793f59cb374c10c2dd2" | ||
18 | SRC_URI[arm.sha256sum] = "413610ce4730eb9adbde30c8ad4a72df3edd69d84e1154a0c29efa7f33a30663" | ||
19 | 17 | ||
20 | S = "${WORKDIR}/${IMX_BIN_NAME}" | 18 | S = "${UNPACKDIR}/${IMX_BIN_NAME}" |
21 | 19 | ||
22 | inherit fsl-eula-unpack | 20 | inherit fsl-eula-unpack |
23 | 21 | ||
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb index 4481188b1..9fd170ad5 100644 --- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb +++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | |||
@@ -1,21 +1,19 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
2 | # Copyright 2017-2023 NXP | 2 | # Copyright 2017-2024 NXP |
3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
4 | 4 | ||
5 | DESCRIPTION = "G2D library using i.MX PXP" | 5 | DESCRIPTION = "G2D library using i.MX PXP" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=10c0fda810c63b052409b15a5445671a" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c0fb372b5d7f12181de23ef480f225f3" |
8 | 8 | ||
9 | PROVIDES += "virtual/libg2d" | 9 | PROVIDES += "virtual/libg2d" |
10 | 10 | ||
11 | PV = "2.1.0+git${SRCPV}" | 11 | PV = "2.3+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" | 13 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" |
14 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" | 14 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" |
15 | SRCBRANCH = "imx_2.1" | 15 | SRCBRANCH = "imx_2.3" |
16 | SRCREV = "edd234c4e1c58cd2453963d19155d4d5d3800d07" | 16 | SRCREV = "f3aabbcb7977a0a17c962c62b02bc829855f8edf" |
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | 17 | ||
20 | inherit use-imx-headers | 18 | inherit use-imx-headers |
21 | 19 | ||
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 7d97f4755..5dea367a9 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
@@ -9,28 +9,20 @@ SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_1 | |||
9 | " | 9 | " |
10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" | 10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit cmake pkgconfig perlnative python3native | 12 | inherit cmake pkgconfig perlnative python3native |
15 | 13 | ||
16 | PACKAGECONFIG_BACKEND:mx6-nxp-bsp = " \ | ||
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | ||
18 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
19 | '', d), d)} \ | ||
20 | " | ||
21 | PACKAGECONFIG_BACKEND:mx7-nxp-bsp = "${PACKAGECONFIG_BACKEND:mx6-nxp-bsp}" | ||
22 | PACKAGECONFIG_BACKEND:mx8-nxp-bsp = "waffle" | ||
23 | PACKAGECONFIG_BACKEND:mx95-nxp-bsp = "waffle" | ||
24 | |||
25 | PACKAGECONFIG_GPU2D = "" | ||
26 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" | ||
27 | PACKAGECONFIG_GPU2D:mx95-nxp-bsp = "" | ||
28 | |||
29 | PACKAGECONFIG ??= " \ | 14 | PACKAGECONFIG ??= " \ |
30 | egl \ | 15 | egl \ |
31 | ${PACKAGECONFIG_BACKEND} \ | 16 | ${PACKAGECONFIG_BACKEND} \ |
32 | ${PACKAGECONFIG_GPU2D} \ | 17 | ${PACKAGECONFIG_GPU2D} \ |
33 | " | 18 | " |
19 | PACKAGECONFIG_BACKEND = " \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | ||
21 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
22 | '', d), d)} \ | ||
23 | " | ||
24 | PACKAGECONFIG_GPU2D = "" | ||
25 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" | ||
34 | 26 | ||
35 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 27 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
36 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" | 28 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 2d02d7abb..88081cc61 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -31,12 +31,12 @@ PROVIDES += " \ | |||
31 | " | 31 | " |
32 | EXTRA_PROVIDES = " \ | 32 | EXTRA_PROVIDES = " \ |
33 | ${PROVIDES_OPENCL} \ | 33 | ${PROVIDES_OPENCL} \ |
34 | ${PROVIDES_OPENGLES3} \ | ||
35 | ${PROVIDES_OPENVX} \ | 34 | ${PROVIDES_OPENVX} \ |
36 | " | 35 | " |
37 | EXTRA_PROVIDES:append:imxgpu3d = " \ | 36 | EXTRA_PROVIDES:append:imxgpu3d = " \ |
38 | virtual/libgles1 \ | 37 | virtual/libgles1 \ |
39 | virtual/libgles2 \ | 38 | virtual/libgles2 \ |
39 | virtual/libgles3 \ | ||
40 | " | 40 | " |
41 | EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ | 41 | EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ |
42 | virtual/libgbm \ | 42 | virtual/libgbm \ |
@@ -51,9 +51,6 @@ PROVIDES_OPENCL = " \ | |||
51 | PROVIDES_OPENCL:mx7-nxp-bsp = "" | 51 | PROVIDES_OPENCL:mx7-nxp-bsp = "" |
52 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" | 52 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" |
53 | 53 | ||
54 | PROVIDES_OPENGLES3 = "" | ||
55 | PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3" | ||
56 | |||
57 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. | 54 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. |
58 | # However, only limited support is provided on other i.MX 8 machines | 55 | # However, only limited support is provided on other i.MX 8 machines |
59 | # as needed for i.MX machine learning packages. | 56 | # as needed for i.MX machine learning packages. |
@@ -63,15 +60,20 @@ PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | |||
63 | 60 | ||
64 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" | 61 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
65 | 62 | ||
63 | RPROVIDES_OPENCL = "opencl-icd-loader-dev" | ||
64 | RPROVIDES_OPENCL:mx7-nxp-bsp = "" | ||
65 | RPROVIDES_OPENCL:mx8mm-nxp-bsp = "" | ||
66 | |||
67 | RPROVIDES:${PN}:append:imx-nxp-bsp = " ${RPROVIDES_OPENCL}" | ||
68 | |||
66 | PE = "1" | 69 | PE = "1" |
67 | 70 | ||
68 | inherit fsl-eula-unpack | 71 | inherit fsl-eula-unpack |
69 | 72 | ||
70 | FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:" | 73 | FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:" |
71 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 74 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
72 | file://imx_icd.json" | ||
73 | 75 | ||
74 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 76 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
75 | 77 | ||
76 | PACKAGECONFIG ?= "" | 78 | PACKAGECONFIG ?= "" |
77 | 79 | ||
@@ -181,8 +183,6 @@ IMX_SOC:mx8mq-nxp-bsp = "mx8mq" | |||
181 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" | 183 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" |
182 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | 184 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" |
183 | 185 | ||
184 | LIBVULKAN_API_VERSION = "1.3.239" | ||
185 | |||
186 | do_install () { | 186 | do_install () { |
187 | install -d ${D}${libdir} | 187 | install -d ${D}${libdir} |
188 | install -d ${D}${includedir} | 188 | install -d ${D}${includedir} |
@@ -250,8 +250,7 @@ do_install () { | |||
250 | rm -rf ${D}/opt/viv_samples/cl11 | 250 | rm -rf ${D}/opt/viv_samples/cl11 |
251 | else | 251 | else |
252 | # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader) | 252 | # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader) |
253 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | 253 | install -Dm 0644 ${S}/gpu-core/etc/OpenCL/vendors/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd |
254 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | ||
255 | 254 | ||
256 | if [ "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" = "" ]; then | 255 | if [ "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" = "" ]; then |
257 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h | 256 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h |
@@ -274,9 +273,8 @@ do_install () { | |||
274 | rm -rf ${D}$f | 273 | rm -rf ${D}$f |
275 | done | 274 | done |
276 | else | 275 | else |
277 | install -Dm 0644 ${UNPACKDIR}/imx_icd.json ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | 276 | install -Dm 0644 ${S}/gpu-core/etc/vulkan/icd.d/imx_icd.json ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json |
278 | sed -i "s,%libdir%,${libdir}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | 277 | sed -i "s,/usr/lib,${libdir}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json |
279 | sed -i "s,%api_version%,${LIBVULKAN_API_VERSION}," ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json | ||
280 | fi | 278 | fi |
281 | fi | 279 | fi |
282 | 280 | ||
@@ -332,7 +330,7 @@ FILES:libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/ | |||
332 | INSANE_SKIP:libegl-imx += "dev-so" | 330 | INSANE_SKIP:libegl-imx += "dev-so" |
333 | 331 | ||
334 | FILES:libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | 332 | FILES:libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" |
335 | FILES:libgal-imx-dev = "${includedir}/HAL" | 333 | FILES:libgal-imx-dev:remove = "${includedir}/HAL" |
336 | RDEPENDS:libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" | 334 | RDEPENDS:libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" |
337 | RPROVIDES:libgal-imx += "libgal-imx" | 335 | RPROVIDES:libgal-imx += "libgal-imx" |
338 | RRECOMMENDS:libgal-imx += "kernel-module-imx-gpu-viv" | 336 | RRECOMMENDS:libgal-imx += "kernel-module-imx-gpu-viv" |
@@ -393,7 +391,7 @@ FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ | |||
393 | ${libdir}/libLLVM_viv${SOLIBS} \ | 391 | ${libdir}/libLLVM_viv${SOLIBS} \ |
394 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | 392 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" |
395 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 393 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
396 | RDEPENDS:libopencl-imx= "libclc-imx" | 394 | RDEPENDS:libopencl-imx = "libclc-imx" |
397 | 395 | ||
398 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" | 396 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" |
399 | FILES:libopenvg-imx-dev = "${includedir}/VG ${libdir}/pkgconfig/vg.pc" | 397 | FILES:libopenvg-imx-dev = "${includedir}/VG ${libdir}/pkgconfig/vg.pc" |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json b/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json deleted file mode 100644 index 21d83f945..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | { | ||
2 | "file_format_version": "1.0.0", | ||
3 | "ICD": { | ||
4 | "library_path": "%libdir%/libvulkan_VSI.so.1", | ||
5 | "api_version": "%api_version%" | ||
6 | } | ||
7 | } | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb deleted file mode 100644 index db99b1c71..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch32.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "bc7b6a2" | ||
6 | |||
7 | SRC_URI[md5sum] = "d921b6daf89eba252b0b5b59abe0d690" | ||
8 | SRC_URI[sha256sum] = "cf6e42c9c9a903cd933b767d411131390d237a4b92ecad579db57d54538707f3" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb deleted file mode 100644 index fb73322ae..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p2.6-aarch64.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "bc7b6a2" | ||
6 | |||
7 | SRC_URI[md5sum] = "e6ac75617944d9a9dbba90f863f07e0f" | ||
8 | SRC_URI[sha256sum] = "5fe828113b9b2801b3fd60cd15eadfd0ac747e5897ef7db7fa22f80e7dd8a8e1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb new file mode 100644 index 000000000..9fbb7e924 --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "c600d03" | ||
6 | |||
7 | SRC_URI[sha256sum] = "fe8fc231f18047b9547a038e111c08e855760190d0e9848ead22b383d793499d" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb new file mode 100644 index 000000000..aeed17fe8 --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require imx-gpu-viv-6.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
4 | |||
5 | IMX_SRCREV_ABBREV = "c600d03" | ||
6 | |||
7 | SRC_URI[sha256sum] = "82e1bb6304d2aac70c72b691239d1bb5f6738cadfa812d07196db2f580c63d29" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index 3b2655ce7..e8c7ac161 100644 --- a/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
@@ -1,3 +1,6 @@ | |||
1 | PACKAGECONFIG:append:imx-nxp-bsp = " ${PACKAGECONFIG_LIBDECOR}" | ||
2 | PACKAGECONFIG_LIBDECOR ??= "libdecor" | ||
3 | |||
1 | # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as | 4 | # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as |
2 | # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... | 5 | # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... |
3 | EXTRA_OECMAKE:append:imxgpu = " -DSDL_VIVANTE=OFF" | 6 | EXTRA_OECMAKE:append:imxgpu = " -DSDL_VIVANTE=OFF" |
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc new file mode 100644 index 000000000..e4fafeb0b --- /dev/null +++ b/recipes-graphics/mali/mali-imx.inc | |||
@@ -0,0 +1,107 @@ | |||
1 | SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = " \ | ||
4 | libdrm \ | ||
5 | vulkan-loader \ | ||
6 | wayland \ | ||
7 | wayland-protocols" | ||
8 | PROVIDES = " \ | ||
9 | virtual/egl \ | ||
10 | virtual/libgbm \ | ||
11 | virtual/libgles1 \ | ||
12 | virtual/libgles2 \ | ||
13 | virtual/libgles3" | ||
14 | |||
15 | # The packaged binaries have been stripped of debug info, so disable | ||
16 | # operations accordingly. | ||
17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
18 | INHIBIT_PACKAGE_STRIP = "1" | ||
19 | INHIBIT_SYSROOT_STRIP = "1" | ||
20 | |||
21 | PACKAGES =+ " \ | ||
22 | ${PN}-libegl ${PN}-libegl-dev \ | ||
23 | ${PN}-libgbm ${PN}-libgbm-dev \ | ||
24 | ${PN}-libgles1 ${PN}-libgles1-dev \ | ||
25 | ${PN}-libgles2 ${PN}-libgles2-dev \ | ||
26 | ${PN}-libgles3 ${PN}-libgles3-dev \ | ||
27 | ${PN}-libvulkan \ | ||
28 | ${PN}-opencl-icd ${PN}-opencl-icd-dev" | ||
29 | |||
30 | # Since libmali.so is loaded by dlopen, include it in the main package | ||
31 | FILES:${PN} += " \ | ||
32 | ${libdir}/libmali.so \ | ||
33 | ${nonarch_base_libdir}/firmware" | ||
34 | FILES_SOLIBSDEV = "" | ||
35 | INSANE_SKIP:${PN} = "dev-so" | ||
36 | FILES:${PN}-libegl = " \ | ||
37 | ${libdir}/libEGL${SOLIBS}" | ||
38 | FILES:${PN}-libgbm = " \ | ||
39 | ${libdir}/libgbm${SOLIBS}" | ||
40 | FILES:${PN}-libgles1 = " \ | ||
41 | ${libdir}/libGLESv1_CM${SOLIBS}" | ||
42 | FILES:${PN}-libgles2 = " \ | ||
43 | ${libdir}/libGLESv2${SOLIBS}" | ||
44 | FILES:${PN}-opencl-icd = " \ | ||
45 | ${sysconfdir}/OpenCL" | ||
46 | FILES:${PN}-libvulkan = " \ | ||
47 | ${sysconfdir}/vulkan" | ||
48 | |||
49 | FILES:${PN}-dev = " \ | ||
50 | ${bindir}/malisc" | ||
51 | FILES:${PN}-libegl-dev = " \ | ||
52 | ${includedir}/EGL \ | ||
53 | ${includedir}/KHR \ | ||
54 | ${libdir}/libEGL${SOLIBSDEV} \ | ||
55 | ${libdir}/pkgconfig/egl.pc" | ||
56 | FILES:${PN}-libgbm-dev = " \ | ||
57 | ${includedir}/gbm.h \ | ||
58 | ${libdir}/libgbm${SOLIBSDEV} \ | ||
59 | ${libdir}/pkgconfig/gbm.pc" | ||
60 | |||
61 | # Consolidate GLES dev packages | ||
62 | PACKAGES =+ "${PN}-libgles-dev" | ||
63 | FILES:${PN}-libgles-dev = " \ | ||
64 | ${includedir}/GLES* \ | ||
65 | ${libdir}/libGLES*${SOLIBSDEV} \ | ||
66 | ${libdir}/pkgconfig/gles*.pc" | ||
67 | DEBIAN_NOAUTONAME:${PN}-libgles-dev = "1" | ||
68 | RREPLACES:${PN}-libgles-dev = "libgles-dev" | ||
69 | RPROVIDES:${PN}-libgles-dev = "libgles-dev" | ||
70 | RCONFLICTS:${PN}-libgles-dev = "libgles-dev" | ||
71 | ALLOW_EMPTY:${PN}-libgles1-dev = "1" | ||
72 | ALLOW_EMPTY:${PN}-libgles2-dev = "1" | ||
73 | ALLOW_EMPTY:${PN}-libgles3-dev = "1" | ||
74 | RDEPENDS:${PN}-libgles1-dev = "${PN}-libgles-dev" | ||
75 | RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" | ||
76 | RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" | ||
77 | |||
78 | FILES:${PN}-opencl-icd-dev = " \ | ||
79 | ${bindir}/mali_clcc" | ||
80 | |||
81 | python __anonymous() { | ||
82 | |||
83 | # Avoid Debian-renaming | ||
84 | for p in (("libegl", "libegl1" ), | ||
85 | ("libgbm", "libgbm1" ), | ||
86 | ("libgles1", "libglesv1-cm1"), | ||
87 | ("libgles2", "libglesv2-2" ), | ||
88 | ("libgles3", )): | ||
89 | fullp = "${PN}-" + p[0] | ||
90 | pkgs = "".join(' %s' % i for i in p) | ||
91 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") | ||
92 | d.appendVar("RREPLACES:" + fullp, pkgs) | ||
93 | d.appendVar("RPROVIDES:" + fullp, pkgs) | ||
94 | d.appendVar("RCONFLICTS:" + fullp, pkgs) | ||
95 | # libmali.so is loaded with dlopen, so an explicit runtime dependency is necessary | ||
96 | d.appendVar("RDEPENDS:" + fullp, "${PN}") | ||
97 | |||
98 | # For -dev, the first element is both the Debian and original name | ||
99 | fullp += "-dev" | ||
100 | pkgs = p[0] + "-dev" | ||
101 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") | ||
102 | d.appendVar("RREPLACES:" + fullp, pkgs) | ||
103 | d.appendVar("RPROVIDES:" + fullp, pkgs) | ||
104 | d.appendVar("RCONFLICTS:" + fullp, pkgs) | ||
105 | } | ||
106 | |||
107 | COMPATIBLE_MACHINE = "(mx95-nxp-bsp)" | ||
diff --git a/recipes-graphics/mali/mali-imx_r53.0.bb b/recipes-graphics/mali/mali-imx_r53.0.bb new file mode 100644 index 000000000..74d9d0faf --- /dev/null +++ b/recipes-graphics/mali/mali-imx_r53.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | require mali-imx.inc | ||
2 | |||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
5 | |||
6 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
7 | SRC_URI[sha256sum] = "67a008bc64af4f3d9ad91465af3c0c3ac90ff8dcbcdaed96036eccc62880c7a3" | ||
8 | IMX_SRCREV_ABBREV = "f2226b0" | ||
9 | |||
10 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | ||
11 | |||
12 | inherit fsl-eula-unpack | ||
13 | |||
14 | do_install () { | ||
15 | install -d ${D} | ||
16 | cp -r ${S}/etc ${S}/usr ${D} | ||
17 | |||
18 | # Move firmware to nonarch_base_libdir | ||
19 | if [ "${base_libdir}" != "${nonarch_base_libdir}" ]; then | ||
20 | install -d ${D}${nonarch_base_libdir} | ||
21 | mv ${D}${base_libdir}/firmware ${D}${nonarch_base_libdir} | ||
22 | fi | ||
23 | } | ||
24 | |||
25 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
diff --git a/recipes-graphics/mesa/mesa-demos/0001-YOCIMX-8300-Fix-mesa-demos-build-break-on-GCC-14.patch b/recipes-graphics/mesa/mesa-demos/0001-YOCIMX-8300-Fix-mesa-demos-build-break-on-GCC-14.patch new file mode 100644 index 000000000..91b736ee7 --- /dev/null +++ b/recipes-graphics/mesa/mesa-demos/0001-YOCIMX-8300-Fix-mesa-demos-build-break-on-GCC-14.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From 400c42cda81a859bd5950567eaffe394053ccc99 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wujian Sun <wujian.sun_1@nxp.com> | ||
3 | Date: Thu, 5 Dec 2024 10:32:05 +0800 | ||
4 | Subject: [PATCH] YOCIMX-8300 Fix mesa-demos build break on GCC 14 | ||
5 | |||
6 | | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c: In function 'main': | ||
7 | | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:190:24: error: passing | ||
8 | argument 1 of 'eglGetDisplay' from incompatible pointer type | ||
9 | [-Wincompatible-pointer-types] | ||
10 | | 190 | dpy = eglGetDisplay(gbm); | ||
11 | | | ^~~ | ||
12 | | | | | ||
13 | | | struct gbm_device * | ||
14 | | In file included from ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:33: | ||
15 | |||
16 | Type' {aka 'struct wl_display *'} but argument is of type 'struct | ||
17 | gbm_device *' | ||
18 | | 143 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay | ||
19 | (EGLNativeDisplayType display_id); | ||
20 | | | | ||
21 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | ||
22 | | ../mesa-demos-8.5.0/src/egl/opengl/eglkms.c:229:50: error: passing | ||
23 | argument 3 of 'eglCreateWindowSurface' from incompatible pointer type | ||
24 | [-Wincompatible-pointer-types] | ||
25 | | 229 | surface = eglCreateWindowSurface(dpy, config, gs, NULL); | ||
26 | | | ^~ | ||
27 | | | | | ||
28 | | | struct | ||
29 | gbm_surface * | ||
30 | |||
31 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/demos/-/merge_requests/205] | ||
32 | |||
33 | Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com> | ||
34 | --- | ||
35 | src/egl/opengl/eglkms.c | 4 ++-- | ||
36 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
37 | |||
38 | diff --git a/src/egl/opengl/eglkms.c b/src/egl/opengl/eglkms.c | ||
39 | index 832962b..57adc7b 100644 | ||
40 | --- a/src/egl/opengl/eglkms.c | ||
41 | +++ b/src/egl/opengl/eglkms.c | ||
42 | @@ -187,7 +187,7 @@ int main(int argc, char *argv[]) | ||
43 | goto close_fd; | ||
44 | } | ||
45 | |||
46 | - dpy = eglGetDisplay(gbm); | ||
47 | + dpy = eglGetDisplay((EGLNativeDisplayType) gbm); | ||
48 | if (dpy == EGL_NO_DISPLAY) { | ||
49 | fprintf(stderr, "eglGetDisplay() failed\n"); | ||
50 | ret = -1; | ||
51 | @@ -226,7 +226,7 @@ int main(int argc, char *argv[]) | ||
52 | gs = gbm_surface_create(gbm, kms.mode.hdisplay, kms.mode.vdisplay, | ||
53 | GBM_BO_FORMAT_XRGB8888, | ||
54 | GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING); | ||
55 | - surface = eglCreateWindowSurface(dpy, config, gs, NULL); | ||
56 | + surface = eglCreateWindowSurface(dpy, config, (EGLNativeWindowType) gs, NULL); | ||
57 | |||
58 | if (!eglMakeCurrent(dpy, surface, surface, ctx)) { | ||
59 | fprintf(stderr, "failed to make context current\n"); | ||
diff --git a/recipes-graphics/mesa/mesa-demos/0001-egl-clear-backgrounds-black.patch b/recipes-graphics/mesa/mesa-demos/0001-egl-clear-backgrounds-black.patch index fa46823f1..fb9091129 100644 --- a/recipes-graphics/mesa/mesa-demos/0001-egl-clear-backgrounds-black.patch +++ b/recipes-graphics/mesa/mesa-demos/0001-egl-clear-backgrounds-black.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cad7eb0f0487aea64c4460bd6ad95b5c9537d35a Mon Sep 17 00:00:00 2001 | 1 | From f5a6600ff8312a7c0f30273ab783c1d822749a73 Mon Sep 17 00:00:00 2001 |
2 | From: Jiyu Yang <jiyu.yang@nxp.com> | 2 | From: Jiyu Yang <jiyu.yang@nxp.com> |
3 | Date: Thu, 11 Apr 2024 16:30:50 +0800 | 3 | Date: Thu, 11 Apr 2024 16:30:50 +0800 |
4 | Subject: [PATCH] egl: clear backgrounds black | 4 | Subject: [PATCH] egl: clear backgrounds black |
@@ -13,18 +13,15 @@ Signed-off-by: Jiyu Yang <jiyu.yang@nxp.com> | |||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/src/egl/opengles2/es2gears.c b/src/egl/opengles2/es2gears.c | 15 | diff --git a/src/egl/opengles2/es2gears.c b/src/egl/opengles2/es2gears.c |
16 | index db67f3a9..4e81afe7 100644 | 16 | index 9501f61..e421a8a 100644 |
17 | --- a/src/egl/opengles2/es2gears.c | 17 | --- a/src/egl/opengles2/es2gears.c |
18 | +++ b/src/egl/opengles2/es2gears.c | 18 | +++ b/src/egl/opengles2/es2gears.c |
19 | @@ -515,7 +515,7 @@ gears_draw(void) | 19 | @@ -350,7 +350,7 @@ gears_draw(void) |
20 | GLfloat transform[16]; | 20 | GLfloat transform[16]; |
21 | identity(transform); | 21 | mat4_identity(transform); |
22 | 22 | ||
23 | - glClearColor(0.0, 0.0, 0.0, 0.0); | 23 | - glClearColor(0.0, 0.0, 0.0, 0.0); |
24 | + glClearColor(0.0, 0.0, 0.0, 1.0); | 24 | + glClearColor(0.0, 0.0, 0.0, 1.0); |
25 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | 25 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
26 | 26 | ||
27 | /* Translate and rotate the view */ | 27 | /* Translate and rotate the view */ |
28 | -- | ||
29 | 2.34.1 | ||
30 | |||
diff --git a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch index 8401793cd..2e87ed155 100644 --- a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch +++ b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 757649a766f90e745f24df1d191caeef15c71399 Mon Sep 17 00:00:00 2001 | 1 | From e453ac82b6ffd8f1d0de4c8ac8fd4bab6b924958 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Tue, 4 Jun 2013 09:28:51 -0300 | 3 | Date: Tue, 4 Jun 2013 09:28:51 -0300 |
4 | Subject: [PATCH] Replace glWindowPos2iARB calls with glWindowPos2i | 4 | Subject: [PATCH] Replace glWindowPos2iARB calls with glWindowPos2i |
@@ -34,7 +34,7 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | |||
34 | 20 files changed, 28 insertions(+), 28 deletions(-) | 34 | 20 files changed, 28 insertions(+), 28 deletions(-) |
35 | 35 | ||
36 | diff --git a/src/demos/copypix.c b/src/demos/copypix.c | 36 | diff --git a/src/demos/copypix.c b/src/demos/copypix.c |
37 | index 286c5a9..041b567 100644 | 37 | index 164d8c0..2d062a7 100644 |
38 | --- a/src/demos/copypix.c | 38 | --- a/src/demos/copypix.c |
39 | +++ b/src/demos/copypix.c | 39 | +++ b/src/demos/copypix.c |
40 | @@ -54,7 +54,7 @@ static void Display( void ) | 40 | @@ -54,7 +54,7 @@ static void Display( void ) |
@@ -56,7 +56,7 @@ index 286c5a9..041b567 100644 | |||
56 | glPixelZoom(1, 1); | 56 | glPixelZoom(1, 1); |
57 | 57 | ||
58 | diff --git a/src/demos/engine.c b/src/demos/engine.c | 58 | diff --git a/src/demos/engine.c b/src/demos/engine.c |
59 | index 928fcbb..beace4c 100644 | 59 | index 410d889..b24638a 100644 |
60 | --- a/src/demos/engine.c | 60 | --- a/src/demos/engine.c |
61 | +++ b/src/demos/engine.c | 61 | +++ b/src/demos/engine.c |
62 | @@ -971,7 +971,7 @@ Draw(void) | 62 | @@ -971,7 +971,7 @@ Draw(void) |
@@ -69,7 +69,7 @@ index 928fcbb..beace4c 100644 | |||
69 | if (lit) | 69 | if (lit) |
70 | glEnable(GL_LIGHTING); | 70 | glEnable(GL_LIGHTING); |
71 | diff --git a/src/demos/fogcoord.c b/src/demos/fogcoord.c | 71 | diff --git a/src/demos/fogcoord.c b/src/demos/fogcoord.c |
72 | index 567eec0..e833009 100644 | 72 | index ea9a3ae..ed0483f 100644 |
73 | --- a/src/demos/fogcoord.c | 73 | --- a/src/demos/fogcoord.c |
74 | +++ b/src/demos/fogcoord.c | 74 | +++ b/src/demos/fogcoord.c |
75 | @@ -68,14 +68,14 @@ PrintInfo(void) | 75 | @@ -68,14 +68,14 @@ PrintInfo(void) |
@@ -90,7 +90,7 @@ index 567eec0..e833009 100644 | |||
90 | } | 90 | } |
91 | 91 | ||
92 | diff --git a/src/glsl/shadow_sampler.c b/src/glsl/shadow_sampler.c | 92 | diff --git a/src/glsl/shadow_sampler.c b/src/glsl/shadow_sampler.c |
93 | index b830030..eb82d8b 100644 | 93 | index 5f0f192..16a2201 100644 |
94 | --- a/src/glsl/shadow_sampler.c | 94 | --- a/src/glsl/shadow_sampler.c |
95 | +++ b/src/glsl/shadow_sampler.c | 95 | +++ b/src/glsl/shadow_sampler.c |
96 | @@ -85,7 +85,7 @@ Redisplay(void) | 96 | @@ -85,7 +85,7 @@ Redisplay(void) |
@@ -103,7 +103,7 @@ index b830030..eb82d8b 100644 | |||
103 | 103 | ||
104 | { | 104 | { |
105 | diff --git a/src/tests/auxbuffer.c b/src/tests/auxbuffer.c | 105 | diff --git a/src/tests/auxbuffer.c b/src/tests/auxbuffer.c |
106 | index 5fa399a..0cd5f47 100644 | 106 | index d4f7c2d..5ff1785 100644 |
107 | --- a/src/tests/auxbuffer.c | 107 | --- a/src/tests/auxbuffer.c |
108 | +++ b/src/tests/auxbuffer.c | 108 | +++ b/src/tests/auxbuffer.c |
109 | @@ -419,7 +419,7 @@ event_loop(Display *dpy, Window win) | 109 | @@ -419,7 +419,7 @@ event_loop(Display *dpy, Window win) |
@@ -116,7 +116,7 @@ index 5fa399a..0cd5f47 100644 | |||
116 | glCopyPixels(0, 0, WinWidth, WinHeight, GL_COLOR); | 116 | glCopyPixels(0, 0, WinWidth, WinHeight, GL_COLOR); |
117 | glEnable(GL_DEPTH_TEST); | 117 | glEnable(GL_DEPTH_TEST); |
118 | diff --git a/src/tests/copypixrate.c b/src/tests/copypixrate.c | 118 | diff --git a/src/tests/copypixrate.c b/src/tests/copypixrate.c |
119 | index 2f64e0a..df1f9b0 100644 | 119 | index 4c12fbd..e80f3cb 100644 |
120 | --- a/src/tests/copypixrate.c | 120 | --- a/src/tests/copypixrate.c |
121 | +++ b/src/tests/copypixrate.c | 121 | +++ b/src/tests/copypixrate.c |
122 | @@ -91,7 +91,7 @@ BlitOne(void) | 122 | @@ -91,7 +91,7 @@ BlitOne(void) |
@@ -129,7 +129,7 @@ index 2f64e0a..df1f9b0 100644 | |||
129 | } | 129 | } |
130 | } | 130 | } |
131 | diff --git a/src/tests/drawbuffers.c b/src/tests/drawbuffers.c | 131 | diff --git a/src/tests/drawbuffers.c b/src/tests/drawbuffers.c |
132 | index fa2f8a7..cd5033f 100644 | 132 | index f017d25..36b241f 100644 |
133 | --- a/src/tests/drawbuffers.c | 133 | --- a/src/tests/drawbuffers.c |
134 | +++ b/src/tests/drawbuffers.c | 134 | +++ b/src/tests/drawbuffers.c |
135 | @@ -88,7 +88,7 @@ Display(void) | 135 | @@ -88,7 +88,7 @@ Display(void) |
@@ -142,7 +142,7 @@ index fa2f8a7..cd5033f 100644 | |||
142 | 142 | ||
143 | free(buffer); | 143 | free(buffer); |
144 | diff --git a/src/tests/drawbuffers2.c b/src/tests/drawbuffers2.c | 144 | diff --git a/src/tests/drawbuffers2.c b/src/tests/drawbuffers2.c |
145 | index 5bcf0b2..84d444b 100644 | 145 | index 0cb8d47..ac1a5aa 100644 |
146 | --- a/src/tests/drawbuffers2.c | 146 | --- a/src/tests/drawbuffers2.c |
147 | +++ b/src/tests/drawbuffers2.c | 147 | +++ b/src/tests/drawbuffers2.c |
148 | @@ -112,7 +112,7 @@ Display(void) | 148 | @@ -112,7 +112,7 @@ Display(void) |
@@ -155,7 +155,7 @@ index 5bcf0b2..84d444b 100644 | |||
155 | 155 | ||
156 | free(buffer); | 156 | free(buffer); |
157 | diff --git a/src/tests/fbotest1.c b/src/tests/fbotest1.c | 157 | diff --git a/src/tests/fbotest1.c b/src/tests/fbotest1.c |
158 | index 161903c..5930a6d 100644 | 158 | index 322ea30..19082b6 100644 |
159 | --- a/src/tests/fbotest1.c | 159 | --- a/src/tests/fbotest1.c |
160 | +++ b/src/tests/fbotest1.c | 160 | +++ b/src/tests/fbotest1.c |
161 | @@ -61,7 +61,7 @@ Display( void ) | 161 | @@ -61,7 +61,7 @@ Display( void ) |
@@ -168,7 +168,7 @@ index 161903c..5930a6d 100644 | |||
168 | 168 | ||
169 | free(buffer); | 169 | free(buffer); |
170 | diff --git a/src/tests/fbotest2.c b/src/tests/fbotest2.c | 170 | diff --git a/src/tests/fbotest2.c b/src/tests/fbotest2.c |
171 | index 6ef7f12..11c867e 100644 | 171 | index 05554e4..e6a6c29 100644 |
172 | --- a/src/tests/fbotest2.c | 172 | --- a/src/tests/fbotest2.c |
173 | +++ b/src/tests/fbotest2.c | 173 | +++ b/src/tests/fbotest2.c |
174 | @@ -72,7 +72,7 @@ Display( void ) | 174 | @@ -72,7 +72,7 @@ Display( void ) |
@@ -190,7 +190,7 @@ index 6ef7f12..11c867e 100644 | |||
190 | 190 | ||
191 | free(buffer); | 191 | free(buffer); |
192 | diff --git a/src/tests/fbotest3.c b/src/tests/fbotest3.c | 192 | diff --git a/src/tests/fbotest3.c b/src/tests/fbotest3.c |
193 | index 19f684d..e6d7710 100644 | 193 | index a3ac340..c320794 100644 |
194 | --- a/src/tests/fbotest3.c | 194 | --- a/src/tests/fbotest3.c |
195 | +++ b/src/tests/fbotest3.c | 195 | +++ b/src/tests/fbotest3.c |
196 | @@ -79,7 +79,7 @@ Display( void ) | 196 | @@ -79,7 +79,7 @@ Display( void ) |
@@ -203,7 +203,7 @@ index 19f684d..e6d7710 100644 | |||
203 | 203 | ||
204 | free(buffer); | 204 | free(buffer); |
205 | diff --git a/src/tests/readrate.c b/src/tests/readrate.c | 205 | diff --git a/src/tests/readrate.c b/src/tests/readrate.c |
206 | index 3859cf4..81eb8a3 100644 | 206 | index 8a9a02f..9709835 100644 |
207 | --- a/src/tests/readrate.c | 207 | --- a/src/tests/readrate.c |
208 | +++ b/src/tests/readrate.c | 208 | +++ b/src/tests/readrate.c |
209 | @@ -85,7 +85,7 @@ MeasureFormat(struct format_type *fmt, GLint width, GLint height, GLuint pbo) | 209 | @@ -85,7 +85,7 @@ MeasureFormat(struct format_type *fmt, GLint width, GLint height, GLuint pbo) |
@@ -242,7 +242,7 @@ index 3859cf4..81eb8a3 100644 | |||
242 | } | 242 | } |
243 | 243 | ||
244 | diff --git a/src/tests/viewmemory.c b/src/tests/viewmemory.c | 244 | diff --git a/src/tests/viewmemory.c b/src/tests/viewmemory.c |
245 | index 16044b9..3584c33 100644 | 245 | index 16054b6..ff7b4eb 100644 |
246 | --- a/src/tests/viewmemory.c | 246 | --- a/src/tests/viewmemory.c |
247 | +++ b/src/tests/viewmemory.c | 247 | +++ b/src/tests/viewmemory.c |
248 | @@ -95,7 +95,7 @@ Draw(void) | 248 | @@ -95,7 +95,7 @@ Draw(void) |
@@ -255,7 +255,7 @@ index 16044b9..3584c33 100644 | |||
255 | 255 | ||
256 | glutSwapBuffers(); | 256 | glutSwapBuffers(); |
257 | diff --git a/src/trivial/clear-fbo-scissor.c b/src/trivial/clear-fbo-scissor.c | 257 | diff --git a/src/trivial/clear-fbo-scissor.c b/src/trivial/clear-fbo-scissor.c |
258 | index a30935c..5c15200 100644 | 258 | index 2d1ee4f..6d06330 100644 |
259 | --- a/src/trivial/clear-fbo-scissor.c | 259 | --- a/src/trivial/clear-fbo-scissor.c |
260 | +++ b/src/trivial/clear-fbo-scissor.c | 260 | +++ b/src/trivial/clear-fbo-scissor.c |
261 | @@ -182,7 +182,7 @@ Draw(void) | 261 | @@ -182,7 +182,7 @@ Draw(void) |
@@ -268,7 +268,7 @@ index a30935c..5c15200 100644 | |||
268 | 268 | ||
269 | free(buffer); | 269 | free(buffer); |
270 | diff --git a/src/trivial/clear-fbo-tex.c b/src/trivial/clear-fbo-tex.c | 270 | diff --git a/src/trivial/clear-fbo-tex.c b/src/trivial/clear-fbo-tex.c |
271 | index de84f98..f0fbdf6 100644 | 271 | index 94534bd..6a38c4b 100644 |
272 | --- a/src/trivial/clear-fbo-tex.c | 272 | --- a/src/trivial/clear-fbo-tex.c |
273 | +++ b/src/trivial/clear-fbo-tex.c | 273 | +++ b/src/trivial/clear-fbo-tex.c |
274 | @@ -140,7 +140,7 @@ static void Draw( void ) | 274 | @@ -140,7 +140,7 @@ static void Draw( void ) |
@@ -281,7 +281,7 @@ index de84f98..f0fbdf6 100644 | |||
281 | 281 | ||
282 | free(buffer); | 282 | free(buffer); |
283 | diff --git a/src/trivial/clear-fbo.c b/src/trivial/clear-fbo.c | 283 | diff --git a/src/trivial/clear-fbo.c b/src/trivial/clear-fbo.c |
284 | index 10d830b..3fee3e3 100644 | 284 | index 2065836..ad39401 100644 |
285 | --- a/src/trivial/clear-fbo.c | 285 | --- a/src/trivial/clear-fbo.c |
286 | +++ b/src/trivial/clear-fbo.c | 286 | +++ b/src/trivial/clear-fbo.c |
287 | @@ -116,7 +116,7 @@ Draw(void) | 287 | @@ -116,7 +116,7 @@ Draw(void) |
@@ -294,7 +294,7 @@ index 10d830b..3fee3e3 100644 | |||
294 | 294 | ||
295 | free(buffer); | 295 | free(buffer); |
296 | diff --git a/src/trivial/readpixels.c b/src/trivial/readpixels.c | 296 | diff --git a/src/trivial/readpixels.c b/src/trivial/readpixels.c |
297 | index ccce4ed..74e0546 100644 | 297 | index fb88570..da9030e 100644 |
298 | --- a/src/trivial/readpixels.c | 298 | --- a/src/trivial/readpixels.c |
299 | +++ b/src/trivial/readpixels.c | 299 | +++ b/src/trivial/readpixels.c |
300 | @@ -71,7 +71,7 @@ static void Draw(void) | 300 | @@ -71,7 +71,7 @@ static void Draw(void) |
@@ -307,7 +307,7 @@ index ccce4ed..74e0546 100644 | |||
307 | glDrawPixels(Width, Height, GL_RGBA, GL_FLOAT, image); | 307 | glDrawPixels(Width, Height, GL_RGBA, GL_FLOAT, image); |
308 | free(image); | 308 | free(image); |
309 | diff --git a/src/trivial/tri-fbo.c b/src/trivial/tri-fbo.c | 309 | diff --git a/src/trivial/tri-fbo.c b/src/trivial/tri-fbo.c |
310 | index d5800b2..dd1f21a 100644 | 310 | index 76985a9..21c0ec0 100644 |
311 | --- a/src/trivial/tri-fbo.c | 311 | --- a/src/trivial/tri-fbo.c |
312 | +++ b/src/trivial/tri-fbo.c | 312 | +++ b/src/trivial/tri-fbo.c |
313 | @@ -119,7 +119,7 @@ static void Draw( void ) | 313 | @@ -119,7 +119,7 @@ static void Draw( void ) |
@@ -320,7 +320,7 @@ index d5800b2..dd1f21a 100644 | |||
320 | 320 | ||
321 | 321 | ||
322 | diff --git a/src/xdemos/glxsnoop.c b/src/xdemos/glxsnoop.c | 322 | diff --git a/src/xdemos/glxsnoop.c b/src/xdemos/glxsnoop.c |
323 | index 2215cfd..13d2b2d 100644 | 323 | index 294297a..abb32a8 100644 |
324 | --- a/src/xdemos/glxsnoop.c | 324 | --- a/src/xdemos/glxsnoop.c |
325 | +++ b/src/xdemos/glxsnoop.c | 325 | +++ b/src/xdemos/glxsnoop.c |
326 | @@ -91,7 +91,7 @@ redraw(Display *dpy, Window srcWin, Window dstWin ) | 326 | @@ -91,7 +91,7 @@ redraw(Display *dpy, Window srcWin, Window dstWin ) |
@@ -350,6 +350,3 @@ index f670983..d010085 100644 | |||
350 | glCopyPixels(0, 0, Width[0], Height[0], GL_COLOR); | 350 | glCopyPixels(0, 0, Width[0], Height[0], GL_COLOR); |
351 | } | 351 | } |
352 | 352 | ||
353 | -- | ||
354 | 1.8.1 | ||
355 | |||
diff --git a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch index 459a6ebd4..17fb208c9 100644 --- a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch +++ b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch | |||
@@ -1,10 +1,18 @@ | |||
1 | mesa-demos: Add extension header to fix build break now that gl1 is removed | 1 | From d152655a1421f0cdf7ce22c35a36c367c07af587 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 26 Aug 2014 14:44:17 -0500 | ||
4 | Subject: [PATCH] mesa-demos: Add extension header to fix build break now that | ||
5 | gl1 is removed | ||
2 | 6 | ||
3 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
4 | 8 | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | --- | ||
11 | src/egl/opengles1/clear.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
6 | diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c | 14 | diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c |
7 | index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644 | 15 | index 9fe1b52..ca9954a 100644 |
8 | --- a/src/egl/opengles1/clear.c | 16 | --- a/src/egl/opengles1/clear.c |
9 | +++ b/src/egl/opengles1/clear.c | 17 | +++ b/src/egl/opengles1/clear.c |
10 | @@ -34,7 +34,7 @@ | 18 | @@ -34,7 +34,7 @@ |
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 1c5dd3daf..7d3e7ca1c 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
@@ -3,7 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | |||
3 | SRC_URI:append:imxgpu = " \ | 3 | SRC_URI:append:imxgpu = " \ |
4 | file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ | 4 | file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ |
5 | file://fix-clear-build-break.patch \ | 5 | file://fix-clear-build-break.patch \ |
6 | file://0001-egl-clear-backgrounds-black.patch" | 6 | file://0001-egl-clear-backgrounds-black.patch \ |
7 | file://0001-YOCIMX-8300-Fix-mesa-demos-build-break-on-GCC-14.patch \ | ||
8 | " | ||
7 | 9 | ||
8 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" | 10 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" |
9 | 11 | ||
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 658b28de1..23af68280 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
@@ -9,6 +9,8 @@ SRC_URI = "\ | |||
9 | file://mesa-etnaviv.sh \ | 9 | file://mesa-etnaviv.sh \ |
10 | " | 10 | " |
11 | 11 | ||
12 | S = "${UNPACKDIR}" | ||
13 | |||
12 | do_configure[noexec] = "1" | 14 | do_configure[noexec] = "1" |
13 | do_compile[noexec] = "1" | 15 | do_compile[noexec] = "1" |
14 | 16 | ||
diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 7c2e08fba..120561d19 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend | |||
@@ -19,7 +19,7 @@ python () { | |||
19 | } | 19 | } |
20 | 20 | ||
21 | # Enable Etnaviv and Freedreno support | 21 | # Enable Etnaviv and Freedreno support |
22 | PACKAGECONFIG:append:use-mainline-bsp = " gallium etnaviv kmsro freedreno" | 22 | PACKAGECONFIG:append:use-mainline-bsp = " gallium etnaviv freedreno" |
23 | 23 | ||
24 | # For NXP BSP, GPU drivers don't support dri | 24 | # For NXP BSP, GPU drivers don't support dri |
25 | PACKAGECONFIG:remove:imxgpu:use-nxp-bsp = "dri" | 25 | PACKAGECONFIG:remove:imxgpu:use-nxp-bsp = "dri" |
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.261.1.imx.bbappend deleted file mode 100644 index c1a9902b7..000000000 --- a/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.imx.bbappend +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # libvulkan.so is loaded dynamically, so put it in the main package | ||
2 | SOLIBS = ".so*" | ||
3 | FILES_SOLIBSDEV = "" | ||
4 | INSANE_SKIP:${PN} += "dev-so" | ||
5 | |||
6 | # Override default mesa drivers with i.MX GPU drivers | ||
7 | RRECOMMENDS:${PN}:imxvulkan = "libvulkan-imx" | ||
8 | # Override default mesa drivers with i.MX GPU drivers | ||
9 | RRECOMMENDS:${PN}:mx95-nxp-bsp = "mali-imx-libvulkan" | ||
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend new file mode 100644 index 000000000..f46249215 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend | |||
@@ -0,0 +1,14 @@ | |||
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 | |||
7 | # libvulkan.so is loaded dynamically, so put it in the main package | ||
8 | SOLIBS = ".so*" | ||
9 | FILES_SOLIBSDEV = "" | ||
10 | INSANE_SKIP:${PN} += "dev-so" | ||
11 | |||
12 | # Override default mesa drivers with i.MX GPU drivers | ||
13 | RRECOMMENDS:${PN}:imxviv = "libvulkan-imx" | ||
14 | RRECOMMENDS:${PN}:imxmali = "mali-imx-libvulkan" | ||
diff --git a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb index 131f227de..f360706be 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb | |||
@@ -12,9 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \ | |||
12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" |
13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" | 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" |
14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" | 14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" |
15 | SRCREV = "7ece577d467f8afb2f5a2f7fff3761a1e0ee9dad" | 15 | SRCREV = "831a5389062e56dcb1aac4a5419e55e3002aafaf" |
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | 16 | ||
19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 17 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" |
20 | 18 | ||
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index df2898f0a..a8440cf23 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
@@ -165,8 +165,7 @@ SRC_URI:prepend = "git://github.com/nxp-imx/weston-imx.git;protocol=https;branch | |||
165 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ | 165 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ |
166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" | 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" |
167 | SRCBRANCH = "weston-imx-10.0.5" | 167 | SRCBRANCH = "weston-imx-10.0.5" |
168 | SRCREV = "0cc822a1e5a8faea6835a4e9259887d8792b86b4" | 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" |
169 | S = "${WORKDIR}/git" | ||
170 | 169 | ||
171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 170 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
172 | REQUIRED_DISTRO_FEATURES = "opengl" | 171 | REQUIRED_DISTRO_FEATURES = "opengl" |
diff --git a/recipes-graphics/wayland/weston_12.0.4.imx.bb b/recipes-graphics/wayland/weston_14.0.1.imx.bb index 87593e4bd..96bde0fe0 100644 --- a/recipes-graphics/wayland/weston_12.0.4.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.1.imx.bb | |||
@@ -3,7 +3,7 @@ | |||
3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # recipe. The second section customizes the recipe for i.MX. |
4 | 4 | ||
5 | ########### OE-core copy ################## | 5 | ########### OE-core copy ################## |
6 | # Upstream hash: 92a460b55e7290ec0006365219189761f7226f7c | 6 | # Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe |
7 | 7 | ||
8 | SUMMARY = "Weston, a Wayland compositor" | 8 | SUMMARY = "Weston, a Wayland compositor" |
9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" |
@@ -14,17 +14,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
17 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
17 | file://weston.png \ | 18 | file://weston.png \ |
18 | file://weston.desktop \ | 19 | file://weston.desktop \ |
19 | file://xwayland.weston-start \ | 20 | file://xwayland.weston-start \ |
20 | file://systemd-notify.weston-start \ | 21 | file://systemd-notify.weston-start \ |
21 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
22 | " | 22 | " |
23 | 23 | ||
24 | SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a" | 24 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" |
25 | 25 | ||
26 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 26 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
27 | UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 27 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
28 | 28 | ||
29 | inherit meson pkgconfig useradd | 29 | inherit meson pkgconfig useradd |
30 | 30 | ||
@@ -45,7 +45,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla | |||
45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ |
47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ | 47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ |
48 | launcher-libseat \ | ||
49 | image-jpeg \ | 48 | image-jpeg \ |
50 | screenshare \ | 49 | screenshare \ |
51 | shell-desktop \ | 50 | shell-desktop \ |
@@ -61,7 +60,7 @@ SIMPLECLIENTS ?= "all" | |||
61 | # Compositor choices | 60 | # Compositor choices |
62 | # | 61 | # |
63 | # Weston on KMS | 62 | # Weston on KMS |
64 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/egl virtual/libgles2 virtual/libgbm mtdev" | 63 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev seatd virtual/egl virtual/libgles2 virtual/libgbm mtdev" |
65 | # Weston on Wayland (nested Weston) | 64 | # Weston on Wayland (nested Weston) |
66 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" | 65 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" |
67 | # Weston on X11 | 66 | # Weston on X11 |
@@ -69,7 +68,7 @@ PACKAGECONFIG[x11] = "-Dbackend-x11=true,-Dbackend-x11=false,virtual/libx11 libx | |||
69 | # Headless Weston | 68 | # Headless Weston |
70 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" | 69 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" |
71 | # Weston on RDP | 70 | # Weston on RDP |
72 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" |
73 | # VA-API desktop recorder | 72 | # VA-API desktop recorder |
74 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" | 73 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" |
75 | # Weston with EGL support | 74 | # Weston with EGL support |
@@ -100,10 +99,6 @@ PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false" | |||
100 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" | 99 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" |
101 | # JPEG image loading support | 100 | # JPEG image loading support |
102 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | 101 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" |
103 | # support libseat based launch | ||
104 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" | ||
105 | # deprecated and superseded by libseat launcher | ||
106 | PACKAGECONFIG[launcher-logind] = "-Ddeprecated-launcher-logind=true,-Ddeprecated-launcher-logind=false," | ||
107 | # screencasting via PipeWire | 102 | # screencasting via PipeWire |
108 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" | 103 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" |
109 | # VNC remote screensharing | 104 | # VNC remote screensharing |
@@ -167,13 +162,15 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | |||
167 | 162 | ||
168 | DEFAULT_PREFERENCE = "-1" | 163 | DEFAULT_PREFERENCE = "-1" |
169 | 164 | ||
165 | DEPENDS:append = " libdisplay-info" | ||
166 | |||
170 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" | 167 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" |
171 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " | 168 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " |
172 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" | 169 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" |
173 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch" | 170 | SRCBRANCH = "weston-imx-14.0.1" |
174 | SRCBRANCH = "weston-imx-12.0.4" | 171 | SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78" |
175 | SRCREV = "461c49d20677cfd36d01a95dafbd9eedf2a4b09c" | 172 | |
176 | S = "${WORKDIR}/git" | 173 | SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch" |
177 | 174 | ||
178 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 175 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
179 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 176 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
@@ -183,6 +180,9 @@ PACKAGECONFIG_G2D ??= "" | |||
183 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 180 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
184 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 181 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
185 | 182 | ||
183 | # Remove no longer supported colord | ||
184 | PACKAGECONFIG[colord] = "" | ||
185 | |||
186 | # Weston with i.MX G2D renderer | 186 | # Weston with i.MX G2D renderer |
187 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" | 187 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" |
188 | 188 | ||
diff --git a/recipes-graphics/xwayland/xwayland_23.1.1.imx.bb b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb index a9705a233..1d7ee80f6 100644 --- a/recipes-graphics/xwayland/xwayland_23.1.1.imx.bb +++ b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | # This recipe copy helps keep meta-freescale master branch compatible | 1 | # This recipe copy helps keep meta-freescale master branch compatible |
2 | # with Yocto langdale. | 2 | # with Yocto walnascar. |
3 | # (From OE-Core rev: 35fdbd0ea81650a0421d50fb53989d96c5956331) | 3 | # (From OE-Core rev: 737e612ca36bbdf415a911644eb7592cf9389846847b47fa46dc705bd754d2d7) |
4 | 4 | ||
5 | SUMMARY = "XWayland is an X Server that runs under Wayland." | 5 | SUMMARY = "XWayland is an X Server that runs under Wayland." |
6 | DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ | 6 | DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ |
@@ -16,22 +16,23 @@ LICENSE = "MIT" | |||
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" | 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" |
17 | 17 | ||
18 | SRC_URI = "https://www.x.org/archive/individual/xserver/${BP_ORIGINAL}.tar.xz" | 18 | SRC_URI = "https://www.x.org/archive/individual/xserver/${BP_ORIGINAL}.tar.xz" |
19 | BP_ORIGINAL = "${BPN}-23.1.1" | 19 | BP_ORIGINAL = "${BPN}-24.1.6" |
20 | SRC_URI[sha256sum] = "fb9461f5cb9fea5e07e91882311b0c88b43e8843b017ebac05eb5af69aa34c15" | 20 | SRC_URI[sha256sum] = "737e612ca36bbdf415a911644eb7592cf9389846847b47fa46dc705bd754d2d7" |
21 | S = "${WORKDIR}/${BP_ORIGINAL}" | 21 | S = "${UNPACKDIR}/${BP_ORIGINAL}" |
22 | 22 | ||
23 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" | 23 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" |
24 | 24 | ||
25 | inherit meson features_check pkgconfig | 25 | inherit meson features_check pkgconfig |
26 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 26 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
27 | 27 | ||
28 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt" | 28 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt libtirpc" |
29 | 29 | ||
30 | OPENGL_PKGCONFIGS = "glx glamor dri3" | 30 | OPENGL_PKGCONFIGS = "glx glamor dri3" |
31 | PACKAGECONFIG ??= "${XORG_CRYPTO} \ | 31 | PACKAGECONFIG ??= "${XORG_CRYPTO} ${XWAYLAND_EI} \ |
32 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ |
33 | " | 33 | " |
34 | PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence" | 34 | PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence" |
35 | PACKAGECONFIG[libdecor] = "-Dlibdecor=true,-Dlibdecor=false,libdecor" | ||
35 | PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11" | 36 | PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11" |
36 | PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy virtual/libgbm,libegl" | 37 | PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy virtual/libgbm,libegl" |
37 | PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" | 38 | PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" |
@@ -42,6 +43,10 @@ XORG_CRYPTO ??= "openssl" | |||
42 | PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl" | 43 | PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl" |
43 | PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle" | 44 | PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle" |
44 | PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt" | 45 | PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt" |
46 | XWAYLAND_EI ??= "xwayland_ei_false" | ||
47 | PACKAGECONFIG[xwayland_ei_false] = "-Dxwayland_ei=false" | ||
48 | PACKAGECONFIG[xwayland_ei_portal] = "-Dxwayland_ei=portal,,libei" | ||
49 | PACKAGECONFIG[xwayland_ei_socket] = "-Dxwayland_ei=socket,,libei" | ||
45 | 50 | ||
46 | do_install:append() { | 51 | do_install:append() { |
47 | # remove files not needed and clashing with xserver-xorg | 52 | # remove files not needed and clashing with xserver-xorg |
@@ -51,3 +56,7 @@ do_install:append() { | |||
51 | FILES:${PN} += "${libdir}/xorg/protocol.txt" | 56 | FILES:${PN} += "${libdir}/xorg/protocol.txt" |
52 | 57 | ||
53 | RDEPENDS:${PN} += "xkbcomp" | 58 | RDEPENDS:${PN} += "xkbcomp" |
59 | |||
60 | CVE_STATUS_GROUPS = "CVE_STATUS_REDHAT" | ||
61 | CVE_STATUS_REDHAT = "CVE-2025-26594 CVE-2025-26595 CVE-2025-26596 CVE-2025-26597 CVE-2025-26598 CVE-2025-26599 CVE-2025-26600 CVE-2025-26601" | ||
62 | CVE_STATUS_REDHAT[status] = "fixed-version: these are tracked as versionless redhat CVEs in NVD DB, fixed in 24.1.6" | ||
diff --git a/recipes-graphics/xwayland/xwayland_23.1.1.imx.bbappend b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bbappend index f71ba16c3..d8f5bdde5 100644 --- a/recipes-graphics/xwayland/xwayland_23.1.1.imx.bbappend +++ b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bbappend | |||
@@ -6,10 +6,8 @@ SRC_URI:append:imxgpu = " \ | |||
6 | 6 | ||
7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" | 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" |
8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" | 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" |
9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx6-nxp-bsp = "glamor glx" | 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" |
10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx7-nxp-bsp = "glamor glx" | ||
11 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" | 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" |
12 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx9-nxp-bsp = "glamor glx" | ||
13 | 11 | ||
14 | # links with imx-gpu libs which are pre-built for glibc | 12 | # links with imx-gpu libs which are pre-built for glibc |
15 | # gcompat will address it during runtime | 13 | # gcompat will address it during runtime |
@@ -17,4 +15,4 @@ LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | |||
17 | 15 | ||
18 | RDEPENDS:${PN}:append:imxgpu:libc-musl = " gcompat" | 16 | RDEPENDS:${PN}:append:imxgpu:libc-musl = " gcompat" |
19 | 17 | ||
20 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 18 | PACKAGE_ARCH:imxgpu = "${MACHINE_SOCARCH}" |