From 25c0d3f4ff050cad566b14f4484575b5e05a9bb6 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Wed, 18 Aug 2021 12:05:04 -0500 Subject: imx-dpu-g2d: Upgrade to 1.9.2 2043f5e MA-18905 Fix NV12 tiled+interlaced to NV12 Linar output not correct issue. dec91a5 MGS-6047-4 [#ccc] G2d - add support for multiplane destination formats 530834d MGS-6068 [#ccc] [i.MX8QXPC0-MEK@Linux_IMX_5.4.70-2.3.0 Q4 RC1]imxvideoconvert_g2d 6f000cd MA-12001-2 Fix dpu_test build fail on android 3a7b8d4 MA-18242 configure vscale setup factor2 for bob deinterlace e59edc7 MGS-6114 [#ccc] [QNX] - add support for dpu register locking c4784ec MA-12001 Fix Android emulator build error 9fe13fb MGS-6047-3 [#ccc] G2d - add support for multiplane destination formats 43b1eb4 MGS-6047-2 [#ccc] G2d - add support for multiplane destination formats 30f3ece MGS-6047-1 [#ccc] G2d - add support for multiplane destination formats 0dfcf62 MGS-5942 [#ccc] G2D - add support of caching allocated buffers db7e627 MGS-6062 [#ccc] [G2D] YUV rotation is slow Signed-off-by: Tom Hochstein --- recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb (limited to 'recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb') diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb new file mode 100644 index 000000000..e4baefb54 --- /dev/null +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.9.2.bb @@ -0,0 +1,35 @@ +# Copyright (C) 2016 Freescale Semiconductor +# Copyright 2017-2021 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=417b82f17fc02b88125331ed312f6f1b" +PROVIDES += "virtual/libg2d" + +SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" +SRC_URI[md5sum] = "a267c87677d600ecf07d4c8f42941532" +SRC_URI[sha256sum] = "02e4e649f2af6c867cb666df10f032af48b0907e1529fa6c5958dad7e38aebbe" + +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)" -- cgit v1.2.3-54-g00ecf