diff options
author | Ross Burton <ross.burton@intel.com> | 2019-08-02 21:37:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-03 23:56:01 +0100 |
commit | 7cbf0fb1f014d2dfa9151f32e738375a9921c7a7 (patch) | |
tree | 37e9f558f5f58d926ad56a567e88038e1eaa56bb /meta/recipes-graphics | |
parent | 4e96b138a61226902ba834479f28170fb6219257 (diff) | |
download | poky-7cbf0fb1f014d2dfa9151f32e738375a9921c7a7.tar.gz |
xserver-xorg: add PACKAGECONFIG for DGA
Ideally we'd disable this as no real world client applications actually use DGA
these days, but some drivers (for example fbdev and cirrus) still need DGA
enabled in the server to build.
(From OE-Core rev: e7b1a58a757334d5c73a9b7a8c67e6ead07166c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index fc05c6a76e..44315f59dc 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |||
@@ -120,13 +120,14 @@ EXTRA_OECONF += "--with-fop=no \ | |||
120 | " | 120 | " |
121 | 121 | ||
122 | OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence" | 122 | OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence" |
123 | PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \ | 123 | PACKAGECONFIG ??= "dga dri2 udev ${XORG_CRYPTO} \ |
124 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ | 124 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ |
125 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \ | 125 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \ |
126 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-logind', '', d)} \ | 126 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-logind', '', d)} \ |
127 | " | 127 | " |
128 | 128 | ||
129 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 129 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
130 | PACKAGECONFIG[dga] = "--enable-dga,--disable-dga" | ||
130 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,virtual/mesa" | 131 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,virtual/mesa" |
131 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2" | 132 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2" |
132 | # DRI3 requires xshmfence to also be enabled | 133 | # DRI3 requires xshmfence to also be enabled |