diff options
author | 2016-12-16 12:12:56 +0000 | |
---|---|---|
committer | 2016-12-16 12:14:58 +0000 | |
commit | 5a9e5d365cb9af35b67024586df5efddfaa32e40 (patch) | |
tree | 5e29a6e4f204edc94c28d88047f8e2a371b4a9a8 | |
parent | 65c81b36f15e9c786f15da0a5316fe8de0fe4d47 (diff) | |
download | meta-qcom-5a9e5d365cb9af35b67024586df5efddfaa32e40.tar.gz meta-qcom-5a9e5d365cb9af35b67024586df5efddfaa32e40.tar.bz2 meta-qcom-5a9e5d365cb9af35b67024586df5efddfaa32e40.zip |
xserver-xorg: switch to modesetting with glamor by default
Following the recommendation from freedreno author, let's switch the DDX from
-freedreno to -modesetting.
http://bloggingthemonkey.blogspot.fr/2016/11/a-quick-note-for-usersdistros.html
The freedreno driver will remain available in the BSP layer, but it will be less
tested from now on.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r-- | conf/machine/include/qcom-apq8016.inc | 4 | ||||
-rw-r--r-- | conf/machine/include/qcom-apq8064.inc | 4 | ||||
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/conf/machine/include/qcom-apq8016.inc b/conf/machine/include/qcom-apq8016.inc index 1b78294..ffb1517 100644 --- a/conf/machine/include/qcom-apq8016.inc +++ b/conf/machine/include/qcom-apq8016.inc @@ -2,10 +2,8 @@ SOC_FAMILY = "apq8016" require conf/machine/include/soc-family.inc XSERVER_OPENGL ?= " \ - xf86-video-freedreno \ - xserver-xorg-module-exa \ + xf86-video-modesetting \ xserver-xorg-extension-glx \ - xserver-xorg-extension-dri \ " XSERVER ?= " \ diff --git a/conf/machine/include/qcom-apq8064.inc b/conf/machine/include/qcom-apq8064.inc index def4903..edb06d6 100644 --- a/conf/machine/include/qcom-apq8064.inc +++ b/conf/machine/include/qcom-apq8064.inc @@ -2,10 +2,8 @@ SOC_FAMILY = "apq8064" require conf/machine/include/soc-family.inc require conf/machine/include/tune-cortexa8.inc -XSERVER_OPENGL ?= "xf86-video-freedreno \ - xserver-xorg-module-exa \ +XSERVER_OPENGL ?= "xf86-video-modesetting \ xserver-xorg-extension-glx \ - xserver-xorg-extension-dri \ " XSERVER = " \ diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend new file mode 100644 index 0000000..286d6ba --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend @@ -0,0 +1,4 @@ +# We want to use modesetting + glamor with mesa freedreno driver +# http://bloggingthemonkey.blogspot.fr/2016/11/a-quick-note-for-usersdistros.html +PACKAGECONFIG_append_apq8064 = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' dri3 xshmfence glamor', '', d)}" +PACKAGECONFIG_append_apq8016 = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' dri3 xshmfence glamor', '', d)}" |