diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-16 16:01:01 -0700 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-16 16:21:30 -0700 |
| commit | bb2d96bd16a868bc4ae8ea91c1f89b6b07a3c082 (patch) | |
| tree | c982d6991f65736a571c8989aee42cbd1592d24d | |
| parent | bfd03047b7e48235f3e9b6b9cf330971259cda73 (diff) | |
| download | meta-freescale-bb2d96bd16a868bc4ae8ea91c1f89b6b07a3c082.tar.gz | |
imx-pxp-g2d: Add PXP implementation of G2D
Used by i.MX 93.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -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 6dfaf719c..e59c5bee8 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)" | ||
