xf86-video-ati: add xorg-radeon.conf to enable dri3 and glamor

This commit is contained in:
Lukas Rusak 2016-09-30 11:26:45 -07:00
parent 14c62f8f3d
commit ca1138889c
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
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
}