summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-sdk
Commit message (Collapse)AuthorAgeFilesLines
* imx-gpu-sdk: Move to dynamic-layers/openembedded-layerLuciano Dittgen9 hours1-164/+0
| | | | | | | | | | | imx-gpu-sdk DEPENDS on rapidjson, nlohmann-json, glm and googletest from meta-oe, which the layer does not require, so bitbake world broke for i.MX GPU machines without it, failing yocto-check-layer test_machine_world. packagegroup-fsl-tools-gpu now only pulls it in with meta-oe. libxdg-shell stays, so imx-gpu-sdk-src.inc is required by path. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 7c9b583a33d30fc2260731e2a5c1fbdfcdb35bd7)
* imx-gpu-sdk: Convert the GPU features to PACKAGECONFIGOtavio Salvador2 days1-58/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recipe assumed a Vivante GPU on every imxgpu machine: OpenVG and HW_GPU_VIVANTE were always passed to FslBuild.py and virtual/libopenvg was a dependency for all 2D GPUs. OpenVG is only implemented by the Vivante driver, so on i.MX 95, with its Mali GPU, nothing provides virtual/libopenvg and even with the dependency dropped the build would still request the OpenVG samples and the Vivante-specific code. Follow the layout used by NXP's meta-imx for this recipe and describe each FslBuild.py feature as a PACKAGECONFIG option carrying its own dependencies, so the features passed to the build and the recipe dependencies can no longer diverge: - openvg and vivante are only enabled on imxviv, mali on imxmali; - i.MX 95 gets the OpenGL ES 3.x, OpenCV and Vulkan features and the GL extensions list used by meta-imx, plus OpenCL when the opencl distro feature is enabled; - Vulkan is enabled only with the vulkan distro feature, as vulkan-loader and rapidvulkan require it; - the Vivante machines keep the same feature set as before. libxdg-shell is now a runtime dependency for every Wayland build, not only on i.MX 8, matching its build dependency. Tested with 'bitbake -e' and 'bitbake -n imx-gpu-sdk' for imx6qdlsabresd, imx7ulpevk, imx8mm-lpddr4-evk, imx8mp-lpddr4-evk, imx8mq-evk and imx95-19x19-verdin, with and without the opencl distro feature, comparing FEATURES against the previous recipe for the Vivante machines. Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 8db7478f15ad79ffb906d9b95e5b0bda1ae9c389)
* imx-gpu-sdk: Drop duplicate /usr/src/debug from FILESLuciano Dittgen2026-09-141-1/+1
| | | | | | | | | | | bitbake.conf already puts /usr/src/debug in the FILES:${PN}-dbg default, so listing it again here is redundant; nothing in the inherit chain resets that variable. Buildhistory before/after on imx8mm-lpddr4-evk shows only the FILES declaration losing the repeat, with FILELIST, PKGSIZE and RDEPENDS unchanged. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 2fa1730a179618b27736463bf87c25f4614a7ffe)
* imx-gpu-sdk: Quote DEPENDS_BACKEND and WINDOW_SYSTEM on the assignment lineLuciano Dittgen2026-09-041-8/+4
| | | | | | | | | | | | A line continuation before the opening quote hides the value from every reader and tool that looks at the assignment line. Only the Python source inside ${@...} is reflowed, so both values are unchanged. Tested with bitbake imx-gpu-sdk -C configure on imx8mm-lpddr4-evk (fslc-wayland), where the wayland branch of both expressions is taken; the imx-gpu-sdk buildhistory is byte-identical. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit c4e5b04a489f146b347d4c1f00b1257015b60a4f)
* libxdg-shell: Drop the variables from the license pathLuciano Dittgen2026-09-031-1/+1
| | | | | | | | | | | | | LIC_FILES_CHKSUM addressed License.md through ${UNPACKDIR}/${BP}, which a standalone analyzer cannot resolve. A file:// path is already relative to S, and S sits three levels below the source root, so write it that way. The file and the md5 do not change. Validated on MACHINE=imx8mp-ddr4-evk: do_populate_lic re-ran and passed, so the path still resolves; the buildhistory packages tree is identical. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 050343a6415aa6bdf58b1c12724c164db2ba4afb)
* imx-gpu-sdk: Order DEPENDS and RDEPENDS entries alphabeticallyLuciano Dittgen2026-08-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | oelint.vars.dependsordered wants each variable's flattened token list in case-insensitive alphabetical order, per the Yocto Project Recipe Style Guide section 3.5.2 (DEPENDS/RDEPENDS ordering). The ${...} variable references sort before the plain recipe names ($ precedes letters), and ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} sorts before ${RDEPENDS_EMPTY_MAIN_PACKAGE} (_ precedes }). Move ${DEPENDS_BACKEND} and ${DEPENDS_MX8} to the front of DEPENDS and swap the two RDEPENDS package references so both lists are ordered. This only reorders tokens in space-separated dependency lists, so the resolved dependency sets are unchanged. Validated on imx8mm-lpddr4-evk (fslc-wayland): imx-gpu-sdk was rebuilt with do_package/do_packagedata force-tainted before and after the change, and the buildhistory for every imx-gpu-sdk package is byte-identical. The effective DEPENDS (24 tokens) and RDEPENDS (8 tokens) sets are identical on both sides. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 78c8e0228096c61708ebd53c311ee77468d30e4b)
* imx-gpu-sdk: Suppress inconspaces on comma-joined FEATURESLuciano Dittgen2026-08-251-0/+8
| | | | | | | | | | | | | | | | | | | FEATURES is a comma-separated list, not a space-separated word list. It is passed verbatim to FslBuild.py as --UseFeatures [${FEATURES}], so each appended token is joined with a leading comma and must not start with a space. oelint.vars.inconspaces assumes :append and += values are space-delimited and flags the (correct) spaceless appends on lines 55-58. Adding the space it wants would inject an invalid feature name into the build, so the structural fix is wrong here. Annotate the four appends with # nooelint: oelint.vars.inconspaces and document the comma-list semantics. Suppression-only change: no effective BitBake metadata changes, so build and buildhistory are unaffected. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit d219ed76d68221fad8ed5d5ae91d3c00adbbece4)
* imx-gpu-sdk: Document INSANE_SKIP for prebuilt demos per oelintLuciano Dittgen2026-08-251-0/+3
| | | | | | | | | | The SDK demo binaries under /opt are shipped already stripped and carry vendor rpaths, so the already-stripped and rpaths QA checks do not apply and the INSANE_SKIP is required. Add an inline # nooelint directive with the semantic reason. No effective metadata changes. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit d71f5cf0d6adedd3f44e40e14e6f1489a19cda99)
* libxdg-shell: Add version to filename per oelintLuciano Dittgen2026-07-221-0/+0
| | | | | | | | | Rename libxdg-shell.bb to libxdg-shell_1.0.bb so the recipe filename carries an explicit version (file.underscores). PV was already the default "1.0", so this is no functional change. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 73015b4ee0546ed6673ee1bf3237c1bbbae31faa)
* libxdg-shell: Set DESCRIPTION, HOMEPAGE and SECTION per oelintOtavio Salvador2026-07-141-0/+3
| | | | | | | Add the missing mandatory DESCRIPTION and HOMEPAGE and set SECTION. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 232d8044918f72040b46a26ac8cc848f77ea871f)
* imx-gpu-sdk: Set SECTION per oelintOtavio Salvador2026-07-141-0/+1
| | | | | | | Set SECTION. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit fceed360508004f1e3548bdfff7fc6f092d3375b)
* libxdg-shell: Sort DEPENDS entries alphabeticallyOtavio Salvador2026-07-131-1/+1
| | | | | | | | Order DEPENDS alphabetically per oelint.vars.dependsordered. No functional change. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 5582a2682b21b6db6acd3bbf455bcdb047eea0c6)
* imx-gpu-sdk: Drop double blank line and sort vulkan RDEPENDSOtavio Salvador2026-07-131-2/+1
| | | | | | | | | Remove the consecutive blank line after the require (oelint.newline. consecutive) and order the mx8 vulkan-loader RDEPENDS alphabetically (oelint.vars.dependsordered). No functional change. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 5ef48c89b06a2a914f2254cb5af6160b37c78e96)
* global: Use single space around variable assignmentsOtavio Salvador2026-07-131-19/+19
| | | | | | | | | | | | | | | | meta-freescale used columnar alignment (multiple spaces padding the variable name out to a common column) for tables of assignments such as the fsl-eula-unpack MD5 sums and PACKAGECONFIG[...] entries. The Yocto Recipe Style Guide and oelint-adv (oelint.vars.spacesassignment) call for a single space around the assignment operator. Collapse the padding to a single space on every flagged assignment. The change is purely whitespace around the operator: variable names, operators and values (including whitespace inside quoted values) are untouched, as confirmed by an empty 'git diff -w'. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 2d0bdc93bd8eb274c24d127405e54cecd0a744b6)
* global: Set HOMEPAGE from resolved upstreamOtavio Salvador2026-07-131-0/+1
| | | | | | | | | | | Add the mandatory HOMEPAGE to recipes whose upstream repository was not a plain github/gitlab URL in SRC_URI: those using a source variable or an included .inc (resolved to the real NXP/Freescale repo), and those hosted elsewhere (denx, SourceForge, dpdk.org, freedesktop, jhauser). Clears the oelint-adv oelint.var.mandatoryvar.HOMEPAGE error for these recipes. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 4298f9b9965105df213e038ac2a88e612f869fc8)
* global: Drop needless whitespace in assignmentsOtavio Salvador2026-07-132-7/+7
| | | | | | | | | | | | | | | Remove the stray space between an assignment's opening quote and its line-continuation backslash, and the space before '%' in inline ${@...} expressions. Generated mechanically by oelint-adv's auto-fix for a single rule (oelint.vars.notneededspace), isolated to one commit. The affected values are whitespace-separated lists (leading space is insignificant) and Python format expressions ("%s"% p is equivalent), so there is no functional change; a re-run of oelint-adv reports the rule clean. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 96b4f44279d022af8930f01d4a09c12df0be07e4)
* global: Clean up BitBake list spacingLuciano Dittgen2026-07-091-1/+1
| | | | | | | | | | Normalize list continuations, append spacing, quote style, and simple flag values so the metadata follows oelint BitBake syntax expectations. Tested with: git diff --check. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 717410a38d033a3c18a617145a69f5b50b88f824)
* imx-gpu-sdk: import from meta-freescale-distroOtavio Salvador2026-06-144-0/+208
Move the recipe into meta-freescale as part of consolidating all recipe content into a single layer. meta-freescale-distro is becoming a thin backward-compatibility layer that only keeps the distro definitions for the wrynose LTS lifetime and is no longer used for recipe development. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>