diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-16 16:01:01 -0700 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-02-17 14:18:57 +0000 |
| commit | 5d2b8d7870e5572b8283f7b8d6751e7af2194450 (patch) | |
| tree | 66606626f37d221513e8f37de720bd45a44a197e | |
| parent | 3228eabc7a364a1e96f83baa1de4e202c777d480 (diff) | |
| download | meta-freescale-5d2b8d7870e5572b8283f7b8d6751e7af2194450.tar.gz | |
imx-pxp-g2d: Add PXP implementation of G2D
Used by i.MX 93.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit bb2d96bd16a868bc4ae8ea91c1f89b6b07a3c082)
| -rw-r--r-- | conf/machine/include/imx-base.inc | 1 | ||||
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 41e1038e6..5d9650c64 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -495,6 +495,7 @@ PREFERRED_PROVIDER_virtual/libgles2:imxgpu3d ?= "imx-gpu-viv" | |||
| 495 | PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "imx-gpu-viv" | 495 | PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "imx-gpu-viv" |
| 496 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" | 496 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" |
| 497 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" | 497 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" |
| 498 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" | ||
| 498 | PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv" | 499 | PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv" |
| 499 | PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv" | 500 | PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv" |
| 500 | PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv" | 501 | PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv" |
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb new file mode 100644 index 000000000..fbf56e0ca --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2022 NXP | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "G2D library using i.MX PXP" | ||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" | ||
| 8 | |||
| 9 | PROVIDES += "virtual/libg2d" | ||
| 10 | |||
| 11 | PV = "2.1.0+git${SRCPV}" | ||
| 12 | |||
| 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" | ||
| 15 | SRCBRANCH ?= "imx_2.1" | ||
| 16 | SRCREV = "178970dc7cdba69b94c2219b5bade46d67adb640" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit use-imx-headers | ||
| 21 | |||
| 22 | EXTRA_OEMAKE = "PLATFORM=IMX93 INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" | ||
| 23 | |||
| 24 | do_install() { | ||
| 25 | oe_runmake install | ||
| 26 | } | ||
| 27 | |||
| 28 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" | ||
