Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/radeon-ucode: radeon-ucode-20140430.ebuild ChangeLog radeon-ucode-20131111.ebuild radeon-ucode-20130826.ebuild
Date: Sun, 04 May 2014 12:38:34
Message-Id: 20140504123830.B0D402004C@flycatcher.gentoo.org
1 chithanh 14/05/04 12:38:30
2
3 Modified: ChangeLog
4 Added: radeon-ucode-20140430.ebuild
5 Removed: radeon-ucode-20131111.ebuild
6 radeon-ucode-20130826.ebuild
7 Log:
8 Add more ucode for recent hardware and bug fixes, bug #508670.
9
10 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
11
12 Revision Changes Path
13 1.39 x11-drivers/radeon-ucode/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.39&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.39&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?r1=1.38&r2=1.39
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v
22 retrieving revision 1.38
23 retrieving revision 1.39
24 diff -u -r1.38 -r1.39
25 --- ChangeLog 6 Apr 2014 10:11:10 -0000 1.38
26 +++ ChangeLog 4 May 2014 12:38:30 -0000 1.39
27 @@ -1,6 +1,13 @@
28 # ChangeLog for x11-drivers/radeon-ucode
29 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.38 2014/04/06 10:11:10 ago Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.39 2014/05/04 12:38:30 chithanh Exp $
32 +
33 +*radeon-ucode-20140430 (04 May 2014)
34 +
35 + 04 May 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
36 + +radeon-ucode-20140430.ebuild, -radeon-ucode-20130826.ebuild,
37 + -radeon-ucode-20131111.ebuild:
38 + Add more ucode for recent hardware and bug fixes, bug #508670.
39
40 06 Apr 2014; Agostino Sarubbo <ago@g.o> radeon-ucode-20140204.ebuild:
41 Stable for x86, wrt bug #500368
42
43
44
45 1.1 x11-drivers/radeon-ucode/radeon-ucode-20140430.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140430.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140430.ebuild?rev=1.1&content-type=text/plain
49
50 Index: radeon-ucode-20140430.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20140430.ebuild,v 1.1 2014/05/04 12:38:30 chithanh Exp $
55
56 EAPI=5
57
58 inherit linux-info
59
60 DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs"
61 HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/"
62 SRC_URI="mirror://gentoo/${P}.tar.xz"
63
64 LICENSE="radeon-ucode"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
70
71 S=${WORKDIR}/${PN/-/_}
72
73 src_install() {
74 insinto /lib/firmware/radeon
75 FILES=( *.bin )
76 doins ${FILES[@]} || die "doins failed"
77 }
78
79 pkg_postinst() {
80 if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then
81 if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
82 ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
83 ewarn "Your kernel has radeon DRM built-in but not the IRQ microcode."
84 ewarn "For kernel modesetting to work, please set in kernel config"
85 ewarn "CONFIG_FIRMWARE_IN_KERNEL=y"
86 ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\""
87 ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]/#/radeon/}\""
88 ewarn "You may skip microcode files for which no hardware is installed."
89 ewarn "More information at http://wiki.gentoo.org/wiki/Radeon#Firmware"
90 fi
91 fi
92 }