Merge pull request #786 from lrusak/dri3

xf86-video-ati: add xorg-radeon.conf to enable dri3 and glamor
This commit is contained in:
MilhouseVH 2016-10-05 20:27:17 +01:00 committed by GitHub
commit a946329033
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
Section "Device"
Identifier "AMD Graphics"
Driver "radeon"
Option "DRI3" "1"
Option "AccelMethod" "glamor"
Endsection

View File

@ -32,3 +32,8 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-glamor --with-xorg-module-dir=$XORG_PATH_MODULES"
post_makeinstall_target() {
mkdir -p $INSTALL/etc/X11
cp $PKG_DIR/config/*.conf $INSTALL/etc/X11
}