aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/drm
AgeCommit message (Collapse)Author
3 dayslibdrm: Upgrade 2.4.115.imx -> 2.4.116.imxTom Hochstein
Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-02-08libdrm: Remove not needed nobranch parameter and cleanupValentin Jec
Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2023-10-31libdrm: Upgrade 2.4.114.imx -> 2.4.115.imxTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-08-01libdrm: Bump revision to 3660ea0feOtavio Salvador
This includes: - MA-21250 Remove deprecated libkms code Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-05-17libdrm: Upgrade 2.4.109.imx -> 2.4.114.imxTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-02-08libdrm: Update to 5.15.71_2.2.0Tom Hochstein
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>
2022-08-26libdrm: Update for NXP 5.15.52-2.0.0 releaseTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-03-25libdrm: remove unused patchMax Krummenacher
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>
2022-03-25libdrm: Upgrade 2.4.207.imx -> 2.4.109.imxTom Hochstein
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>
2022-02-21Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador
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>
2022-02-21Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador
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>
2022-01-28libdrm: Upgrade to 2.4.107.imxTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-12layer: Convert to new override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-26libdrm: Update to 40ea5397Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-20xf86-video-armada / libdrm-armada: removeAndreas Müller
Not necessary any more / sources are finally gone Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-02-01libdrm: update to 2.4.102.imxMax Krummenacher
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>
2020-05-11libdrm-armada: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-04-16libdrm-imx: update component to lf-5.4.yAndrey Zhizhikin
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>
2020-01-09libdrm imx: fix building libdrm-vivanteMax Krummenacher
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>
2019-12-16libdrm: Upgrade to 2.4.99.imxMihai Lindner
Refresh recipe base from poky, drops patches no longer used. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-09-12libdrm: UpdateTom Hochstein
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>
2019-05-05libdrm: prevent warning on mx8Max Krummenacher
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>
2018-12-13libdrm: Add nobranch optionSebastien Bourdelin
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>
2018-11-02libdrm: Remove xf86drm.h patch in all casesTom Hochstein
The xf86drm.h patch is in the i.MX fork. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-31libdrm: Upgrade to 2.4.91.imxTom Hochstein
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>
2018-10-25libdrm (imx): Set PACKAGE_ARCH to MACHINE_SOCARCHOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-28recipes: Limit BSP specific recipes on relevant SOCsKhem Raj
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>
2018-08-30Revert "libdrm: Remove unused patches"Pierluigi Passaro
This reverts commit dca6c66e5710938a3ea035b09b86ca3d1a6915c6. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-02libdrm: Restore manpages supportTom Hochstein
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>
2018-07-06libdrm: Fix typo in DEFAULT_PREFERENCEFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03libdrm: Set DEFAULT_PREFERRENCE as -1Otavio Salvador
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>
2018-06-29libdrm: Remove unused patchesOtavio Salvador
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>
2018-06-29libdrm: Create i.MX specific version recipe to switch to use i.MX forkYuqing Zhu
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>
2017-11-16libdrm: Extend ARM support to mx7Tom Hochstein
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>
2017-06-28libdrm-armada: fix license stringTrevor Woerner
GPL2 -> GPLv2 Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-30libdrm-armada: addTrevor Woerner
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>
2017-01-27libdrm: Set override for imxgpu2d machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16Move meta-fsl-arm content to layer rootOtavio Salvador
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>