summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-04-08 21:04:56 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-04-08 21:04:56 +0000
commitf1b23de7c8e95edad18380975ed83579eb05e8c2 (patch)
tree6ff64da3117e3a411661878f02e145a3020843ce /x11-drivers/radeon-ucode
parentMissing dev-util/pkgconfig DEPEND wrt #233068 by Evil Compile Person. (diff)
downloadhistorical-f1b23de7c8e95edad18380975ed83579eb05e8c2.tar.gz
historical-f1b23de7c8e95edad18380975ed83579eb05e8c2.tar.bz2
historical-f1b23de7c8e95edad18380975ed83579eb05e8c2.zip
x11-drivers/radeon-ucode: add new Evergreen microcode
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'x11-drivers/radeon-ucode')
-rw-r--r--x11-drivers/radeon-ucode/ChangeLog8
-rw-r--r--x11-drivers/radeon-ucode/Manifest15
-rw-r--r--x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild54
3 files changed, 75 insertions, 2 deletions
diff --git a/x11-drivers/radeon-ucode/ChangeLog b/x11-drivers/radeon-ucode/ChangeLog
index 43d638724318..d7a6f28f5d12 100644
--- a/x11-drivers/radeon-ucode/ChangeLog
+++ b/x11-drivers/radeon-ucode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-drivers/radeon-ucode
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.1 2010/02/15 17:10:17 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.2 2010/04/08 21:04:56 chithanh Exp $
+
+*radeon-ucode-20100408 (08 Apr 2010)
+
+ 08 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +radeon-ucode-20100408.ebuild:
+ add new Evergreen microcode
*radeon-ucode-20091209 (15 Feb 2010)
diff --git a/x11-drivers/radeon-ucode/Manifest b/x11-drivers/radeon-ucode/Manifest
index 93003d3daa7e..da75046e4600 100644
--- a/x11-drivers/radeon-ucode/Manifest
+++ b/x11-drivers/radeon-ucode/Manifest
@@ -1,5 +1,18 @@
+DIST CEDAR_me.bin 5504 RMD160 c027e2edb96294d43cf75bc868f9a76dbb6db752 SHA1 3142a64061ade6032c95ed948c85b15dd0ae46be SHA256 86cec272c18673356c0e8d774d7ed48976baa631f79734225522a928e9089db4
+DIST CEDAR_pfp.bin 4480 RMD160 3d080c1f0178cc31733873ffc8cc338d608dd958 SHA1 a92856a4fa16926e2451a6335da7e20f01fde210 SHA256 bf614bcdd72fd23a919d2bf39ec065824f0c327e50b9ba3d9d39cb675764fcf3
+DIST CEDAR_rlc.bin 3072 RMD160 d4020c0f9fafd1af86b42a22e69d66e009f5d57f SHA1 7a20dea0b238eb6d78894e82a43ec30874bff8ef SHA256 1ed8816700dccdc45af17f9d2075a8c45e33fcdfc6c005f8fb7ab3c3f0c97df8
+DIST CYPRESS_me.bin 5504 RMD160 bfec9ecbf3ed16013b1d8118cc4125a64d6cefcb SHA1 71e402e154368d32ee7ce32ef6c5b34def2a0ace SHA256 3890437894d09dbb0b99900e661a8a0d3ad264a650b6ad2d84e5b8e1156cc9a0
+DIST CYPRESS_pfp.bin 4480 RMD160 4092a3603cd7b30e1c1704605b97276d544b979c SHA1 fd03198da9816dd5640fe99be1439ec3323d6e89 SHA256 5f4e98e1bd41bbbba68fb4c1b8761ab0fd7c2f9f4f088c44b1464b7c2e08a9e2
+DIST CYPRESS_rlc.bin 3072 RMD160 d4020c0f9fafd1af86b42a22e69d66e009f5d57f SHA1 7a20dea0b238eb6d78894e82a43ec30874bff8ef SHA256 1ed8816700dccdc45af17f9d2075a8c45e33fcdfc6c005f8fb7ab3c3f0c97df8
+DIST JUNIPER_me.bin 5504 RMD160 bfec9ecbf3ed16013b1d8118cc4125a64d6cefcb SHA1 71e402e154368d32ee7ce32ef6c5b34def2a0ace SHA256 3890437894d09dbb0b99900e661a8a0d3ad264a650b6ad2d84e5b8e1156cc9a0
+DIST JUNIPER_pfp.bin 4480 RMD160 4092a3603cd7b30e1c1704605b97276d544b979c SHA1 fd03198da9816dd5640fe99be1439ec3323d6e89 SHA256 5f4e98e1bd41bbbba68fb4c1b8761ab0fd7c2f9f4f088c44b1464b7c2e08a9e2
+DIST JUNIPER_rlc.bin 3072 RMD160 d4020c0f9fafd1af86b42a22e69d66e009f5d57f SHA1 7a20dea0b238eb6d78894e82a43ec30874bff8ef SHA256 1ed8816700dccdc45af17f9d2075a8c45e33fcdfc6c005f8fb7ab3c3f0c97df8
DIST R600_rlc.bin 3072 RMD160 c8f02318397c907e44e0f27d3f410375eca7578c SHA1 3e04529600d666ddb2f2f83bb0112d4fab516c04 SHA256 fafa54e2e28cfffe014163f88bde5039becf921f63b2e51cd82f32df77bc7d85
DIST R700_rlc.bin 4096 RMD160 a7742c18e003d617745279106466ca65521df652 SHA1 e1bb34e8a2bad605b4bc019a7f7cab7e5319c533 SHA256 eacd95219f0eac701bb75c3142906fd7fef78cc2e0816fc2fb51460c17cd6fd1
+DIST REDWOOD_me.bin 5504 RMD160 0fa1dc71614612ed09798f6a1db3928e57dd28aa SHA1 f93f49a7e44124ad83093b6d4f8fcefe66db34b1 SHA256 bc98d6afb1fa179dc2113e0c16bb609f4d395020cfb7e47652304ccf5206cade
+DIST REDWOOD_pfp.bin 4480 RMD160 3d080c1f0178cc31733873ffc8cc338d608dd958 SHA1 a92856a4fa16926e2451a6335da7e20f01fde210 SHA256 bf614bcdd72fd23a919d2bf39ec065824f0c327e50b9ba3d9d39cb675764fcf3
+DIST REDWOOD_rlc.bin 3072 RMD160 d4020c0f9fafd1af86b42a22e69d66e009f5d57f SHA1 7a20dea0b238eb6d78894e82a43ec30874bff8ef SHA256 1ed8816700dccdc45af17f9d2075a8c45e33fcdfc6c005f8fb7ab3c3f0c97df8
EBUILD radeon-ucode-20091209.ebuild 1317 RMD160 ad572d6aecb6c3fa939b72900ccc17945b7fd299 SHA1 e18b8bd30e607397dae925f0ccd88173085d1b03 SHA256 fe7f56f5c8ba918023f5ad7552e137e8412d9bf0af654028e91347a8f8246dc9
-MISC ChangeLog 429 RMD160 4a208e27dc8482a261be195b77f697b60a81e3c5 SHA1 9167a520b6851036474817010a47ca2067b2897f SHA256 d1b82f291789fb36c31782be3025f2e5085c75296c030ce7cff137473c845208
+EBUILD radeon-ucode-20100408.ebuild 1662 RMD160 c2c64e34dcbc869afbb2105c2f41e55aa6196837 SHA1 39a460745968e656881c328f014bec3cc245bcef SHA256 3ee2369a0b34e6940ff71ebf53428dcd40fe6171a28b5d7b8f81f7cfb2ac2c79
+MISC ChangeLog 600 RMD160 51cbafd39a43912d3f12555514d73f95d0c38efe SHA1 7febe62b182ec5c432dd96c594e0aab581bebca4 SHA256 3af5edfc9f255ef36f5ef6312a2ee82682abe17c645c7ac6d850cddde55b87ea
MISC metadata.xml 265 RMD160 24a368e280b83393abb1cda7b15e7888e1570a04 SHA1 b60c32aece47cc1c4febe46e54786494a3b913bf SHA256 1240cc1d6dda0bc1a42ca2bffe70aa6a1d34f85f28112615ceb327f58a594a16
diff --git a/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild b/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild
new file mode 100644
index 000000000000..789dbc503ffc
--- /dev/null
+++ b/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild,v 1.1 2010/04/08 21:04:56 chithanh Exp $
+
+inherit linux-info
+
+UCODE_BASE_URI="http://people.freedesktop.org/~agd5f/${PN/-/_}"
+UCODE_FILES=(
+ "CEDAR_me.bin"
+ "CEDAR_pfp.bin"
+ "CEDAR_rlc.bin"
+ "CYPRESS_me.bin"
+ "CYPRESS_pfp.bin"
+ "CYPRESS_rlc.bin"
+ "JUNIPER_me.bin"
+ "JUNIPER_pfp.bin"
+ "JUNIPER_rlc.bin"
+ "R600_rlc.bin"
+ "R700_rlc.bin"
+ "REDWOOD_me.bin"
+ "REDWOOD_pfp.bin"
+ "REDWOOD_rlc.bin"
+)
+
+DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen Radeon GPUs"
+HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/"
+SRC_URI="${UCODE_FILES[@]/#/${UCODE_BASE_URI}/}"
+
+LICENSE="radeon-ucode"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_unpack() { :; }
+
+src_install() {
+ insinto /lib/firmware/radeon || die "insinto failed"
+ doins "${UCODE_FILES[@]/#/${DISTDIR}/}" || 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=\"${UCODE_FILES[@]/#/radeon/}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at http://wiki.x.org/wiki/radeonBuildHowTo"
+ fi
+ fi
+}