summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/drm
Commit message (Collapse)AuthorAgeFilesLines
* libdrm: Update to 5.15.71_2.2.0Tom Hochstein2023-02-081-2/+2
| | | | | | | | Includes: 063bd699 MGS-6873 tests/util: add imx-dcnano driver c6cf6625 MA-20797 Update imx_drm header to enable fence support in DRM blitter API Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Update for NXP 5.15.52-2.0.0 releaseTom Hochstein2022-08-261-2/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: remove unused patchMax Krummenacher2022-03-251-140/+0
| | | | | | | With the update to 2.4.109.imx the patch is no longer needed. Also remove it from the layer. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* libdrm: Upgrade 2.4.207.imx -> 2.4.109.imxTom Hochstein2022-03-251-4/+3
| | | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The patch 0001-meson-add-libdrm-vivante-to-the-meson-meta-data.patch is dropped as it is now upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* libdrm: Upgrade to 2.4.107.imxTom Hochstein2022-01-281-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Convert to new override syntaxKhem Raj2021-08-121-16/+16
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdrm: Update to 40ea5397Tom Hochstein2021-04-261-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xf86-video-armada / libdrm-armada: removeAndreas Müller2021-04-201-17/+0
| | | | | | Not necessary any more / sources are finally gone Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* libdrm: update to 2.4.102.imxMax Krummenacher2021-02-012-38/+3
| | | | | | | | | | | NXP release imx_5.4.70_2.3.0. Drop the explicit PACKAGE_ARCH setting. This is done by fsl-dynamic-packagearch.bbclass. The musl-ioctl.patch has been upstreamed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* libdrm-armada: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* libdrm-imx: update component to lf-5.4.yAndrey Zhizhikin2020-04-161-1/+1
| | | | | | | | This update includes one commit, which introduced the support for NV12_10LE40 format together with new HDR10 metadata required for kernel 5.4 update. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* libdrm imx: fix building libdrm-vivanteMax Krummenacher2020-01-092-2/+145
| | | | | | | | | | | The recipe updates pulled in from upstream now builds with meson but the libdrm imx fork does not provide meson build information. Patch the imx fork to get the ability to build with meson. Change the recipe to actually configure libdrm-vivante and to deploy it into its own package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* libdrm: Upgrade to 2.4.99.imxMihai Lindner2019-12-167-165/+62
| | | | | | Refresh recipe base from poky, drops patches no longer used. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* libdrm: UpdateTom Hochstein2019-09-121-1/+1
| | | | | | | | | 95645843 headers: Sync with drm-next 49cca25f MA-13450 Switch layer memory allocation to virtual pool to improve performance. 8edffe33 MA-13354 Fix imx_drm head file license issue for libdrm-imx. e1658ff7 MA-13122 Add DRM_VIV_GEM_CMA_LIMIT support for TS buffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: prevent warning on mx8Max Krummenacher2019-05-052-35/+0
| | | | | | | | | | | | | i.MX8 also uses the override imxgpu2d, so provide the patch for that override, not individual SoC Archs. Prevents: | .../meta/recipes-graphics/drm/libdrm_2.4.94.bb: Unable to get checksum for libdrm SRC_URI entry drm-update-arm.patch: file could not be found Note that __arm__ is not defined in aarch64 gcc, so applying the patch has no effect. Should it be needed one would have to rework to patch to also provide assembler code for aarch64 in an appropriate #ifdef section. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* libdrm: Add nobranch optionSebastien Bourdelin2018-12-131-1/+1
| | | | | | | | | | The codeaurora repository doesn't provide a remote HEAD, which cause an issue when bitbake try to verify the SHA1 of the commit id. The nobranch option allow to bypass this behaviour and correctly checkout the commit id. Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Remove xf86drm.h patch in all casesTom Hochstein2018-11-021-1/+1
| | | | | | The xf86drm.h patch is in the i.MX fork. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Upgrade to 2.4.91.imxTom Hochstein2018-10-312-17/+14
| | | | | | | | | | Fixes minimum version for xserver-xorg. Includes patch fuzz fix for: 0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm (imx): Set PACKAGE_ARCH to MACHINE_SOCARCHOtavio Salvador2018-10-251-0/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* recipes: Limit BSP specific recipes on relevant SOCsKhem Raj2018-09-281-0/+2
| | | | | | | | | | | This helps in using meta-freescale with other BSP layers in same projects, which is common usecase Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Cc: Zhenhua Luo <zhenhua.luo@nxp.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Revert "libdrm: Remove unused patches"Pierluigi Passaro2018-08-303-0/+75
| | | | | | This reverts commit dca6c66e5710938a3ea035b09b86ca3d1a6915c6. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Restore manpages supportTom Hochstein2018-08-021-6/+2
| | | | | | | | | Support for manpages, a pyro feature, had to be removed when the recipe was backported to rocko. This removal should not have been upstreamed here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Fix typo in DEFAULT_PREFERENCEFabio Berton2018-07-061-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Set DEFAULT_PREFERRENCE as -1Otavio Salvador2018-07-031-0/+2
| | | | | | | The libdrm fork should be explicitly set to be used. This reduces the risk of it being used by mistake. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Remove unused patchesOtavio Salvador2018-06-293-75/+0
| | | | | | | Since we are using the NXP's fork of libdrm, we can now drop the fork and as consequence the SoC architecture setting for it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Create i.MX specific version recipe to switch to use i.MX forkYuqing Zhu2018-06-294-0/+171
| | | | | | | | This i.MX specific version is based on v2.4.84 Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Extend ARM support to mx7Tom Hochstein2017-11-161-0/+35
| | | | | | | | Apply the same xf86drm.h change made for mx6 to mx7. The recipe is already extended by using imxgpu2d as filter. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm-armada: fix license stringTrevor Woerner2017-06-281-1/+1
| | | | | | | GPL2 -> GPLv2 Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm-armada: addTrevor Woerner2017-05-301-0/+15
| | | | | | | A drm for use with xf86-video-armada, which is for use with etnaviv. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Set override for imxgpu2d machinesFabio Berton2017-01-271-2/+2
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-162-0/+40
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>