aboutsummaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/recipes-graphics
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2019-03-01 10:44:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-02 16:49:27 +0000
commit4860914b3b5b38926ed6a80bb83a011d341ff2d8 (patch)
tree2daed094cb83cd759beffe3911392983313eb7d3 /meta-yocto-bsp/recipes-graphics
parent3c43e5b659f53ad62c8893f63b6b61104b701e48 (diff)
downloadpoky-4860914b3b5b38926ed6a80bb83a011d341ff2d8.tar.gz
poky-4860914b3b5b38926ed6a80bb83a011d341ff2d8.tar.bz2
poky-4860914b3b5b38926ed6a80bb83a011d341ff2d8.zip
meta-yocto-bsp: Disable the glamor acceleration for the beaglebone
In the commit ec6d61cbddc3 ("mesa: enable native and nativesdk variants"), the gallium is enabled for the mesa. Since we use the modesetting driver for the Xorg on the beagleboard and the glamor acceleration method is enabled by the modesetting driver, the gallium DRI driver will be used after this commit. But the gallium DRI driver only support 32bpp and we choose to use 16bpp on beaglebone in commit e7434c17b4b3 ("meta-yocto-bsp: workaround the X malfunction on beaglebone"), the mismatch between them causes the malfunction of the Xorg. I have hacked the kernel to enable the 32bpp for the beagllebone, but it has the following issues: 1. The color is abnormal. 2. The Xorg hang occasionally. 3. The performance of using glamor acceleration based on gallium is pretty bad. So I choose to disable the glamor on this board. (From meta-yocto rev: b7a995856c58b507a521a55dcf94bee75804e81c) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/recipes-graphics')
-rw-r--r--meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beaglebone-yocto/xorg.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beaglebone-yocto/xorg.conf b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beaglebone-yocto/xorg.conf
index 2f40dae157..5da15888d4 100644
--- a/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beaglebone-yocto/xorg.conf
+++ b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beaglebone-yocto/xorg.conf
@@ -5,6 +5,7 @@ EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "modesetting"
+ Option "AccelMethod" "none"
EndSection
Section "Screen"