summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2016-04-08 02:34:05 +0200
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2016-04-08 02:34:05 +0200
commitcd0d4f07e8987d6539bf48c684cde7ac31f542fe (patch)
treeab21f4cf55c102870764b351420c645a1aaa39d9 /sys-firmware
parentapp-text/blogc: Version bump. (diff)
downloadgentoo-cd0d4f07e8987d6539bf48c684cde7ac31f542fe.tar.gz
gentoo-cd0d4f07e8987d6539bf48c684cde7ac31f542fe.tar.bz2
gentoo-cd0d4f07e8987d6539bf48c684cde7ac31f542fe.zip
sys-firmware/radeon-ucode: update to latest firmware
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/radeon-ucode/Manifest1
-rw-r--r--sys-firmware/radeon-ucode/radeon-ucode-20160331.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-firmware/radeon-ucode/Manifest b/sys-firmware/radeon-ucode/Manifest
index 0f53bad29d2f..358509f2c571 100644
--- a/sys-firmware/radeon-ucode/Manifest
+++ b/sys-firmware/radeon-ucode/Manifest
@@ -2,3 +2,4 @@ DIST radeon-ucode-20140204.tar.xz 523300 SHA256 9e10b5c5dd052c9a2347b76d86a36f46
DIST radeon-ucode-20140430.tar.xz 531304 SHA256 a29fab53ac0ecca1775d0338f693954f9336911beaa32536fa6c70a21eefd06c SHA512 adb72e783a782242561fb036b58129b53b312ed1d58d6f05eca0725f3544ea41d3bd13cd712aa90b9cd0e95219c5789018c7a925d5045a253993442bed0a80c4 WHIRLPOOL 724455e7d5c2e48213b93e9ba3e310dbaa9863006e3ec05712be324b3efbf7b3d0d6ac6a20aafab771bf67ea35d291cfa505baa6f1e427393ea88149e3e771e3
DIST radeon-ucode-20140823.tar.xz 694248 SHA256 37eb33aea68e06ecfad79c871a1ceedd99a04d03f5ae8e3449e4331d2b19e2c4 SHA512 c23326700d41ecdef4ce8d6f8638a1faa335a9ded7d717e3edd0422ba6e7d118981fd153de50892e87fa45f6da28ea973f6b29cd1025123fe1770f783dc99812 WHIRLPOOL a86382353f71e8b9735db80491258d7d670ada31ba89c514fb1e5fd3d2b7121cbc7c8007af36c01d5dcc85ffb5ea3e6a726c78557af1b186df8f3bbab5564050
DIST radeon-ucode-20150511.tar.xz 732772 SHA256 7aa3825cb538826274b93a05a5d3168baa038855b3699a76f6d2512d3e1e5ce4 SHA512 f72afcdc18562fcd9eac4adb371c6bc40cd97b8478031e2b820f34997ce547c05e190b01e9eaaa408a9c557d8a957e3b1d42916683885da18676c79bd2fffd08 WHIRLPOOL 42a255d78dab2cd9737b408e29c718f3ed4008253a39207a5bb4cc64dbbb39d4e9efeb8f834c327c0650d3f3a100a9b782d521dd003d4e84adf559783b9dd9e2
+DIST radeon-ucode-20160331.tar.xz 850404 SHA256 e8641c5d2fb69b24609d4915625083bae912a683514157af73db9363154debef SHA512 d8abc4507798a636f6bb54ae9f76a9a378079d3179b83bbe1540a633d5445a45400ba6a9f460e24a05dcaf1fb6ee66334cddb01cb39f4e59aa969a246510e4eb WHIRLPOOL 63af735154cbe017baf01b36aef9b98a6a6733f116fee0a898c5e5546a1ee8830b752b69e12ba49bebbd41143339520e0afd3905b41039e6b323f247c2521374
diff --git a/sys-firmware/radeon-ucode/radeon-ucode-20160331.ebuild b/sys-firmware/radeon-ucode/radeon-ucode-20160331.ebuild
new file mode 100644
index 000000000000..6f10382ca70c
--- /dev/null
+++ b/sys-firmware/radeon-ucode/radeon-ucode-20160331.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 https://wiki.gentoo.org/wiki/Radeon#Firmware"
+ fi
+ fi
+}