summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-xserver
Commit message (Collapse)AuthorAgeFilesLines
* vf: follow SoC override changes also for vybridMax Krummenacher2022-06-231-0/+0
| | | | | | | | - Complete the move to the new override system also for vybrid - Drop the sub SoC family vf50 and vf60 in favour of using only vf Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2f8003c30fe290881d12280221b44bae7ce0b373)
* Update xorg.confWouter Vanhauwaert2022-06-221-1/+1
| | | | | | Change kmsdev to more correct /dev/dri/card1 (cherry picked from commit fa0def5452bbcbb332b75a8b528d6f0fcf78cce7)
* xf86-video-imx-vivante: drop vivante specific x11 driverMax Krummenacher2022-03-061-5/+3
| | | | | | | | | | | | The required x11 driver stuff has been removed from imx-gpu-viv and thus the X11 driver is no longer buildable. Drop the recipe and fallback on the default X11 fb driver. | ERROR: Nothing RPROVIDES 'libvivante-dri-imx' (but .../meta-freescale/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb RDEPENDS on or otherwise requires it) Completes 747c96f5 ("imx-gpu-viv: Upgrade to 6.4.3.p2.4"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-2111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* xserver-xorg: Backport pixmap fixes for GLESTom Hochstein2021-08-189-0/+1877
| | | | 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-122-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xserver-xorg: Enable glamor for i.MX 8Tom Hochstein2021-05-101-1/+0
| | | | | | | glamor acceleration for i.MX 8 with GPU was dropped accidentally. Fixes: f5d3b67 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: CleanupTom Hochstein2021-04-201-4/+2
| | | | | | | - drop redundant FILESEXTRAPATHS_prepend line - co-locate SRC_URI mods Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Don't apply same patch twiceTom Hochstein2021-04-201-1/+0
| | | | | | | The patch 0003-Remove-check-for-useSIGIO-option.patch is applied for both imxgpu and imxgpu2d overrides. imxgpu is enough. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: enable atomic/dri3Andreas Müller2021-04-203-0/+42
| | | | | | | | | | Inspired by [1-2] [1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/4584 [2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3721 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
* Move mesa/etnaviv to xf86-video-modesettingAndreas Müller2021-04-201-24/+7
| | | | | | | * armada sources are gone finally * glmark2-es2 performance is almost doubled 87 -> 162 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* xserver-xorg: Enable glamor for i.MX 8Tom Hochstein2021-04-134-1/+116
| | | | | | | Enable glamor (the default) so legacy x11 apps will get GPU acceleration. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Remove dri and glx for i.MX DRMTom Hochstein2021-04-132-3/+51
| | | | | | | | | | | The removal of swrast support from mesa also removes dri support from mesa for i.MX with DRM, so disable dri. glx support depends on dri, so disable glx. xwayland breaks without glx, so backport a patch that fixes the break. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xf86-config: Fix xorg.conf for 6ULLTom Hochstein2020-04-291-0/+12
| | | | | | | The 6ULL does not have a hardware-accelerated framebuffer device, so switch to the kernel framebuffer device. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Fix missing space in SRC_URI_append assignmentTom Hochstein2019-10-091-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Fix X server 1.20.1 crash [YOCIMX-3280]Neena Busireddy2019-06-242-0/+50
| | | | | | | | | | | | | One of our patches which we upstreamed has been removed from the poky thud. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-graphics/xorg-xserver?h=thud&id=9d2cbf041403f5012b251de6c2dc0683755398ed Add the patch back to fix the crash. Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Backport from https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/commit/imx/meta-bsp/recipes-graphics/xorg-xserver?h=thud-4.19.35-1.0.0&id=7b9dbcf65929446ddbd5c8245617a624eb30b9ff Limit the patch to machines which use xf86-video-imx-vivante. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* xserver-xorg: Disable glamor for i.MX 8Tom Hochstein2018-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | Like i.MX 6 and 7, need to disable glamor for i.MX 8 to avoid a build break: In file included from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:179, from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl_generated.h:11, from /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/epoxy/egl.h:46, from ../../xorg-server-1.20.1/glamor/glamor_priv.h:43, from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25: /home/r60874/upstream/fsl-xwayland/tmp/work/aarch64-mx8mm-fsl-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/EGL/eglvivante.h:267:1: error: conflicting types for 'fbCreateWindow' fbCreateWindow( ^~~~~~~~~~~~~~ In file included from ../../xorg-server-1.20.1/glamor/glamor.h:36, from ../../xorg-server-1.20.1/glamor/glamor_priv.h:32, from ../../xorg-server-1.20.1/glamor/glamor_composite_glyphs.c:25: ../../xorg-server-1.20.1/fb/fb.h:1115:2: note: previous declaration of 'fbCreateWindow' was here fbCreateWindow(WindowPtr pWin); ^~~~~~~~~~~~~~ Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xserver-xorg: Update OpenGL configurationTom Hochstein2018-08-301-1/+4
| | | | | | | | Build now with the default OpenGL configuration except no glamor for i.MX 6 or 7 with GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xf86-config: Add Xorg configuration for i.MX 6SLL and 7ULPTom Hochstein2017-11-162-0/+27
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-armada: addTrevor Woerner2017-05-301-0/+28
| | | | | | | | If the user enables "use-mainline-bsp" in MACHINEOVERRIDES, assume they want to use the open-source, reverse-engineered etnaviv drm x11 driver. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xorg: disable glamorAndreas Müller2017-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oe-core enables glamour by default since commit 33864ddc. I tried to build xserver with glamor but failed first with | #error "Platform not recognized" This could be fixed by CFLAGS_append_imxgpu2d = " \ -DLINUX \ " but then I got | <sysroot>/usr/include/X11/Xlib.h:222:2: error: conflicting types for 'GC' | *GC; | ^~ | In file included from ../../xorg-server-1.19.1/glamor/glamor.h:34:0, | from ../../xorg-server-1.19.1/glamor/glamor_priv.h:32, | from ../../xorg-server-1.19.1/glamor/glamor_render.c:35: | ../../xorg-server-1.19.1/include/gcstruct.h:289:3: note: previous declaration of 'GC' was here | } GC; | ^~ | make[1]: *** [Makefile:730: glamor_gradient.lo] Error 1 As this needs deeper investigation to fix and we have no experience on how glamor performs on vivante, disable it for now. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xf86-config: use modesetting for VybridStefan Agner2016-04-191-0/+12
| | | | | | | Explicitly use the generic Xorg driver for KMS devices. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xf86-config: Add i.MX6UL xorg.confLauren Post2016-04-191-0/+12
| | | | | Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-xf86-config: Add support for PXP Frame Buffer displaysLauren Post2016-04-193-0/+42
| | | | | | | PXP devices for mx6sx, mx6sl and mx7 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-ppc content to layer rootOtavio Salvador2015-07-281-0/+27
| | | | | | | | This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-164-0/+44
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>