diff options
Diffstat (limited to 'x11-drivers')
8 files changed, 0 insertions, 426 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest index c8972b0d26ff..de908caf9d20 100644 --- a/x11-drivers/xf86-video-intel/Manifest +++ b/x11-drivers/xf86-video-intel/Manifest @@ -1,5 +1,2 @@ -DIST xf86-video-intel-2.99.917.tar.bz2 2259040 SHA256 00b781eea055582820a123c47b62411bdf6aabf4f03dc0568faec55faf9667c9 SHA512 cbf4d46ad1ad5e5587c0f1f620ff534ef0645270517b60056b9f03e83d8216e2f456de46352a06c37c0c46963cc4ed20b71b815b20ec1bf680ff046e535f580f WHIRLPOOL b26f1b303a27825120e1036f15493119e8869ebae74a2663204fe1ee63cf9fc217e593c469d6c33151a73c9ea6e9df88d0e3a0bb74ece5109b51593785fd4d7d -DIST xf86-video-intel-2.99.917_p20160621.tar.xz 941280 SHA256 1dcb1ba06321921f7de84d95ba25e18277df74bb09d143b3ec759ffe5c6be392 SHA512 9face5d348a0805b9bdd98fa42a466ad4dcca1050f8abdc114f8475e713ae7315d2ac19ff50756071f305bcca8526fe9be0d448d2d10fab51300d0d2d50fe60a WHIRLPOOL 886064d7f75c59be7a24429eb04dc70f47ae48a580734234a71f1a570c39926f11b8d6807082b537f0bb843ae677c54b3a303dbd1830b29186d0338ce88a36ba -DIST xf86-video-intel-2.99.917_p20161206.tar.xz 945400 SHA256 3ab9de284bdcef9c3e47aed1593c78b4726fd4faa8571327590b1725f870f2cf SHA512 68554a24e94caa6a19f7f8b0d91738c1d810ffb8ecc51f311a94a7e0a86ffcc88c4485bb34528929977ce2db57dd430f5930e01d4bf114275dd7b86a4ea21d64 WHIRLPOOL 774df4eba385b73f39ff7d8fc3469cbe9d11b96ab849583e97fff0685c183d3cb0666299244c6b576def34103ebc5705d38084cdeac67d5a8d55e1446184f9e9 DIST xf86-video-intel-2.99.917_p20170216.tar.xz 945436 SHA256 59819df652f605de06203add06a8e9659c15f06a4a99f88b534f1d67be07da77 SHA512 75d1f76238c4452cf6cd04df4e6cb4b0b17a33e759409f87bbfcdef80d79908e984e2adb2adfd6f98df34e49782c8f77d5ed645dd31e83045e4c687affefffbf WHIRLPOOL 23bbd37679593b186f8791098d4636c68cb9f6ca1bc5b0e8f622fdbd487fb6668ee95e4b34059eb6d59ee65fbac573fde6b71faef1217fc91964cfa2d6e73f33 DIST xf86-video-intel-2.99.917_p20170313.tar.xz 945604 SHA256 eb4e4acc88616149092238fb4fbb0b386b72c9ad15c4a9f1753af02a5d069ef0 SHA512 c3cb91c9ce843fee4ba45c41fa2c69dae4d193ce778e0988ffb0ef3c77e4da40b8879cfc7333adb97084c179502cd4b5233181b5c825de619d839cc045181740 WHIRLPOOL 323306f35a6944c6d93f31d5a3cf8f3fa4058f60c8fe3ed9ddee9c5d364a1acc5c479a59a6d4fd8dccb53e0b94bf8e142f03f4b9163a435a5318cabfb9fa40dd diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch deleted file mode 100644 index cf4e7307d28c..000000000000 --- a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://bugs.gentoo.org/575970 -https://lists.freedesktop.org/archives/intel-gfx/2016-December/113685.html - -From 7cb250a3ce966dc0c96d167669922b0667160d1e Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Wed, 13 Apr 2016 21:35:37 -0400 -Subject: [PATCH] tools/backlight_helper: #include "config.h" - ---- - tools/backlight_helper.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/tools/backlight_helper.c b/tools/backlight_helper.c -index a00f0d6bd8a2..aadb8fac92ba 100644 ---- a/tools/backlight_helper.c -+++ b/tools/backlight_helper.c -@@ -1,3 +1,7 @@ -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif -+ - #include <stdio.h> - #include <string.h> - #include <stdarg.h> --- -2.11.0.rc2 - diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-libdrm-kernel-4_0-crash.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-libdrm-kernel-4_0-crash.patch deleted file mode 100644 index ea3aa30ed13c..000000000000 --- a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-libdrm-kernel-4_0-crash.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 7fe2b2948652443ff43d907855bd7a051d54d309 Mon Sep 17 00:00:00 2001 -From: Chris Wilson <chris@chris-wilson.co.uk> -Date: Thu, 19 Mar 2015 23:14:17 +0000 -Subject: sna: Protect against ABI breakage in recent versions of libdrm - -Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> - -diff --git a/src/sna/kgem.c b/src/sna/kgem.c -index 11f0828..6f16cba 100644 ---- a/src/sna/kgem.c -+++ b/src/sna/kgem.c -@@ -182,6 +182,15 @@ struct local_i915_gem_caching { - #define LOCAL_IOCTL_I915_GEM_SET_CACHING DRM_IOW(DRM_COMMAND_BASE + LOCAL_I915_GEM_SET_CACHING, struct local_i915_gem_caching) - #define LOCAL_IOCTL_I915_GEM_GET_CACHING DRM_IOW(DRM_COMMAND_BASE + LOCAL_I915_GEM_GET_CACHING, struct local_i915_gem_caching) - -+struct local_i915_gem_mmap { -+ uint32_t handle; -+ uint32_t pad; -+ uint64_t offset; -+ uint64_t size; -+ uint64_t addr_ptr; -+}; -+#define LOCAL_IOCTL_I915_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP, struct local_i915_gem_mmap) -+ - struct local_i915_gem_mmap2 { - uint32_t handle; - uint32_t pad; -@@ -514,15 +523,15 @@ retry_wc: - - static void *__kgem_bo_map__cpu(struct kgem *kgem, struct kgem_bo *bo) - { -- struct drm_i915_gem_mmap mmap_arg; -+ struct local_i915_gem_mmap arg; - int err; - - retry: -- VG_CLEAR(mmap_arg); -- mmap_arg.handle = bo->handle; -- mmap_arg.offset = 0; -- mmap_arg.size = bytes(bo); -- if ((err = do_ioctl(kgem->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg))) { -+ VG_CLEAR(arg); -+ arg.handle = bo->handle; -+ arg.offset = 0; -+ arg.size = bytes(bo); -+ if ((err = do_ioctl(kgem->fd, LOCAL_IOCTL_I915_GEM_MMAP, &arg))) { - assert(err != EINVAL); - - if (__kgem_throttle_retire(kgem, 0)) -@@ -536,10 +545,10 @@ retry: - return NULL; - } - -- VG(VALGRIND_MAKE_MEM_DEFINED(mmap_arg.addr_ptr, bytes(bo))); -+ VG(VALGRIND_MAKE_MEM_DEFINED(arg.addr_ptr, bytes(bo))); - - DBG(("%s: caching CPU vma for %d\n", __FUNCTION__, bo->handle)); -- return bo->map__cpu = (void *)(uintptr_t)mmap_arg.addr_ptr; -+ return bo->map__cpu = (void *)(uintptr_t)arg.addr_ptr; - } - - static int gem_write(int fd, uint32_t handle, --- -cgit v0.10.2 - diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-sna-udev-fstat.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-sna-udev-fstat.patch deleted file mode 100644 index 7e276ac872fd..000000000000 --- a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-sna-udev-fstat.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 12af8a575d1518d40416f83195049157c3a062a5 Mon Sep 17 00:00:00 2001 -From: Chris Wilson <chris@chris-wilson.co.uk> -Date: Tue, 24 Feb 2015 15:25:40 +0000 -Subject: sna: udev integration depends on fstat and sys/stat.h - -src/sna/sna_driver.c: In function 'sna_handle_uevents': -src/sna/sna_driver.c:759:2: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration] - -Also take the opportunity to include udev support in the configure -summary. - -Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> - -diff --git a/configure.ac b/configure.ac -index 7476e2b..de3a4b3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -197,11 +197,15 @@ AC_ARG_ENABLE(udev, - - if test "x$UDEV" != "xno"; then - PKG_CHECK_MODULES(UDEV, [libudev], [udev="yes"], [udev="no"]) -+ AC_CHECK_HEADERS([sys/stat.h], [], [udev="no"]) - if test "x$UDEV" = "xyes" -a "x$udev" != "xyes"; then - AC_MSG_ERROR([udev support requested but not found (libudev)]) - fi - if test "x$udev" = "xyes"; then - AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection]) -+ udev_msg=" yes" -+ else -+ udev_msg=" no" - fi - fi - -@@ -911,6 +915,7 @@ echo " Support for Kernel Mode Setting? $KMS" - echo " Support for legacy User Mode Setting (for i810)? $UMS" - echo " Support for Direct Rendering Infrastructure:$dri_msg" - echo " Support for Xv motion compensation (XvMC and libXvMC):$xvmc_msg" -+echo " Support for display hotplug notifications (udev):$udev_msg" - echo " Build additional tools and utilities?$tools_msg" - if test -n "$xp_msg"; then - echo " Experimental support:$xp_msg" -diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c -index 8c0d0b5..bc20ef0 100644 ---- a/src/sna/sna_driver.c -+++ b/src/sna/sna_driver.c -@@ -740,6 +740,8 @@ sna_wakeup_handler(WAKEUPHANDLER_ARGS_DECL) - } - - #if HAVE_UDEV -+#include <sys/stat.h> -+ - static void - sna_handle_uevents(int fd, void *closure) - { --- -cgit v0.10.2 - diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-uxa-udev-fstat.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-uxa-udev-fstat.patch deleted file mode 100644 index 66793568d4e5..000000000000 --- a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-uxa-udev-fstat.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 369ceec0e4910ba2c37736a59c55c0d6c26433bf Mon Sep 17 00:00:00 2001 -From: Chris Wilson <chris@chris-wilson.co.uk> -Date: Tue, 24 Feb 2015 15:25:40 +0000 -Subject: uxa: udev integration depends on fstat and sys/stat.h - -src/uxa/intel_driver.c: In function 'I830HandleUEvents': -src/uxa/intel_driver.c:738:14: error: storage size of 's' isn't known -src/uxa/intel_driver.c:746:2: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration] - -Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> - -diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c -index c554124..6e64b8c 100644 ---- a/src/uxa/intel_driver.c -+++ b/src/uxa/intel_driver.c -@@ -728,6 +728,8 @@ intel_flush_callback(CallbackListPtr *list, - } - - #if HAVE_UDEV -+#include <sys/stat.h> -+ - static void - I830HandleUEvents(int fd, void *closure) - { --- -cgit v0.10.2 - diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917-r2.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917-r2.ebuild deleted file mode 100644 index 2c10f840e4d0..000000000000 --- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -XORG_DRI=dri -XORG_EAUTORECONF=yes -inherit linux-info xorg-2 - -DESCRIPTION="X.Org driver for Intel cards" - -KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" -IUSE="debug +sna +udev uxa xvmc" - -REQUIRED_USE=" - || ( sna uxa ) -" - -RDEPEND="x11-libs/libXext - x11-libs/libXfixes - >=x11-libs/pixman-0.27.1 - >=x11-libs/libdrm-2.4.29[video_cards_intel] - sna? ( - >=x11-base/xorg-server-1.10 - ) - udev? ( - virtual/udev - ) - xvmc? ( - x11-libs/libXvMC - >=x11-libs/libxcb-1.5 - x11-libs/xcb-util - ) -" -DEPEND="${RDEPEND} - >=x11-proto/dri2proto-2.6 - x11-proto/dri3proto - x11-proto/presentproto - x11-proto/resourceproto" - -PATCHES=( - "${FILESDIR}"/${P}-sna-udev-fstat.patch - "${FILESDIR}"/${P}-uxa-udev-fstat.patch - "${FILESDIR}"/${P}-libdrm-kernel-4_0-crash.patch -) - -src_configure() { - XORG_CONFIGURE_OPTIONS=( - $(use_enable debug) - $(use_enable dri) - $(use_enable sna) - $(use_enable uxa) - $(use_enable udev) - $(use_enable xvmc) - --disable-dri3 - ) - xorg-2_src_configure -} - -pkg_postinst() { - if linux_config_exists \ - && ! linux_chkconfig_present DRM_I915_KMS; then - echo - ewarn "This driver requires KMS support in your kernel" - ewarn " Device Drivers --->" - ewarn " Graphics support --->" - ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" - ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" - ewarn " i915 driver" - ewarn " [*] Enable modesetting on intel by default" - echo - fi -} diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild deleted file mode 100644 index c13a46650634..000000000000 --- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -XORG_DRI=dri -XORG_EAUTORECONF=yes -inherit linux-info xorg-2 flag-o-matic - -DESCRIPTION="X.Org driver for Intel cards" - -KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" -IUSE="debug dri3 +sna +udev uxa xvmc" -COMMIT_ID="c28e62f94f15c9f5c4fb0744588f08ae18e4a9b5" -SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz" - -S=${WORKDIR}/${COMMIT_ID} - -REQUIRED_USE=" - || ( sna uxa ) -" -RDEPEND="x11-libs/libXext - x11-libs/libXfixes - >=x11-libs/pixman-0.27.1 - >=x11-libs/libdrm-2.4.29[video_cards_intel] - dri3? ( - >=x11-base/xorg-server-1.18 - ) - sna? ( - >=x11-base/xorg-server-1.10 - ) - udev? ( - virtual/udev - ) - xvmc? ( - x11-libs/libXvMC - >=x11-libs/libxcb-1.5 - x11-libs/xcb-util - ) -" -DEPEND="${RDEPEND} - >=x11-proto/dri2proto-2.6 - x11-proto/dri3proto - x11-proto/presentproto - x11-proto/resourceproto" - -PATCHES=( - "${FILESDIR}"/${PN}-2.99.917-config-header.patch #575970 -) - -src_configure() { - replace-flags -Os -O2 - XORG_CONFIGURE_OPTIONS=( - $(use_enable debug) - $(use_enable dri) - $(use_enable dri dri3) - $(usex dri3 "--with-default-dri=3") - $(use_enable sna) - $(use_enable udev) - $(use_enable uxa) - $(use_enable xvmc) - ) - xorg-2_src_configure -} - -pkg_postinst() { - if linux_config_exists && \ - kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then - echo - ewarn "This driver requires KMS support in your kernel" - ewarn " Device Drivers --->" - ewarn " Graphics support --->" - ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" - ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" - ewarn " i915 driver" - ewarn " [*] Enable modesetting on intel by default" - echo - fi - if use dri3; then - ewarn "There are reports of crashes when using DRI3, we recommend" - ewarn "to be careful when enabling this option. Check the following" - ewarn "bugs for discussion and a workaround patch for libdrm:" - ewarn "https://bugs.freedesktop.org/show_bug.cgi?id=71759" - ewarn "https://bugs.gentoo.org/show_bug.cgi?id=582544" - fi -} diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161206.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161206.ebuild deleted file mode 100644 index c8a085a83053..000000000000 --- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161206.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -XORG_DRI=dri -XORG_EAUTORECONF=yes -inherit linux-info xorg-2 flag-o-matic - -DESCRIPTION="X.Org driver for Intel cards" - -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="debug dri3 +sna +udev uxa xvmc" -COMMIT_ID="169c74fa6c2cd9c28dd7bfacd9639cd245b8c8a8" -SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz" - -S=${WORKDIR}/${COMMIT_ID} - -REQUIRED_USE=" - || ( sna uxa ) -" -RDEPEND=" - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXScrnSaver - >=x11-libs/pixman-0.27.1 - >=x11-libs/libdrm-2.4.29[video_cards_intel] - dri3? ( - >=x11-base/xorg-server-1.18 - ) - sna? ( - >=x11-base/xorg-server-1.10 - ) - udev? ( - virtual/udev - ) - xvmc? ( - x11-libs/libXvMC - >=x11-libs/libxcb-1.5 - x11-libs/xcb-util - ) -" -DEPEND="${RDEPEND} - >=x11-proto/dri2proto-2.6 - x11-proto/dri3proto - x11-proto/presentproto - x11-proto/resourceproto" - -PATCHES=( - "${FILESDIR}"/${PN}-2.99.917-config-header.patch #575970 -) - -src_configure() { - replace-flags -Os -O2 - XORG_CONFIGURE_OPTIONS=( - $(use_enable debug) - $(use_enable dri) - $(use_enable dri dri3) - $(usex dri3 "--with-default-dri=3") - $(use_enable sna) - $(use_enable udev) - $(use_enable uxa) - $(use_enable xvmc) - ) - xorg-2_src_configure -} - -pkg_postinst() { - if linux_config_exists && \ - kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then - echo - ewarn "This driver requires KMS support in your kernel" - ewarn " Device Drivers --->" - ewarn " Graphics support --->" - ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->" - ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->" - ewarn " i915 driver" - ewarn " [*] Enable modesetting on intel by default" - echo - fi - if use dri3; then - ewarn "There are reports of crashes when using DRI3, we recommend" - ewarn "to be careful when enabling this option. Check the following" - ewarn "bugs for discussion and a workaround patch for libdrm:" - ewarn "https://bugs.freedesktop.org/show_bug.cgi?id=71759" - ewarn "https://bugs.gentoo.org/show_bug.cgi?id=582544" - fi -} |