From 6489a35b8e98f5fa66b24ffbcc5ef55568e4d70c Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 28 Jan 2021 13:32:37 +0100 Subject: imx-dpu-g2d: update to 6.4.3.p1.0 NXP release imx_5.4.70_2.3.0. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher --- recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.12.bb | 35 ++++++++++++++++++++++ recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.9.bb | 35 ---------------------- 2 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.12.bb delete mode 100644 recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.9.bb (limited to 'recipes-graphics') diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.12.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.12.bb new file mode 100644 index 000000000..c407fb4a3 --- /dev/null +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.12.bb @@ -0,0 +1,35 @@ +# Copyright (C) 2016 Freescale Semiconductor +# Copyright 2017-2019 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=cf3f9b8d09bc3926b1004ea71f7a248a" +PROVIDES += "virtual/libg2d" + +SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" +SRC_URI[md5sum] = "18a4119f1f7b83a09f60381e5403bbab" +SRC_URI[sha256sum] = "ba7e219b3cee32e0ac305685de21c67f30e0e5a1a89b5ec441ae6b8484b3f964" + +inherit fsl-eula-unpack + +do_install () { + install -d ${D}${libdir} + install -d ${D}${includedir} + cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} + cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} + cp -r ${S}/gpu-demos/opt ${D} +} + +FILES_${PN} = "${libdir}/libg2d* /opt" +FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" +INSANE_SKIP_${PN} += "ldflags" + +RDEPENDS_${PN} = "libgal-imx libdrm" + +# This is required to provide support for VPU Amphion HEVC tile format +# From NXP [MGS-5547] (commit e175d6b4f78deab24d319b852998bef55cdecc99): +# VPU Amphion HEVC tile support was added using OpenCL, so add a dependency on libopencl-imx. +RDEPENDS_${PN} += "libopencl-imx" + +COMPATIBLE_MACHINE = "(imxdpu)" diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.9.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.9.bb deleted file mode 100644 index 1bbc45dc3..000000000 --- a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.8.9.bb +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (C) 2016 Freescale Semiconductor -# Copyright 2017-2019 NXP -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://COPYING;md5=983e4c77621568488dd902b27e0c2143" -PROVIDES += "virtual/libg2d" - -SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" -SRC_URI[md5sum] = "e532d99c1116ac8b685cd03aab3f4c75" -SRC_URI[sha256sum] = "c48e2d408be9c4bf2731546bece39216c79856e554fd22f6c3040603a2348c72" - -inherit fsl-eula-unpack - -do_install () { - install -d ${D}${libdir} - install -d ${D}${includedir} - cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} - cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} - cp -r ${S}/gpu-demos/opt ${D} -} - -FILES_${PN} = "${libdir}/libg2d* /opt" -FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" -INSANE_SKIP_${PN} += "ldflags" - -RDEPENDS_${PN} = "libgal-imx libdrm libopencl-imx" - -# This is required to provide support for VPU Amphion HEVC tile format -# From NXP [MGS-5547] (commit e175d6b4f78deab24d319b852998bef55cdecc99): -# VPU Amphion HEVC tile support was added using OpenCL, so add a dependency on libopencl-imx. -RDEPENDS_${PN} += "libopencl-imx" - -COMPATIBLE_MACHINE = "(imxdpu)" -- cgit v1.2.3-54-g00ecf