0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 04:31:30 +00:00
heitbaum fb8a970026 xf86-video-intel: update to latest 2021-01-15
Incorporates 2 patches since 2020-12-15 / a511f22c

15 Jan, 2021
sna: Always validate userptr upon creation
Since not all memory ranges can be mapped by userptr, in particular
those passed by XShmAttachFD, we need to validate the userptr before use. We
would ideally want to continue to lazily populate the pages as often the
userptr is created but never used, but preventing an EFAULT later is
more important.

In https://patchwork.freedesktop.org/series/33449/ we provided a more
efficient method for probing the userptr on construction while
preserving the lazy population of gup-pages. For now, always follow
userptr with set-domain.

10 Jan, 2021
sna/gen7: Avoid clear-residuals overhead on all gen7
Since not just Haswell will enjoy clear-residuals, be very careful
before using a potential context switch from DRI clients.
2021-04-25 23:07:37 +00:00

42 lines
1.9 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xf86-video-intel"
PKG_VERSION="31486f40f8e8f8923ca0799aea84b58799754564"
PKG_SHA256="e47eb678c681d80df138e897ee27c79f9b42e3517d55b1f0684e9a70361c8218"
PKG_ARCH="x86_64"
PKG_LICENSE="OSS"
PKG_SITE="http://intellinuxgraphics.org/"
PKG_URL="https://gitlab.freedesktop.org/xorg/driver/${PKG_NAME}/-/archive/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libXcomposite libXxf86vm libXdamage libdrm util-macros systemd xorg-server"
PKG_LONGDESC="The Xorg driver for Intel i810, i815, 830M, 845G, 852GM, 855GM, 865G, 915G, 915GM and 965G."
PKG_TOOLCHAIN="autotools"
# xf86-video-intel is broken enough. dont link with LTO
PKG_CONFIGURE_OPTS_TARGET="--disable-backlight \
--disable-backlight-helper \
--disable-gen4asm \
--enable-udev \
--disable-tools \
--enable-dri \
--disable-dri1 \
--enable-dri2 \
--enable-dri3 \
--enable-kms --enable-kms-only \
--disable-ums --disable-ums-only \
--enable-sna \
--enable-uxa \
--disable-xvmc \
--disable-xaa \
--disable-dga \
--disable-tear-free \
--disable-create2 \
--disable-async-swap \
--with-default-dri=2 \
--with-xorg-module-dir=${XORG_PATH_MODULES}"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/share/polkit-1
}