diff options
author | Ross Burton <ross.burton@intel.com> | 2018-06-18 11:10:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-21 09:34:40 +0100 |
commit | 33d336626dfaa4a980d78965f7bd10af1b1c7b48 (patch) | |
tree | 5ef550cea81b3a32e2083d288761071145e63a72 /meta/recipes-graphics/xorg-driver | |
parent | f8df11d29066bad9f1f6b9ecb51755634918d9be (diff) | |
download | poky-33d336626dfaa4a980d78965f7bd10af1b1c7b48.tar.gz |
xf86-video-intel: disable DRI 1, enable DRI 3
DRI 1 is only needed for UMS on i810[1], and modern X servers (1.20 onwards)
don't support DRI 1, so disable DRI 1.
However, DRI 3 isn't new and unreliable anymore, so enable support for it.
Also, now that the *proto packages are all part of xorgproto which is a required
DEPENDS, we don't need to mention it over and over.
[1] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=359477215092ac1b602ad1e2f17a28963d9224c2
(From OE-Core rev: 329364b3b33b1d769bfa6917a51131c64ef77ddf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb index a60da70840..cda1de1eb1 100644 --- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb +++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb | |||
@@ -21,12 +21,12 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | |||
21 | 21 | ||
22 | DEPENDS += "virtual/libx11 drm libpciaccess pixman" | 22 | DEPENDS += "virtual/libx11 drm libpciaccess pixman" |
23 | 23 | ||
24 | PACKAGECONFIG ??= "xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri1 dri2', '', d)}" | 24 | PACKAGECONFIG ??= "xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 dri3', '', d)}" |
25 | 25 | ||
26 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri" | 26 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri" |
27 | PACKAGECONFIG[dri1] = "--enable-dri1,--disable-dri1,xorgproto" | 27 | PACKAGECONFIG[dri1] = "--enable-dri1,--disable-dri1" |
28 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,xorgproto" | 28 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2" |
29 | PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,xorgproto" | 29 | PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3" |
30 | PACKAGECONFIG[sna] = "--enable-sna,--disable-sna" | 30 | PACKAGECONFIG[sna] = "--enable-sna,--disable-sna" |
31 | PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa" | 31 | PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa" |
32 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" | 32 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" |