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: ChangeLog radeon-ucode-20110531.ebuild
Date: Wed, 01 Jun 2011 00:48:55
Message-Id: 20110601004845.0977720054@flycatcher.gentoo.org
1 chithanh 11/06/01 00:48:45
2
3 Modified: ChangeLog
4 Added: radeon-ucode-20110531.ebuild
5 Log:
6 Add new Llano firmware.
7
8 (Portage version: 2.2.0_alpha34/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 x11-drivers/radeon-ucode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 1 Apr 2011 18:56:07 -0000 1.17
24 +++ ChangeLog 1 Jun 2011 00:48:44 -0000 1.18
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-drivers/radeon-ucode
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.17 2011/04/01 18:56:07 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.18 2011/06/01 00:48:44 chithanh Exp $
30 +
31 +*radeon-ucode-20110531 (01 Jun 2011)
32 +
33 + 01 Jun 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + +radeon-ucode-20110531.ebuild:
35 + Add new Llano firmware.
36
37 01 Apr 2011; Tomáš Chvátal <scarabeus@g.o>
38 -radeon-ucode-20110106.ebuild:
39
40
41
42 1.1 x11-drivers/radeon-ucode/radeon-ucode-20110531.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20110531.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20110531.ebuild?rev=1.1&content-type=text/plain
46
47 Index: radeon-ucode-20110531.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20110531.ebuild,v 1.1 2011/06/01 00:48:44 chithanh Exp $
52
53 inherit linux-info
54
55 UCODE_BASE_URI="http://people.freedesktop.org/~agd5f/${PN/-/_}"
56 UCODE_FILES=(
57 "BARTS_mc.bin"
58 "BARTS_me.bin"
59 "BARTS_pfp.bin"
60 "BTC_rlc.bin"
61 "CAICOS_mc.bin"
62 "CAICOS_me.bin"
63 "CAICOS_pfp.bin"
64 "CAYMAN_mc.bin"
65 "CAYMAN_me.bin"
66 "CAYMAN_pfp.bin"
67 "CAYMAN_rlc.bin"
68 "CEDAR_me.bin"
69 "CEDAR_pfp.bin"
70 "CEDAR_rlc.bin"
71 "CYPRESS_me.bin"
72 "CYPRESS_pfp.bin"
73 "CYPRESS_rlc.bin"
74 "JUNIPER_me.bin"
75 "JUNIPER_pfp.bin"
76 "JUNIPER_rlc.bin"
77 "R600_rlc.bin"
78 "R700_rlc.bin"
79 "PALM_me.bin"
80 "PALM_pfp.bin"
81 "REDWOOD_me.bin"
82 "REDWOOD_pfp.bin"
83 "REDWOOD_rlc.bin"
84 "SUMO2_me.bin"
85 "SUMO2_pfp.bin"
86 "SUMO_me.bin"
87 "SUMO_pfp.bin"
88 "SUMO_rlc.bin"
89 "TURKS_mc.bin"
90 "TURKS_me.bin"
91 "TURKS_pfp.bin"
92 )
93
94 DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen Radeon GPUs"
95 HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/"
96 SRC_URI="${UCODE_FILES[@]/#/${UCODE_BASE_URI}/}"
97
98 LICENSE="radeon-ucode"
99 SLOT="0"
100 KEYWORDS="~amd64 ~x86"
101 IUSE=""
102
103 src_unpack() { :; }
104
105 src_install() {
106 insinto /lib/firmware/radeon || die "insinto failed"
107 doins "${UCODE_FILES[@]/#/${DISTDIR}/}" || die "doins failed"
108 }
109
110 pkg_postinst() {
111 if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then
112 if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
113 ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
114 ewarn "Your kernel has radeon DRM built-in but not the IRQ microcode."
115 ewarn "For kernel modesetting to work, please set in kernel config"
116 ewarn "CONFIG_FIRMWARE_IN_KERNEL=y"
117 ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\""
118 ewarn "CONFIG_EXTRA_FIRMWARE=\"${UCODE_FILES[@]/#/radeon/}\""
119 ewarn "You may skip microcode files for which no hardware is installed."
120 ewarn "More information at http://wiki.x.org/wiki/radeonBuildHowTo"
121 fi
122 fi
123 }