summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
Commit message (Collapse)AuthorAgeFilesLines
* imx-gpu-viv: update from 6.4.3.p4.2 to 6.4.3.p4.4Max Krummenacher2022-11-181-13/+2
| | | | | | | | | | | | Update to the version used in lf5.15.52_2.1.0. Note that the the vulkan installable client driver is provided with a filename and soname that no longer clashes with the vulkan loader. Thus the rename and soname magic is dropped. License was updated to NXP EULA v39 August 2022. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Revert "imx-gpu-viv: inherit features_check in imx-gpu-viv bb file"Otavio Salvador2022-10-211-1/+1
| | | | This reverts commit 4d97ada2fa09f83dbb551370deb320e5c74545d3.
* imx-gpu-viv: inherit features_check in imx-gpu-viv bb fileMeng Li2022-10-211-1/+1
| | | | | | | | | | | After rebase meta-freescale, there is a building warning as below: WARNING: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package_qa: QA Issue: imx-gpu-viv: recipe doesn't inherit features_check Because the features_check was missed when NXP upgraded imx-gpu-viv package, add it back. Signed-off-by: Meng Li <Meng.Li@windriver.com> (cherry picked from commit 14916cfe741f696545515ddc768da43d2ea29fb6)
* imx-gpu-viv: Install missing Vulkan ICD config fileTom Hochstein2022-10-111-3/+12
| | | | | | Add the missing json file for the i.MX vulkan implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: use the imxvulkan override for libvulkanJose Quaresma2022-10-041-2/+1
| | | | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* imx-gpu-viv: Allow limited OpenVX supportTom Hochstein2022-10-011-2/+9
| | | | | | | | | | OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. A recent change removed OpenVX packages except for this case. This was a mistake, since there is in fact limited OpenVX support provided on other i.MX 8 machines as needed for i.MX machine learning packages. Fixes: 09e2ce3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: fix removing non packaged filesMax Krummenacher2022-09-281-0/+8
| | | | | | | | | | | | | | | | | | The for loops over the FILES:xxx variables do file expansion on the FILES entries. As a result any file name(s) specified with a wildcard which actually exists in the host filesystem will be replaced with the host filesystems file name(s). Disable file expansion for the for loop and reenable it afterwards so that the expansion happens on the full file names with the ${D} prefix. E.g if the host has /usr/lib/libOpenCL.so.1, then /usr/lib/libOpenCL.so.* gets expanded to /usr/lib/libOpenCL.so.1, and as a result ${D}/usr/lib/libOpenCL.so.1.2, ${D}//usr/lib/libOpenCL.so.3 ... will not be deleted. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: mx8mm: keep deploying openclMax Krummenacher2022-09-261-1/+0
| | | | | | | | | | imx-gpu-g2d dynamically links against the library so OE stops with the following errors: | ERROR: imx-gpu-g2d-6.4.3.p4.2-r0 do_package_qa: QA Issue: /usr/lib/libg2d-viv.so.2.1.0 contained in package imx-gpu-g2d requires libOpenCL.so.3(OPENCL_1.0)(64bit), but no providers found in RDEPENDS:imx-gpu-g2d? [file-rdeps] | ERROR: imx-gpu-g2d-6.4.3.p4.2-r0 do_package_qa: QA Issue: /usr/lib/libg2d-viv.so.2.1.0 contained in package imx-gpu-g2d requires libOpenCL.so.3()(64bit), but no providers found in RDEPENDS:imx-gpu-g2d? [file-rdeps] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: Remove OpenCL and OpenVX from unsupported SOCsTom Hochstein2022-09-221-8/+30
| | | | | | | | OpenCL and OpenVX components are provided for SOCs that are not supported. Fix this by removing them from the PACKAGES variable and from the install. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Drop SOC condition on FILES:libgbm-imx*Tom Hochstein2022-09-221-3/+3
| | | | | | | The FILES variable should always specify the components regardless of whether those components work for the SOC. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Use FILES variable for VDK and Vulkan removalTom Hochstein2022-09-221-13/+16
| | | | | | | | The removal of the libvdk-imx and libvulkan-imx components is properly handled with the existing FILES variables instead of with an incomplete hard-coded list. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1217 from thochstein/imx-gpu-vivOtavio Salvador2022-09-211-16/+25
|\ | | | | imx-gpu-viv: Add support for i.MX 8 without Wayland
| * imx-gpu-viv: Add support for i.MX 8 without WaylandTom Hochstein2022-09-211-16/+25
| | | | | | | | | | | | This configuration is experimental and has never been fully tested. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | imx-gpu-viv: remove vulkan files if not packagedMax Krummenacher2022-09-211-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the i.MX 8M Mini the GPU doesn't provide the Vulkan API and thus the Vulkan libs are not installed. Delete them in that case from the install directory to prevent the following build time error: | ERROR: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package: QA Issue: imx-gpu-viv: Files/directories were installed but not shipped in any package: | /usr/lib/libvulkan.so.1.2.1 | /usr/lib/libvulkan.so.1 Once the above files are deleted from ${D} I additionally get: | ERROR: imx-gpu-viv-1_6.4.3.p4.2-aarch64-r0 do_package_qa: QA Issue: -dev package imx-gpu-viv-dev contains non-symlink .so '/usr/lib/libSPIRV_viv.so' [dev-elf] Why it is not in the list of the `installed but not shipped`files I do not know, but as libSPIRV_viv is also packaged into the vulkan packages let's delete it too. Fixes: ee92b5a8 ("imx-gpu-viv: Mark libvulkan-imx unavailable for 8M Mini") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* | Merge pull request #1214 from YoeDistro/yoe/mutOtavio Salvador2022-09-201-0/+20
|\ \ | | | | | | musl fixes
| * | imx-gpu-viv: Insert libgcompat.so to DT_NEEDED section of libsKhem Raj2022-09-191-0/+20
| |/ | | | | | | | | | | | | These libs are pre-compiled for glibc therefore, on musl they will need redirecting via the gcompat stub to work at runtime. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* / imx-gpu-viv: Mark libvulkan-imx unavailable for 8M MiniTom Hochstein2022-09-191-4/+7
|/ | | | | | | | | | | | | | The GPU drivers do not support 8M Mini, so properly exclude them from PACKAGES so the user gets an earlier indication of a problem: ``` $ bitbake vulkan-loader ERROR: Nothing RPROVIDES 'libvulkan-imx' (but /.../poky/meta/recipes-graphics/vulkan/vulkan-loader_1.3.216.0.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'vulkan-loader' has no buildable providers. Missing or unbuildable dependency chain was: ['vulkan-loader', 'libvulkan-imx'] ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p4.2Tom Hochstein2022-08-261-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds OpenGL ES 3 support. For more details see: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-kirkstone Changelog: ``` a5feccbc2a LF-6205-2 [#imx-2897] fix opencv gpu kernel dump on 8QM 0d602105f4 LF-6086 [#imx-2884] chromium display abnormally 305bf0c6a9 MGS-6515 [#ccc] Add workaround to avoid xterm display error on ubuntu22.04 76ef1b41c5 MGS-6658 [#ccc] fix clSetKernelArg performance drop for opencl 3.0 e7a311cc18 MGS-6515 [#ccc] Add workaround to avoid display freeze on ubuntu22.04 655a77d9d8 MGS-6638 [#imx-2875] weston-simple-egl met damage image on 8ULP 7494436d0c MA-18836 [#imx-2693] Fix nicovideo video playback freeze issue on 8MP board 1aa39dedfd MA-20166 [#imx-2787] Fix frequent black frame inserted while the content playback. a5ee9aea17 MGS-6630 [#ccc] Optimize g2d_open performance a6e424c03e MGS-6619 [#ccc] Sync head files about warp dewarp with g2d-dpu 61d2a6a6ba MGS-6632-2 [#imx-2866] OpenCL case regression with 20220415 6.4.3.p4 patch release 8322c9b749 MGS-6632-1 [#imx-2866] OpenCL case regression with 20220415 6.4.3.p4 patch release b20d358fc1 MGS-6628 [#imx-2857] es20 cts regression on 7ulp (FB backend) with 20220415 6.4.3.p4 patch release 79c5cefb2c MGS-6628 [#imx-2862] fix clSetKernelArg error in opencl cts and opencv test 8a4a5bf31c MGS-6628 [#ccc] Update VXC binary for 6.4.3.p4 20220415 patch integration aec8a132a1 MGS-6628 [#imx-2760] 0051-Update-vxc_toolkit-to-469248 3918b6cc98 MGS-6628 [#imx-2760] 0050-KERNEL-SPACE-Update-gc_feature_database.h-to-469146 52742ca6cd MGS-6628 [#imx-2760] 0049-USER-SPACE-Update-gc_feature_database.h-to-469146 112efa5608 MGS-6628 [#imx-2760] 0048-CL469248-KERNEL-SPACE-dev64x_234062-Fix-build-warnin 9e69da915d MGS-6628 [#imx-2760] 0044-IMX-2843-CL469206-6.4.x_234062-Fix-IMX-2843.-We-need 77a639db1f MGS-6628 [#imx-2760] 0040-IMX-2712-CL468853-projects.dev_234062-Merged-CL46881 80989fe85c MGS-6628 [#imx-2760] 0039-CL468422-6.4.x_234062-vulkan12-merge-CL464485-from-6 330837ea6c MGS-6628 [#imx-2760] 0038-BUG32447-CL468159-KERNEL-SPACE-234062-fix-memory-lea 024bc93a13 MGS-6628 [#imx-2760] 0037-IMX-2806-CL467498-IMX-2806-expose-both-DRM-primary-n 9c1a623b6e MGS-6628 [#imx-2760] 0036-BUG32653-BUG32655-CL467482-6.4.x_234062-Merge-CL4670 03377acef3 MGS-6628 [#imx-2760] 0035-CL467283-v800-DX11.3-Implement-alpha-to-coverage-MSA fb081eb7b2 MGS-6628 [#imx-2760] 0034-CL466701-6.4.x_234062-Merge-CL465473-from-6.4.x.-6.4 c2232d364b MGS-6628 [#imx-2760] 0033-BUG32646-CL466669-234062-bug-32646-refine-CL465212-C ccf0551ff3 MGS-6628 [#imx-2760] 0032-IMX-2651-CL466667-IMX-2651-Merge-cl465620-frome-64x. 85aac4a553 MGS-6628 [#imx-2760] 0031-IMX-2651-CL466665-IMX-2651-fix-R-B-swap-issue-for-ha 34ee80a656 MGS-6628 [#imx-2760] 0030-CL466617-Back-out-changelist-464003 1a72020a1d MGS-6628 [#imx-2760] 0029-CL466583-6.4.x_234062-Merge-CL464975-from-6.4.x-Usin 2ab1be1db1 MGS-6628 [#imx-2760] 0028-CL466501-Merging-SW-Rel5x-dev6.4.x-projects.dev-driv cca8b0ab70 MGS-6628 [#imx-2760] 0027-CL466500-Merging-SW-Rel5x-dev6.4.x-projects.dev-driv 614f1d65e0 MGS-6628 [#imx-2760] 0026-IMX-2826-CL465270-dev64x_234062-IMX-2826-fix-crash-w 7f90444a3d MGS-6628 [#imx-2760] 0025-CL465233-merge-from-CL453524.-6.4.x-refine-CL450821. 00b15cdac7 MGS-6628 [#imx-2760] 0024-CL465212-Merge-from-CL450821-450938.-6.4.x-for-kerne f64961081b MGS-6628 [#imx-2760] 0023-IMX-2836-CL464944-6.4.x_234062-Merge-CL464927-from-6 ec5d8f619f MGS-6628 [#imx-2760] 0022-BUG25725-CL464941-6.4.x_234062-Merge-CL327748-from-6 6648b080f3 MGS-6628 [#imx-2760] 0021-IMX-2731-IMX-2732-CL464003-6.4.x-6.4.x_234062-IMX-27 a0c55c6b0a MGS-6628 [#imx-2760] 0020-IMX-2698-CL463892-6.4.x-6.4.x_234062-IMX-2698-The-HW a7b177e53d MGS-6628 [#imx-2760] 0019-IMX-2806-CL463319-IMX-2806-change-EGL_EXT_device_drm b7f5af53a3 MGS-6628 [#imx-2760] 0018-BUG32501-CL462274-6.4.x_234062-Merge-CL460982-from-6 7c5f6ea2bc MGS-6628 [#imx-2760] 0017-CL461548-64x_234062-ocl-3.0-add-paramaters-checking- 4b8fd43714 MGS-6628 [#imx-2760] 0016-BUG32474-CL460374-6.4.x_234062-Merge-CL458982-from-6 a930efe6b0 MGS-6628 [#imx-2760] 0015-IMX-2713-BUG31426-CL458697-6.4.x_234062-vulkan12-mer 06e92db043 MGS-6628 [#imx-2760] 0014-CL458157-USER-SPACE-dev6.4.x_234062-Fix-build-error- c5179ec2fd MGS-6628 [#imx-2760] 0013-CL458157-KERNEL-SPACE-dev6.4.x_234062-Fix-build-erro 6be307e8ee MGS-6628 [#imx-2760] 0012-CL456696-6.4.x_234062-Merge-CL455062-from-6.4.x-Appr fb26a225c2 MGS-6628 [#imx-2760] 0011-CL456695-6.4.x_234062-Merge-CL455065-from-6.4.x-Refi acb056b128 MGS-6628 [#imx-2760] 0002-IMX-2698-BUG31595-CL455511-6.4.x_234062-Merge-CL4551 8fc838a918 MGS-6603 [#ccc] [6Q] Gplay exits with segfault when playing some clips 825be8c2d8 MGS-6571-7 [#imx-2806] fix Memory leak caused by EXT_device_query b995a0565f MGS-6571-6 [#imx-2806] refine gbm_bo_get_fd_for_plane ae14ce19fc MGS-6571-5 [#imx-2806] parse SURF_X1R5G5B5 using format RGBA 9236f9299e MGS-6571-4 [#imx-2806] Add EGL extension EXT_device_query f646fc926b MGS-6571-3 [#imx-2806] add gbm_bo_get_fd_for_plane api for user space 2487c44a5d MGS-6571-2 [#imx-2806] add gbm_bo_get_fd_for_plane api for kernel space ca50bc93c8 MGS-6571-1 [#imx-2806] revert gbm_bo_get_fd_for_plane api workaround f5e1c5f96b MGS-6596 [#imx-2822] vdk convert from wl-shell to xdg-shell 28d25da960 MGS-6595 [#imx-2809] egl fail to parser KHR Image attribs EGL_IMAGE_PRESERVED_KHR cf95f20c64 MGS-6403 [#ccc] Add return status of g2d opencl init. 94ff495a63 MGS-6593 [#ccc] Update VXC binary for 6.4.3.p4 20220310 patch integration 2fd7a46c0f MGS-6593 [#imx-2760] 0061-CL448121-fix-coverity-issues-from-nxp-patche f380be3d26 MGS-6593 [#imx-2760] 0060-CL448028-fix-coverity-issues-from-nxp-patche ecca99386e MGS-6593 [#imx-2760] 0051-CL445026-fix-coverity-issues-from-nxp-patches c1a4fc3bd6 MGS-6593 [#imx-2760] Revert "MGS-6499-13 [#imx-2782] [QNX] Fix coverity issues for 6.4.3.p2" 70b8baaa0e MGS-6593 [#imx-2760] Revert "MGS-6499-14 [#imx-2782] [QNX] Fix coverity issues for 6.4.3.p2" 8fdbe79ac9 MGS-6593 [#imx-2760] Revert "MGS-6499-15 [#imx-2782] [QNX] Fix coverity issues for 6.4.3.p2" 2c64e89765 MGS-6593 [#imx-2760] Revert "MGS-6499-16 [#imx-2782] [QNX] Fix coverity issues for 6.4.3.p2" d87d6dd95e MGS-6593 [#imx-2760] Revert "MGS-6499-17 [#imx-2782] [QNX] Fix coverity issues for 6.4.3.p2" 3b7ae9d4d2 MGS-6593 [#imx-2760] 0090-Update-vxc_toolkit-to-454357 1ffa649c84 MGS-6593 [#imx-2760] 0089-KERNEL-SPACE-Update-gc_feature_database.h-to-454235 25eb9a4c07 MGS-6593 [#imx-2760] 0088-USER-SPACE-Update-gc_feature_database.h-to-454235 751a51f80f MGS-6593 [#imx-2760] 0087-CL454357-Fix-regression-raised-by-release-vxcBinary- e8df87da2b MGS-6593 [#imx-2760] 0085-BUG32260-CL454272-6.4.x_234062-vulkan11-merge-CL4533 c981ace365 MGS-6593 [#imx-2760] 0084-BUG32260-CL454254-6.4.x_234062-vulkan12-merge-CL4533 db7562b04e MGS-6593 [#imx-2760] 0083-IMX-2713-BUG31426-CL453509-6.4.x-6.4.x_234062-bug-31 fd9d70bfd6 MGS-6593 [#imx-2760] 0082-IMX-2776-CL453476-dev234062-Merging-453463-fix-crash b07cd5a11d MGS-6593 [#imx-2760] 0081-BUG30970-CL452351-OVX-Fixed-tim-vx-simple-nbg-test-c a508487f46 MGS-6593 [#imx-2760] 0080-CL452279-Back-out-changelist-451892 989d043f5e MGS-6593 [#imx-2760] 0079-IMX-2713-BUG31426-CL452040-6.4.x-6.4.x_234062-bug-31 32ed137790 MGS-6593 [#imx-2760] 0078-CL451892-Modify-libEGL-dependency a49e1936ea MGS-6593 [#imx-2760] 0077-BUG32303-CL451874-6.4.x_234062-Fix-Bug-32303-opencv_ 63c3c02585 MGS-6593 [#imx-2760] 0076-CL451399-6.4.x_234062-Merge-CL330274-from-6.4.x.-Cha 03f12ec390 MGS-6593 [#imx-2760] 0074-IMX-2624-CL451292-IMX-2624-Now-Android12-is-official dd0b091b91 MGS-6593 [#imx-2760] 0072-IMX-2746-BUG31551-CL450731-6.4.x_234062-vulkan11-mer c8f21a70aa MGS-6593 [#imx-2760] 0071-IMX-2746-BUG31551-CL450727-6.4.x_234062-vulkan12-mer 45e0c58d73 MGS-6593 [#imx-2760] 0070-CL450446-6.4.x_234062-vulkan12-fix-build-errors-on-a 1d836c7360 MGS-6593 [#imx-2760] 0069-IMX-2713-BUG31426-CL450345-6.4.x-6.4.x_234062-bug-31 3724b37569 MGS-6593 [#imx-2760] 0068-IMX-2713-BUG31426-CL450330-6.4.x-6.4.x_234062-bug-31 475514b3ac MGS-6593 [#imx-2760] 0067-CL450231-libCL-still-depend-on-libGLES 9f2a8fcc75 MGS-6593 [#imx-2760] 0066-CL449814-remove-the-libGLES-dependency-from-libCL cc16d11894 MGS-6593 [#imx-2760] 0065-CL449806-6.4.x_234062-Merge-CL444077-from-6.4.x-Rela 90aea15fee MGS-6593 [#imx-2760] 0064-IMX-2713-BUG31426-CL449797-6.4.x-6.4.x_234062-bug-31 4c7c7aed9e MGS-6593 [#imx-2760] 0062-CL448158-Back-out-changelist-447912.-By-Lijia-He 8c658286a9 MGS-6593 [#imx-2760] 0059-CL447912-6.4.x_234062-Merge-CL444077-from-6.4.x-Rela 166ca1a649 MGS-6593 [#imx-2760] 0058-CL447884-64x_234062-merge-cl420182-from-64x-add-stri bb63e7f1c6 MGS-6593 [#imx-2760] 0057-CL447564-6.4.x_234062-Merge-CL446845-CL447023-from-6 20d99ed764 MGS-6593 [#imx-2760] 0055-IMX-2713-CL447066-6.4.x-6.4.x_234062-IMX-2713-NXP-An 31ef3c2249 MGS-6593 [#imx-2760] 0053-CL446063-64x_234062-Fixed-warning-variable-intermIOp 6c94f64a77 MGS-6593 [#imx-2760] 0050-CL444990-6.4.x_234062-vulkan11-merge-CL444985-from-6 6665760de0 MGS-6593 [#imx-2760] 0049-CL444989-6.4.x_234062-vulkan12-merge-CL444985-from-6 316b60148b MGS-6593 [#imx-2760] 0048-CL444537-6.4.x_234062-vulkan11-merge-CL444321-from-6 f37efbead5 MGS-6593 [#imx-2760] 0047-CL444324-6.4.x_234062-vulkan12-merge-CL444321-from-6 15e69c7928 MGS-6593 [#imx-2760] 0044-IMX-2713-CL442676-Use-RGBA-BRGA-format-to-support-VK b1112141a5 MGS-6593 [#imx-2760] 0041-CL442432-USER-SPACE-v620_v2-Cmodel.-Correct-AHB-and- 3113cc3762 MGS-6593 [#imx-2760] 0040-CL442432-KERNEL-SPACE-v620_v2-Cmodel.-Correct-AHB-an 49ebf470ac MGS-6593 [#imx-2760] 0039-CL442208-USER-SPACE-Reg-Regsiter.-Add-AHB-and-Load-s b179c81bde MGS-6593 [#imx-2760] 0038-CL442208-KERNEL-SPACE-Reg-Regsiter.-Add-AHB-and-Load ff22ec2207 MGS-6593 [#imx-2760] 0036-CL441890-64x_234062-Merged-64x-CL373042-piglit-Refin 677932b7d7 MGS-6593 [#imx-2760] 0035-BUG30792-CL441577-64x_234062-Merged-from-6.4.x-CL374 0278f80390 MGS-6593 [#imx-2760] 0034-IMX-2650-BUG31712-CL441550-6.4.x_234062-Merge-CL4407 f8eb96ef98 MGS-6593 [#imx-2760] 0032-CL441019-KERNEL-SPACE-dev64x_234062-merge-CL439888-a c1d57986db MGS-6593 [#imx-2760] 0031-IMX-2651-CL441012-IMX-2651-fix-deqp-functional-gles3 4fe6b20225 MGS-6593 [#imx-2760] 0030-CL440924-64x_234062-Merged-from-6.4.x-CL374719-Using 2369d3d9b3 MGS-6593 [#imx-2760] 0029-IMX-2713-BUG31426-CL440920-6.4.x_234062-vulkan11-mer 96663362bb MGS-6593 [#imx-2760] 0028-IMX-2713-BUG31426-CL440914-6.4.x_234062-vulkan12-mer 82f7b6e952 MGS-6593 [#imx-2760] 0027-IMX-2713-BUG31426-CL440897-6.4.x_234062-vulkan11-mer 84cf74d651 MGS-6593 [#imx-2760] 0026-CL440483-64x_234062-Merged-from-6.4.x-CL346571-37441 672c594b4d MGS-6593 [#imx-2760] 0025-CL440187-64x_234062.-Merge-CL430229-from-Rel5x-proje 7ed5814ddb MGS-6593 [#imx-2760] 0024-BUG31560-CL439996-6.4.x_234062-Merge-CL438007-from-6 a50c3c85ae MGS-6593 [#imx-2760] 0021-CL439798-KERNEL-SPACE-234062-revert-438254 61f87f72c1 MGS-6593 [#imx-2760] 0020-IMX-2713-CL439792-6.4.x_234062-IMX-2713-NXP-Android1 97533b46f3 MGS-6593 [#imx-2760] 0019-CL439723-6.4.x_234062-merge-NXP-patches-0002-0003-00 2b92914694 MGS-6593 [#imx-2760] 0018-CL439695-fix-memory-leak-issue 3ead83f243 MGS-6593 [#imx-2760] 0017-IMX-2790-BUG31978-CL439581-6.4.x_234062-Merge-CL4382 9b70ffa190 MGS-6593 [#imx-2760] 0016-IMX-2713-BUG31426-CL439432-6.4.x_234062-vulkan12-mer ca0018ef10 MGS-6593 [#imx-2760] 0015-CL439381-6.4.x_234062-vulkan12-merge-CL439376-from-6 677b83bc02 MGS-6593 [#imx-2760] 0014-CL439378-6.4.x_234062-vulkan11-merge-CL439376-from-6 d115d63ad9 MGS-6593 [#imx-2760] 0013-CL439210-dev234062-fix-build-warning 00ab54c9c2 MGS-6593 [#imx-2760] 0012-CL438828-6.4.x_234062-vulkan11-fixed-build-error b7fb0ecff8 MGS-6593 [#imx-2760] 0011-CL438736-6.4.x_234062-vulkan11-merge-CL437930-from-v bb938d75a4 MGS-6593 [#imx-2760] 0010-CL438731-6.4.x_234062-vulkan11-merge-CL437925-from-v 4f84f8c2c0 MGS-6593 [#imx-2760] 0009-CL438698-6.4.x_234062-vulkan11-merge-CL437373-from-v 9254c154c2 MGS-6593 [#imx-2760] 0008-IMX-2713-CL438681-6.4.x_234062-IMX-2713-NXP-Android1 2b07d58912 MGS-6593 [#imx-2760] 0007-BUG31366-CL438673-6.4.x_234062-vulkan11-merge-CL4351 9f609d9b45 MGS-6593 [#imx-2760] 0006-BUG31366-CL438669-6.4.x_234062-vulkan11-merge-CL4351 548ecccab0 MGS-6593 [#imx-2760] 0005-IMX-2713-CL438654-Fixed-android.uirendering.cts.test cfc8aca065 MGS-6593 [#imx-2760] 0004-IMX-2713-CL438436-6.4.x_234062-IMX-2713-NXP-Android1 58572549ca MGS-6593 [#imx-2760] 0003-IMX-2793-IMX-2759-CL438254-KERNEL-SPACE-234062-fix-b cf78c6da91 MGS-6593 [#imx-2760] Revert "MGS-6499-9 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" a37a34abf0 MGS-6593 [#imx-2760] Revert "MGS-5563-14 [#imx-1981] fix vulkan resource leak" 29ed7dd60f MGS-6593 [#imx-2760] Revert "MGS-6499-10 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" 7a86038435 MGS-6593 [#imx-2760] Revert "MGS-6503 [#imx-2782] fix Coverity Out of bound reads issue" b0cc2bdec9 MGS-6593 [#imx-2760] Revert "MGS-6503 [#imx-2782] fix Coverity Resource leak issue" f955d73896 MGS-6593 [#imx-2760] Revert "MGS-6503 [#imx-2782] fix Coverity Use after free issue" e06523f346 MGS-6593 [#imx-2760] Revert "MGS-6499-4 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" 075e7acf00 MGS-6593 [#imx-2760] Revert "MGS-6499-5 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" a55f25c728 MGS-6593 [#imx-2760] Revert "MGS-6499-6 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" 7dfabaa24f MGS-6593 [#imx-2760] Revert "MGS-6499-8 [#ccc] [QNX] Fix coverity issues for 6.4.3.p2" b77abf817e MGS-6588 [#imx-2824] check wl_display first to follow the EGL spec 2fa61b128e MGS-6403 [#ccc] Fix-memory-leak-of-g2d-opencl 4278de9650 MGS-6586 [#imx-2698] android performance drop with MIPI panel b2bbb05993 MA-19319 [#imx-2825] Add another thermal PM processing interface for android 5fe56825ee MA-12288 [#imx-2729] support multiple thermal events processing for imx8mq 608cd9bcd4 MGS-6403 [#ccc] Fix comilation error of g2d with 5.10 hardknott toolchain 7bdf52263f MGS-6403 [#ccc] Enable g2d opencl function in libg2d by default d42ddc3adb MGS-6403 [#ccc] Remove unuse opencl kernels in libg2d 53f498234f MGS-6403 [#ccc] Add RGB888 format support to libg2d acb4d94373 MGS-6573 [#imx-2818] add GBM_MAX_PLANES definition 09dbeae1d3 MGS-6571 [#imx-2806] add gbm_bo_get_fd_for_plane api b45eded53a MA-15948 [#ccc] Add copy libg2d-viv.so in android_update_gpu_libs.sh 096eae469a MGS-6469 [#imx-2756] Enable gpudump event when recovery is enabled 39cec3f08a MGS-6530-2 [#imx-2716] CL442632 6.4.x_234062: Merge CL440784 from 6.4.x: Fix a crash issue in Bug 31357 - [NXP][QNX] glslsandobox fails after enabling assertions in driver. Refine _EvaluateConstantInstruction. af3d8b6936 MGS-6530-2 [#imx-2716] CL442627 6.4.x_234062: Merge CL440611 from 6.4.x: Remove an assert in linktree optimize. Even if current codeTemp has crossLoopIndex, could set current instruction to NOP when codeTemp only have once definition. So, no need to check crossLoopIndex == -1. Fix a crash in Bug31357. b23278c7ac MGS-6517 [#imx-2796] [QNX] Update InterruptAttachFlag 363864b0ea MGS-6438 [#imx-2810] [QNX] Fix a buffer management bug in qnx_UpdateBufferStatus() c9e332978a MGS-6530-2 [#ccc] [QNX] Sync up 6.4.3.p4 76900240b9 MGS-6530 [#ccc] [QNX] Sync up 6.4.3.p4 382be8f31c MGS-6305 [#ccc] [QNX] Update makefiles for iMX8MM d21ee82268 MGS-6474 [#ccc] [QNX] update QNX makefile for g2d-samples repo 6529f10a85 MGS-6520 [#imx-2760] Update VXC binary for 6.4.3.p4 20220110 patch integration 7bc4179fca MGS-6520 [#imx-2760] Fix [-Wunused-function] warnings in compilation 89d585e777 MGS-6520 [#imx-2760] 0064-Update-vxc_toolkit-to-437930 e12eb7ece3 MGS-6520 [#imx-2760] 0063-KERNEL-SPACE-Update-gc_feature_database.h-to-437745 af2bc853c4 MGS-6520 [#imx-2760] 0062-USER-SPACE-Update-gc_feature_database.h-to-437745 afe6c8252e MGS-6520 [#imx-2760] 0061-IMX-2713-BUG31426-CL437930-6.4.x_234062-vulkan12-mer 8e14b22053 MGS-6520 [#imx-2760] 0060-IMX-2713-BUG31426-CL437925-6.4.x_234062-vulkan12-mer 66aff8ee3e MGS-6520 [#imx-2760] 0058-BUG31845-CL437581-USER-SPACE-6.4.x_234062-Merge-CL43 add53c6cf3 MGS-6520 [#imx-2760] 0057-BUG31845-CL437581-KERNEL-SPACE-6.4.x_234062-Merge-CL c965b4e558 MGS-6520 [#imx-2760] 0056-CL437580-6.4.x_234062-Back-out-changelist-435718.-By 0b27a54277 MGS-6520 [#imx-2760] 0055-IMX-2775-CL437578-64x_234062-ocl12-integrate-nxp-pat e0166215a3 MGS-6520 [#imx-2760] 0054-IMX-2713-BUG31426-CL437373-6.4.x_234062-vulkan12-mer 0fd44c737c MGS-6520 [#imx-2760] 0053-IMX-2713-CL437226-6.4.x-6.4.x_234062-IMX-2713-NXP-An b4f3be3b98 MGS-6520 [#imx-2760] 0052-IMX-2713-CL437225-6.4.x-6.4.x_234062-IMX-2713-NXP-An 117cc6f39a MGS-6520 [#imx-2760] 0051-CL435990-dev234062-fix-build-error bde1094dd5 MGS-6520 [#imx-2760] 0050-IMX-2713-CL435927-IMX-2713-Some-Graphic-CTS-failures 7b8df34902 MGS-6520 [#imx-2760] 0048-CL435859-dev234062-delete-some-empty-files 9ee7c59b02 MGS-6520 [#imx-2760] 0047-CL435854-dev234062-delete-some-unused-dead-code 07da77dee7 MGS-6520 [#imx-2760] 0046-CL435718-6.4.x_234062-Merge-CL430462-from-6.4.x.-6.4 e72b1e3a6e MGS-6520 [#imx-2760] 0045-BUG31366-CL435146-6.4.x_234062-vulkan12-merge-CL4344 af2a5d9926 MGS-6520 [#imx-2760] 0044-BUG31366-CL435144-6.4.x_234062-vulkan12-merge-CL4336 4a824f9212 MGS-6520 [#imx-2760] 0043-IMX-2713-CL435130-Some-Graphic-CTS-failures-on-Andro 92eefbf2c4 MGS-6520 [#imx-2760] 0042-IMX-2693-CL434218-Integrated-NXP-IMX-2693-patch-0001 840d7760da MGS-6520 [#imx-2760] 0039-IMX-2762-BUG31674-CL433181-6.4.x_234062-Merge-CL4320 589ad221ef MGS-6520 [#imx-2760] 0038-BUG31846-CL433030-6.4.x_234062-Fix-Bug-31846-OCL1.2- 374b4dea7d MGS-6520 [#imx-2760] 0037-CL433001-6.4.x_234062-vulkan11-fixed-build-error 8e35c1bee8 MGS-6520 [#imx-2760] 0036-IMX-2772-CL432926-Merge-NXP-IMX-2772-patch-0001-MA-1 e65e636123 MGS-6520 [#imx-2760] 0035-BUG31366-CL432840-6.4.x_234062-vulkan11-merge-CL4321 b036a5b4f2 MGS-6520 [#imx-2760] 0034-IMX-2360-BUG31673-CL432807-6.4.x_234062-vulkan11-mer 7ce95cea27 MGS-6520 [#imx-2760] 0033-CL432778-dev234062-ocl30-Merging-cl432776-add-Vivant f442249052 MGS-6520 [#imx-2760] 0032-CL432767-dev234062-Merging-cl395983-add-missing-file d1d6f7654f MGS-6520 [#imx-2760] 0031-BUG31765-CL432734-6.4.x_234062-Merge-CL432733-from-6 998d7f09b8 MGS-6520 [#imx-2760] 0030-BUG31846-CL432732-6.4.x_234062-Merge-CL373868-from-6 8578e53138 MGS-6520 [#imx-2760] 0029-CL432448-Switch-Android-OpenCL-build-from-libCL-to-l 7c6045471e MGS-6520 [#imx-2760] 0028-CL432323-64.x_234062-vulkan12-fix-a-typo-issue 009c28f6aa MGS-6520 [#imx-2760] 0027-CL432309-6.4.x_234062-vulkan12-add-missing-extern-fu 9d6c3e734b MGS-6520 [#imx-2760] 0026-BUG31366-CL432162-6.4.x_234062-vulkan12-merge-CL4321 7e4c04ba6a MGS-6520 [#imx-2760] 0025-CL432063-6.4.x_234062-vulkan12-fixed-QNX-build-warni 50a447560c MGS-6520 [#imx-2760] 0024-IMX-2708-CL431854-6.4.x_234062-EGL-merge-CL429471-fr 131c4d58f0 MGS-6520 [#imx-2760] 0021-IMX-2731-CL431363-6.4.x-6.4.x_234062-IMX-2731-NXP-An 1edc44f921 MGS-6520 [#imx-2760] 0020-CL431351-Fix-building-error-on-windows 7158a08625 MGS-6520 [#imx-2760] 0019-CL431248-ovx-improver-priority-of-transpose-shader-p 983dfc7965 MGS-6520 [#imx-2760] 0018-BUG31480-CL431111-USER-SPACE-6.4.x_234062-Merge-CL43 eef1638352 MGS-6520 [#imx-2760] 0017-BUG31480-CL431111-KERNEL-SPACE-6.4.x_234062-Merge-CL f61b0be4a8 MGS-6520 [#imx-2760] 0016-IMX-2693-BUG31762-CL431034-projects.dev_234062-IMX-2 261d5fe8fa MGS-6520 [#imx-2760] 0015-BUG31765-CL430738-6.4.x_234062-Fix-Bug-31765-vkcts1. a43bc09145 MGS-6520 [#imx-2760] 0014-CL430699-Merge-conv3d-feature-from-64x_dev dab920038a MGS-6520 [#imx-2760] 0013-BUG31636-CL430680-mergeing-from-428517-ovx-graph-opt edf4d4834d MGS-6520 [#imx-2760] 0012-CL430607-64x_234062-merge-cl296001-and-cl297706-from f6a907b3ac MGS-6520 [#imx-2760] 0011-CL430579-64x_234062-merge-cl430409-from-64x-fix-tran 6bc8bc9b3e MGS-6520 [#imx-2760] 0008-IMX-2733-CL430386-IMX-2733-patch-review-for-coverity 61c479f8b0 MGS-6520 [#imx-2760] 0007-CL430362-dev_234062-Merging-428644-from-dev64x-fix-u 27e437889a MGS-6520 [#imx-2760] 0005-BUG30435-CL429909-64x_234062-ocl30-fix-bug-30435-and bba93c4bc8 MGS-6520 [#imx-2760] 0004-CL429696-carch-vipArchPerfMdl_dev_rls-Merge-CL303611 f6bb9f8769 MGS-6520 [#imx-2760] 0003-CL429233-64x_234062-Fixed-long_clz-and-ulong_clz-whe 842611d317 MGS-6520 [#imx-2760] 0002-BUG31625-CL429108-6.4.x_234062-vulkan12-merge-CL4285 0838f5d1f8 MGS-6520 [#imx-2760] 0001-CL428464-6.4.x_234062-vulkan12-fixed-QNX-build-warni 6c5ab68709 MGS-6520 [#imx-2760] Revert "MGS-6506-2 [#imx-2775] fix memory leak for opencl 1.2" 9d45fc9972 MGS-6520 [#imx-2760] Revert "LF-4817 [#imx-2750] fix Out-of-bounds access" 8b0732d0c4 MGS-6503 [#imx-2782] fix Coverity Out of bound reads issue 35a9402f40 MGS-6485 [#ccc] fix build warning ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p4.0Tom Hochstein2022-05-101-2/+2
| | | | | | | For more details see: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-kirkstone Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Remove comment code which was unusedOtavio Salvador2022-02-211-2/+0
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-291-38/+10
| | | | | | | | - x11 is no longer supported - dri is no longer supported - remove vestiges of 64-bit framebuffer on Wayland, which is no longer supported Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #907 from thochstein/masterOtavio Salvador2021-11-011-9/+11
|\ | | | | imx-gpu-viv updates for 6.4.3.p2.2
| * imx-gpu-viv: Install SOC-specific binariesTom Hochstein2021-10-311-0/+11
| | | | | | | | | | | | The archive now contains SOC-specific binaries. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-gpu-viv: Drop SOC-specific header installationTom Hochstein2021-10-311-9/+0
| | | | | | | | | | | | | | The recipe installs GLES3 headers based on SOC. This is not necessary as lack of support is expected to be handled at runtime. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | imx-gpu-viv: Expose Vulkan library versionTom Hochstein2021-10-311-2/+5
|/ | | | | | | Expose the Vulkan library version so NXP can easily override in their layer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: upgrade to 6.4.3.p2.2Andrey Zhizhikin2021-10-221-1/+1
| | | | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-gpu-viv: skip QA check for libgl-imx packageAndrey Zhizhikin2021-10-221-0/+4
| | | | | | | | | | | | libgl-imx package provides libGL, which has runtime dependencies on X11 libraries. In case of Wayland-only builds, this triggers the QA error on missing RDEPENDS, since they are not provided by any package. Skip this QA check for libgl-imx package, as it is not distributed for Wayland-only builds, and has dependencies properly resolved when X11 builds are used. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-gpu-viv: Provides virtual/libgl for framebufferTom Hochstein2021-08-231-3/+1
| | | | | | | Support for GL on framebuffer is available for some time, at least since 6.4.0.p2.6. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Drop empty Wayland packagesTom Hochstein2021-08-181-17/+0
| | | | | | | The functionality of libwayland-viv-imx and libgc-wayland-protocol-imx was moved to libegl-imx some time ago, so drop the empty packages. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Move CL/cl_viv_vx_ext.h to main packageTom Hochstein2021-08-181-1/+1
| | | | | | | The header file `/usr/include/CL/cl_viv_vx_ext.h` is needed at runtime, so move it to the main package `libclc-imx`. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Inhibit sysroot strippingTom Hochstein2021-08-181-3/+4
| | | | | | | | | The binaries are already stripped, so inhibit sysroot stripping. Fixes multiple warning messages like: WARNING: imx-gpu-viv-1_6.4.3.p2.0-aarch64-r0 do_populate_sysroot: File '/usr/lib/libGLES_CL.so.1.1.0' from imx-gpu-viv was already stripped, this will prevent future debugging! Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Cleanup FILES_libnn-imx*Tom Hochstein2021-08-181-3/+2
| | | | | | | Certain libnn-imx libraries and headers were moved to nn-imx recipe. Note that nn-imx currently exists only in meta-imx layer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p2.0Tom Hochstein2021-08-181-2/+2
| | | | | | | See the change log for more details: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-hardknott Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: More override fixesTom Hochstein2021-08-121-1/+1
| | | | | | | | | | Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d, virtual PREFERRED_PROVIDER versions Fix other places for imx/imxdpu/imxdrm overrides Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: Convert to new override syntaxKhem Raj2021-08-121-84/+84
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gpu-viv: Add GPU kernel module as rrecommendsCarlos Rafael Giani2021-04-291-0/+1
| | | | | | | | | This partially reverts 676349ec07308ab9e7a62a2474506b8f1c66a603 . While there's no explicit runtime dependency, without a kernel module, nothing that uses EGL / OpenGL ES works. One example is weston, which, without that kernel module, does not run at all. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* imx-gpu-viv: Remove libgal-imx runtime dependency on KLMTom Hochstein2021-04-261-1/+0
| | | | | | | The package libgal-imx does not have a runtime dependency on kernel-module-imx-gpu-viv, so drop it. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p1.4Tom Hochstein2021-04-261-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: update to 6.4.3.p1.0Max Krummenacher2021-02-011-3/+5
| | | | | | | | | | | | | | NXP release imx_5.4.70_2.3.0. imx-gpu-viv provides the OpenCL C++ headers which meta-openembedded also provides in the opencl-clhpp recipe. Add opencl-clhpp to PROVIDES and have a PREFERRED_PROVIDER_opencl-clhpp decide on which to build. libgbm-imx got additional shared objects, set FILES accordingly. This package uses EULA v17 October 2020. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-gpu-viv: Restore virtual/opencl-icd to PROVIDESTom Hochstein2021-01-271-0/+1
| | | | | | | | | | | | Since opencv depends on virtual/opencl-icd, restore virtual/opencl-icd to the recipes provided so imx-gpu-viv is properly selected. Fixes: ``` ERROR: Nothing PROVIDES 'virtual/opencl-icd' (but /opt/work/upstream/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.5.0.bb DEPENDS on or otherwise requires it). Close matches: virtual/libc ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Align OpenCL package namesTom Hochstein2021-01-261-2/+1
| | | | | | | | The existing OpenCL recipes opencl-headers and opencl-icd-loader are dependencies for clinfo. In order to build clinfo with imx-gpu-viv as provider, fix imx-gpu-viv to provide the same recipe names. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Update install for improved packaging designTom Hochstein2020-11-131-43/+15
| | | | | | | | | | | | | The old packaging model stripped the version number from the filename, added a backend qualifier, and removed any symbolic links. This had to be matched in the install with logic to undo the changes. The design is now greatly simplified by preserving all library filenames as-is, with backend-specific libraries placed in sub-folders. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Fix rootfs conflict with libvulkan-devTom Hochstein2020-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The rootfs stage is failing with the following error: ``` Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libvulkan-imx-dev : Conflicts: libvulkan-dev Recommends: libglslc-imx-dev but it is not installable Recommends: libvsc-imx-dev but it is not installable E: Unable to correct problems, you have held broken packages. ``` It seems this is a result of disabling debian renaming. This was originally added in an NXP layer due to a conflict with a vulkan recipe that is no longer being used. Restoring the overrides for libvulkan-imx to the default state fixes the build break. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Upgrade to 6.4.3.p0.0Tom Hochstein2020-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Key Features of the Vivante 6.x Driver Series - Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP, plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test. And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product. - Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes. 6.4.3P0 GA ====================== Key Features: - GLES CTS 3.2.6.1 - Vulkan 1.1.6 - OpenVX 1.2 - GPU & NPU accelerated ML support - OpenCV 4.2 - Chromium v74 - Support for renderdoc 1.7 - Support for TFlite 2.2 - NNCTS 1.2 - Vulkan backend support for Unity Known Issues- L5.4.3_2.2.0: LF-308 wl_display_connect Failure reported during VPU and GPU stress power management test. LF-868 [MX6SX-SDB]GPU: weston stopped abnormally during stress suspend resume test. LF-178 GPU/XWLD: some tests failed in OpenCV performance test. LF-861 some tests failed in OpenCV stress test. LF-262 QT5.15 Few qt3d demos not work. Ongoing discussion with QT LF-936 [MX8MQ/MM/MN]GPU:no desktop UI and weston@root.service load fail after run low bus freq test.100% MGS-5650 UnrealEngine 4.25: Crash on GPU Drivers when starting a Vulkan Based Engine. See also: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-zeus Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Fix regression when running some userspace applicationsOtavio Salvador2020-10-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The imx-gpu-viv does a very bad work regarding the soname handling of its libraries so we need to do a lot of hacks providing '.so' files for use by the application. This comes after revert of aa552127 "imx-gpu-viv: Fix packaging for various libraries" An example of the error can be seen below: ,----[ strace log ] | openat(AT_FDCWD, "/usr/lib/libEGL.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | openat(AT_FDCWD, "/lib/libGLESv1_CM.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | openat(AT_FDCWD, "/usr/lib/libGLESv1_CM.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | openat(AT_FDCWD, "/lib/libGLESv2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | openat(AT_FDCWD, "/usr/lib/libGLESv2.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) `---- This commit are the extra fixes which was need due to new files on the new imx-gpu-viv release to fix the following build error: ,----[ Packaging error ] | ERROR: imx-gpu-viv-1_6.4.0.p2.4-aarch32-r0 do_package: QA Issue: | imx-gpu-viv: Files/directories were installed but not shipped in any | package: | /usr/lib/libOpenCL.so.1 | /usr/lib/libOpenCL.so.1.2 `---- as well as: ,----[ Packaging error ] | ERROR: imx-gpu-viv-1_6.4.0.p2.4-aarch64-r0 do_package: QA Issue: | imx-gpu-viv: Files/directories were installed but not shipped in any | package: | /usr/lib/libOpenVX.so.1.2 | /usr/lib/libOpenVX.so.1 `---- and finally: ,----[ Packaging error ] | ERROR: imx-gpu-viv-1_6.4.0.p2.4-aarch64-r0 do_package_qa: QA Issue: non | -dev/-dbg/nativesdk- package contains symlink .so: libopencl-imx path | '/work/aarch64-mx8m-fslc-linux/imx-gpu-viv/1_6.4.0.p2.4-aarch64-r0/packages-split/libopencl-imx/usr/lib/libOpenCL.so' | [dev-so] `---- Reported-by: Gary Bisson <gary.bisson@boundarydevices.com> Change-Id: I785a69c0592a3c5fda9fd14a7dc8cf35b2b94d08 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
* Revert "imx-gpu-viv: Fix packaging for various libraries"Otavio Salvador2020-10-071-10/+16
| | | | | | | | | This reverts commit aa5521274f88d4d652d271cae814662f569b67ff. Change-Id: I2a8534dd71baaaa4694200e06bd07b26898597d0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: Ie2e1cb6df1142eb54b3bf0573cdc9a1edb5e2b92
* imx-gpu-viv: Use PACKAGECONFIG for valgrind support of libgalTom Hochstein2020-09-231-1/+6
| | | | | | | | | This replaces the previous RSUGGESTS use which does not work for all package managers and is not widely used. The use model of PACKAGECONFIG seems a better fit here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Fix packaging for various librariesTom Hochstein2020-09-231-16/+10
| | | | | | | Fix several packages so we don't put .so files in the main package (QA error dev-so). Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>