diff --git a/packages/x11/driver/xf86-video-ati/config/xorg-radeon.conf b/packages/x11/driver/xf86-video-ati/config/xorg-radeon.conf new file mode 100644 index 0000000000..6b6b034a91 --- /dev/null +++ b/packages/x11/driver/xf86-video-ati/config/xorg-radeon.conf @@ -0,0 +1,6 @@ +Section "Device" + Identifier "AMD Graphics" + Driver "radeon" + Option "DRI3" "1" + Option "AccelMethod" "glamor" +Endsection diff --git a/packages/x11/driver/xf86-video-ati/package.mk b/packages/x11/driver/xf86-video-ati/package.mk index bd0cff0669..df70039b1b 100644 --- a/packages/x11/driver/xf86-video-ati/package.mk +++ b/packages/x11/driver/xf86-video-ati/package.mk @@ -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 +}