summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2016-06-28 23:26:01 +0200
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2016-06-28 23:26:01 +0200
commit5d4bd5bd7e5bb7bcdb331adc7f16e89e684f1c77 (patch)
tree34a30fdd514e3b20ded23702be544156c02c81aa /sys-firmware
parentsys-firmware/amdgpu-ucode: remove old (diff)
downloadgentoo-5d4bd5bd7e5bb7bcdb331adc7f16e89e684f1c77.tar.gz
gentoo-5d4bd5bd7e5bb7bcdb331adc7f16e89e684f1c77.tar.bz2
gentoo-5d4bd5bd7e5bb7bcdb331adc7f16e89e684f1c77.zip
sys-firmware/radeon-ucode: update snapshot to 20160628
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/radeon-ucode/Manifest1
-rw-r--r--sys-firmware/radeon-ucode/radeon-ucode-20160628.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-firmware/radeon-ucode/Manifest b/sys-firmware/radeon-ucode/Manifest
index 10c56897675c..0b067076eb44 100644
--- a/sys-firmware/radeon-ucode/Manifest
+++ b/sys-firmware/radeon-ucode/Manifest
@@ -1,3 +1,4 @@
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
DIST radeon-ucode-20160616.tar.xz 813488 SHA256 ea535c05977ea8f1eecbac56e5bfeaa314d2440edf7844311d57b74b3033e5e1 SHA512 7851ba368722fc5f567a6a5d0d489e86469b6ec1f1a1dc3b60184af2cf0a094c1fa34a456d486694184d05cfffce43fc511a460d402e317f313a91832f9d854c WHIRLPOOL 995262f84ae033daf69d96cd26f50027b57f80e5621aed4b44ea944b5b441278a97876543e26c20cfaf82975c5212612e7a1ff31be740974dc7bc42495a048f7
+DIST radeon-ucode-20160628.tar.xz 831920 SHA256 342827150d83e2e986e1673dbddb8bf7c63008ae9525de15dfc2284845594a30 SHA512 7ecad7f3c7c734b04a9bf4d01cd7436298ac397fecc97bc0a27d10d26b2c1ee07e5c8428f4ad75dd15aec297a3e15f6c8cc9c227dbb5b6a58a5d9a541d59340e WHIRLPOOL bd1b672eb34853d2fb4c97baf39413bc648584d287bd46a51ae81aaba43faca5702d04a921c798ee6f0f91f5b98a971882f10bb70499c574af3ccfa94796523b
diff --git a/sys-firmware/radeon-ucode/radeon-ucode-20160628.ebuild b/sys-firmware/radeon-ucode/radeon-ucode-20160628.ebuild
new file mode 100644
index 000000000000..1b9efea07204
--- /dev/null
+++ b/sys-firmware/radeon-ucode/radeon-ucode-20160628.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="https://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}/radeon
+
+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
+}