chithanh    14/09/14 19:54:23

  Modified:             ChangeLog
  Added:                radeon-ucode-20140823.ebuild
  Log:
  Add more ucode for recent hardware and new functions, bug #521296.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2324E7B566DF2611!)

Revision  Changes    Path
1.40                 x11-drivers/radeon-ucode/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.40&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.40&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?r1=1.39&r2=1.40

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ChangeLog   4 May 2014 12:38:30 -0000       1.39
+++ ChangeLog   14 Sep 2014 19:54:23 -0000      1.40
@@ -1,6 +1,12 @@
 # ChangeLog for x11-drivers/radeon-ucode
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.39 
2014/05/04 12:38:30 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.40 
2014/09/14 19:54:23 chithanh Exp $
+
+*radeon-ucode-20140823 (14 Sep 2014)
+
+  14 Sep 2014; Chí-Thanh Christopher Nguyễn <[email protected]>
+  +radeon-ucode-20140823.ebuild:
+  Add more ucode for recent hardware and new functions, bug #521296.
 
 *radeon-ucode-20140430 (04 May 2014)
 



1.1                  x11-drivers/radeon-ucode/radeon-ucode-20140823.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140823.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140823.ebuild?rev=1.1&content-type=text/plain

Index: radeon-ucode-20140823.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140823.ebuild,v 
1.1 2014/09/14 19:54:23 chithanh Exp $

EAPI=5

inherit linux-info

DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon 
GPUs and APUs"
HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/";
SRC_URI="mirror://gentoo/${P}.tar.xz"

LICENSE="radeon-ucode"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"

S=${WORKDIR}/${PN/-/_}

src_install() {
        insinto /lib/firmware/radeon
        FILES=( *.bin )
        doins ${FILES[@]} || die "doins failed"
}

pkg_postinst() {
        if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then
                if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
                        ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == 
*_rlc.bin* ]]; then
                        ewarn "Your kernel has radeon DRM built-in but not the 
IRQ microcode."
                        ewarn "For kernel modesetting to work, please set in 
kernel config"
                        ewarn "CONFIG_FIRMWARE_IN_KERNEL=y"
                        ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\""
                        ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]/#/radeon/}\""
                        ewarn "You may skip microcode files for which no 
hardware is installed."
                        ewarn "More information at 
http://wiki.gentoo.org/wiki/Radeon#Firmware";
                fi
        fi
}




Reply via email to