* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2015-09-02 2:16 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2015-09-02 2:16 UTC (permalink / raw
To: gentoo-commits
commit: 5bd3914a01c40ebbf9adc75f65ef41f8f9f6bbf7
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 2 02:16:35 2015 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Wed Sep 2 02:16:35 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd3914a
sys-firmware/amdgpu-ucode: initial commit
Package-Manager: portage-2.2.20.1
sys-firmware/amdgpu-ucode/Manifest | 1 +
.../amdgpu-ucode/amdgpu-ucode-20150803.ebuild | 57 ++++++++++++++++++++++
sys-firmware/amdgpu-ucode/metadata.xml | 8 +++
3 files changed, 66 insertions(+)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
new file mode 100644
index 0000000..3fe3b39
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -0,0 +1 @@
+DIST amdgpu-ucode-20150803.tar.xz 735616 SHA256 8854abd0f356159e20e8abe83f66831d4857a98fd0ffc5856deb13d2c5e6d60d SHA512 821fc3ec12bae64bfdc533bba641b9ac3ca96ba2126bc96830e5b8d552ca188c97f35fcd5b601d6b4798e8c0857f67bfd4fcd1c336b4be58d863adf1103b9fa8 WHIRLPOOL 560820c6f4cd261810421e8cdfbdb4f577488c814ab2b94c6d6329420b562cb014e5adc66601c210699260bb57c92b779bca1a21516f711e906f9e6e1f34a033
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild
new file mode 100644
index 0000000..0f31d2d
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="Microcode for V.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="legacy"
+
+RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
+ !>sys-kernel/linux-firmware-20150812[-savedconfig]"
+
+S=${WORKDIR}/radeon_ucode
+
+AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
+
+src_install() {
+ local directory files legacyfiles
+ if use legacy; then
+ for directory in ${AMDGPU_LEGACY_CIK}; do
+ legacyfiles+=( ${directory}/*.bin )
+ done
+ insinto /lib/firmware/radeon
+ doins ${legacyfiles[@]}
+ fi
+ for directory in */; do
+ if [[ ${AMDGPU_LEGACY_CIK} != *${directory%/}* ]]; then
+ files+=( ${directory}/*.bin )
+ fi
+ done
+ insinto /lib/firmware/amdgpu
+ doins ${files[@]}
+ FILES=( ${files[@]/*\//amdgpu/} ${legacyfiles[@]/*\//radeon/} )
+}
+
+pkg_postinst() {
+ if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
+ if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
+ ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
+ ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
+ fi
+ fi
+}
diff --git a/sys-firmware/amdgpu-ucode/metadata.xml b/sys-firmware/amdgpu-ucode/metadata.xml
new file mode 100644
index 0000000..5229625
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>x11</herd>
+ <use>
+ <flag name="legacy">Install firmware for older chipsets which are optionally supported by AMDGPU</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2016-04-08 0:34 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2016-04-08 0:34 UTC (permalink / raw
To: gentoo-commits
commit: 8b608d093c88360befb75d95468b8d8b680cee5c
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 8 00:34:53 2016 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Fri Apr 8 00:34:53 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b608d09
sys-firmware/amdgpu-ucode: update to latest firmware
Package-Manager: portage-2.2.26
sys-firmware/amdgpu-ucode/Manifest | 2 +
.../amdgpu-ucode/amdgpu-ucode-20160331.ebuild | 56 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 3fe3b39..4c55e1b 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1 +1,3 @@
DIST amdgpu-ucode-20150803.tar.xz 735616 SHA256 8854abd0f356159e20e8abe83f66831d4857a98fd0ffc5856deb13d2c5e6d60d SHA512 821fc3ec12bae64bfdc533bba641b9ac3ca96ba2126bc96830e5b8d552ca188c97f35fcd5b601d6b4798e8c0857f67bfd4fcd1c336b4be58d863adf1103b9fa8 WHIRLPOOL 560820c6f4cd261810421e8cdfbdb4f577488c814ab2b94c6d6329420b562cb014e5adc66601c210699260bb57c92b779bca1a21516f711e906f9e6e1f34a033
+DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872
+DIST radeon-ucode-20160331.tar.xz 850404 SHA256 e8641c5d2fb69b24609d4915625083bae912a683514157af73db9363154debef SHA512 d8abc4507798a636f6bb54ae9f76a9a378079d3179b83bbe1540a633d5445a45400ba6a9f460e24a05dcaf1fb6ee66334cddb01cb39f4e59aa969a246510e4eb WHIRLPOOL 63af735154cbe017baf01b36aef9b98a6a6733f116fee0a898c5e5546a1ee8830b752b69e12ba49bebbd41143339520e0afd3905b41039e6b323f247c2521374
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild
new file mode 100644
index 0000000..b647c0a
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
+HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
+
+LICENSE="radeon-ucode"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="legacy"
+
+RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
+ !>sys-kernel/linux-firmware-20150812[-savedconfig]"
+
+S=${WORKDIR}/${PN}
+
+AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
+
+src_install() {
+ local chip files legacyfiles
+ if use legacy; then
+ pushd ../radeon_ucode || die
+ for chip in ${AMDGPU_LEGACY_CIK}; do
+ legacyfiles+=( ${chip}*.bin )
+ done
+ insinto /lib/firmware/radeon
+ doins ${legacyfiles[@]}
+ popd
+ fi
+ files=( *.bin )
+ insinto /lib/firmware/amdgpu
+ doins ${files[@]}
+ FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
+}
+
+pkg_postinst() {
+ if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
+ if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
+ ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
+ ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2016-05-17 16:15 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2016-05-17 16:15 UTC (permalink / raw
To: gentoo-commits
commit: bc5fa508f3f78dfc900843177391e073ccc9fc21
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 16:12:24 2016 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Tue May 17 16:12:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5fa508
sys-firmware/amdgpu-ucode: new snapshot
Package-Manager: portage-2.2.28
sys-firmware/amdgpu-ucode/Manifest | 2 +
.../amdgpu-ucode/amdgpu-ucode-20160616.ebuild | 56 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 4c55e1b..52349b1 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,3 +1,5 @@
DIST amdgpu-ucode-20150803.tar.xz 735616 SHA256 8854abd0f356159e20e8abe83f66831d4857a98fd0ffc5856deb13d2c5e6d60d SHA512 821fc3ec12bae64bfdc533bba641b9ac3ca96ba2126bc96830e5b8d552ca188c97f35fcd5b601d6b4798e8c0857f67bfd4fcd1c336b4be58d863adf1103b9fa8 WHIRLPOOL 560820c6f4cd261810421e8cdfbdb4f577488c814ab2b94c6d6329420b562cb014e5adc66601c210699260bb57c92b779bca1a21516f711e906f9e6e1f34a033
DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872
+DIST amdgpu-ucode-20160616.tar.xz 781716 SHA256 7362c71f113335883aa04b01fd4472d158eca653111fba9c60de5f224e93bcf8 SHA512 cbb138522e02a20ded2406837e7a70ac4287a10c051dad617818177397a8090345ee7faf4670211b2f07ce4e47a7dbeaee6ed255633a2a89e39ad19399886717 WHIRLPOOL 8248c786bcfefaa0c37bee94b900da7136cef55f60edea6e71220e15faf561ff707e9bff1b2df23a213296548cfe2e9e943be948259e93e6c563954e4007fa19
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
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild
new file mode 100644
index 0000000..0779d9b
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
+HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
+
+LICENSE="radeon-ucode"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="legacy"
+
+RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
+ !>sys-kernel/linux-firmware-20150812[-savedconfig]"
+
+S=${WORKDIR}/amdgpu
+
+AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
+
+src_install() {
+ local chip files legacyfiles
+ if use legacy; then
+ pushd ../radeon || die
+ for chip in ${AMDGPU_LEGACY_CIK}; do
+ legacyfiles+=( ${chip}*.bin )
+ done
+ insinto /lib/firmware/radeon
+ doins ${legacyfiles[@]}
+ popd
+ fi
+ files=( *.bin )
+ insinto /lib/firmware/amdgpu
+ doins ${files[@]}
+ FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
+}
+
+pkg_postinst() {
+ if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
+ if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
+ ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
+ ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2016-05-17 16:15 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2016-05-17 16:15 UTC (permalink / raw
To: gentoo-commits
commit: f5dadebbc404ba89ecb370e06ddc1deb00a276f3
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 16:13:19 2016 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Tue May 17 16:13:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5dadebb
sys-firmware/amdgpu-ucode: remove old
Package-Manager: portage-2.2.28
sys-firmware/amdgpu-ucode/Manifest | 1 -
.../amdgpu-ucode/amdgpu-ucode-20150803.ebuild | 57 ----------------------
2 files changed, 58 deletions(-)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 52349b1..5aa0761 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,4 +1,3 @@
-DIST amdgpu-ucode-20150803.tar.xz 735616 SHA256 8854abd0f356159e20e8abe83f66831d4857a98fd0ffc5856deb13d2c5e6d60d SHA512 821fc3ec12bae64bfdc533bba641b9ac3ca96ba2126bc96830e5b8d552ca188c97f35fcd5b601d6b4798e8c0857f67bfd4fcd1c336b4be58d863adf1103b9fa8 WHIRLPOOL 560820c6f4cd261810421e8cdfbdb4f577488c814ab2b94c6d6329420b562cb014e5adc66601c210699260bb57c92b779bca1a21516f711e906f9e6e1f34a033
DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872
DIST amdgpu-ucode-20160616.tar.xz 781716 SHA256 7362c71f113335883aa04b01fd4472d158eca653111fba9c60de5f224e93bcf8 SHA512 cbb138522e02a20ded2406837e7a70ac4287a10c051dad617818177397a8090345ee7faf4670211b2f07ce4e47a7dbeaee6ed255633a2a89e39ad19399886717 WHIRLPOOL 8248c786bcfefaa0c37bee94b900da7136cef55f60edea6e71220e15faf561ff707e9bff1b2df23a213296548cfe2e9e943be948259e93e6c563954e4007fa19
DIST radeon-ucode-20160331.tar.xz 850404 SHA256 e8641c5d2fb69b24609d4915625083bae912a683514157af73db9363154debef SHA512 d8abc4507798a636f6bb54ae9f76a9a378079d3179b83bbe1540a633d5445a45400ba6a9f460e24a05dcaf1fb6ee66334cddb01cb39f4e59aa969a246510e4eb WHIRLPOOL 63af735154cbe017baf01b36aef9b98a6a6733f116fee0a898c5e5546a1ee8830b752b69e12ba49bebbd41143339520e0afd3905b41039e6b323f247c2521374
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild
deleted file mode 100644
index 3cb1ca2..0000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="Microcode for V.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="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/radeon_ucode
-
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
-
-src_install() {
- local directory files legacyfiles
- if use legacy; then
- for directory in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${directory}/*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- fi
- for directory in */; do
- if [[ ${AMDGPU_LEGACY_CIK} != *${directory%/}* ]]; then
- files+=( ${directory}/*.bin )
- fi
- done
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/*\//amdgpu/} ${legacyfiles[@]/*\//radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2016-06-28 21:24 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2016-06-28 21:24 UTC (permalink / raw
To: gentoo-commits
commit: f4dbc69ba83f23c670f0cc301fcbbc224cf925cb
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 21:23:57 2016 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 21:23:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4dbc69b
sys-firmware/amdgpu-ucode: remove old
Package-Manager: portage-2.2.28
sys-firmware/amdgpu-ucode/Manifest | 4 --
.../amdgpu-ucode/amdgpu-ucode-20160331.ebuild | 56 ----------------------
.../amdgpu-ucode/amdgpu-ucode-20160616.ebuild | 56 ----------------------
3 files changed, 116 deletions(-)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 9a22741..d6e78bb 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,6 +1,2 @@
-DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872
-DIST amdgpu-ucode-20160616.tar.xz 781716 SHA256 7362c71f113335883aa04b01fd4472d158eca653111fba9c60de5f224e93bcf8 SHA512 cbb138522e02a20ded2406837e7a70ac4287a10c051dad617818177397a8090345ee7faf4670211b2f07ce4e47a7dbeaee6ed255633a2a89e39ad19399886717 WHIRLPOOL 8248c786bcfefaa0c37bee94b900da7136cef55f60edea6e71220e15faf561ff707e9bff1b2df23a213296548cfe2e9e943be948259e93e6c563954e4007fa19
DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7
-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/amdgpu-ucode/amdgpu-ucode-20160331.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild
deleted file mode 100644
index decdd43..0000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
-
-LICENSE="radeon-ucode"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/${PN}
-
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
-
-src_install() {
- local chip files legacyfiles
- if use legacy; then
- pushd ../radeon_ucode || die
- for chip in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${chip}*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- popd
- fi
- files=( *.bin )
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild
deleted file mode 100644
index 0779d9b..0000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
-
-LICENSE="radeon-ucode"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/amdgpu
-
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
-
-src_install() {
- local chip files legacyfiles
- if use legacy; then
- pushd ../radeon || die
- for chip in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${chip}*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- popd
- fi
- files=( *.bin )
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2016-06-28 21:24 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2016-06-28 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 587479a0669c3859241b0bcd50ed4fdc2fc3e26f
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 21:23:24 2016 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 21:23:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587479a0
sys-firmware/amdgpu-ucode: update snapshot to 20160628
Package-Manager: portage-2.2.28
sys-firmware/amdgpu-ucode/Manifest | 2 +
.../amdgpu-ucode/amdgpu-ucode-20160628.ebuild | 56 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 5aa0761..9a22741 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,4 +1,6 @@
DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872
DIST amdgpu-ucode-20160616.tar.xz 781716 SHA256 7362c71f113335883aa04b01fd4472d158eca653111fba9c60de5f224e93bcf8 SHA512 cbb138522e02a20ded2406837e7a70ac4287a10c051dad617818177397a8090345ee7faf4670211b2f07ce4e47a7dbeaee6ed255633a2a89e39ad19399886717 WHIRLPOOL 8248c786bcfefaa0c37bee94b900da7136cef55f60edea6e71220e15faf561ff707e9bff1b2df23a213296548cfe2e9e943be948259e93e6c563954e4007fa19
+DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7
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/amdgpu-ucode/amdgpu-ucode-20160628.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
new file mode 100644
index 0000000..0779d9b
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
+HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
+
+LICENSE="radeon-ucode"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="legacy"
+
+RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
+ !>sys-kernel/linux-firmware-20150812[-savedconfig]"
+
+S=${WORKDIR}/amdgpu
+
+AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
+
+src_install() {
+ local chip files legacyfiles
+ if use legacy; then
+ pushd ../radeon || die
+ for chip in ${AMDGPU_LEGACY_CIK}; do
+ legacyfiles+=( ${chip}*.bin )
+ done
+ insinto /lib/firmware/radeon
+ doins ${legacyfiles[@]}
+ popd
+ fi
+ files=( *.bin )
+ insinto /lib/firmware/amdgpu
+ doins ${files[@]}
+ FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
+}
+
+pkg_postinst() {
+ if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
+ if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
+ ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
+ ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2017-01-20 16:25 Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2017-01-20 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 8c3ec9d0085f21b69beb4f6f157f7db5b4ad9eb6
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 16:23:39 2017 +0000
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 16:25:30 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3ec9d0
sys-firmware/amdgpu-ucode: update to latest firmware, switch to linux-firmware distfile
Bug: https://bugs.gentoo.org/show_bug.cgi?id=605526
Package-Manager: portage-2.3.0
sys-firmware/amdgpu-ucode/Manifest | 1 +
.../amdgpu-ucode/amdgpu-ucode-20161121.ebuild | 62 ++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index d6e78bb..9b8791e 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7
+DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80
DIST radeon-ucode-20160628.tar.xz 831920 SHA256 342827150d83e2e986e1673dbddb8bf7c63008ae9525de15dfc2284845594a30 SHA512 7ecad7f3c7c734b04a9bf4d01cd7436298ac397fecc97bc0a27d10d26b2c1ee07e5c8428f4ad75dd15aec297a3e15f6c8cc9c227dbb5b6a58a5d9a541d59340e WHIRLPOOL bd1b672eb34853d2fb4c97baf39413bc648584d287bd46a51ae81aaba43faca5702d04a921c798ee6f0f91f5b98a971882f10bb70499c574af3ccfa94796523b
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild
new file mode 100644
index 00000000..8b75a1c
--- /dev/null
+++ b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+AMDGPU_UCODE_LINUX_FIRMWARE="linux-firmware-20170113"
+
+DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
+HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
+SRC_URI="mirror://gentoo/${AMDGPU_UCODE_LINUX_FIRMWARE}.tar.xz"
+
+LICENSE="radeon-ucode"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="legacy"
+
+RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
+ !>sys-kernel/linux-firmware-20150812[-savedconfig]"
+
+S=${WORKDIR}/${AMDGPU_UCODE_LINUX_FIRMWARE}/amdgpu
+
+AMDGPU_LEGACY_CIK="bonaire hainan hawaii kabini kaveri mullins oland pitcairn tahiti verde"
+
+src_unpack() {
+ unpack ${A}
+ mv linux-firmware-* "${AMDGPU_UCODE_LINUX_FIRMWARE}" || die
+}
+
+src_install() {
+ local chip files legacyfiles
+ if use legacy; then
+ pushd ../radeon || die
+ for chip in ${AMDGPU_LEGACY_CIK}; do
+ legacyfiles+=( ${chip}*.bin )
+ done
+ insinto /lib/firmware/radeon
+ doins ${legacyfiles[@]}
+ popd
+ fi
+ files=( *.bin )
+ insinto /lib/firmware/amdgpu
+ doins ${files[@]}
+ FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
+}
+
+pkg_postinst() {
+ if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
+ if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
+ ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
+ ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
+ ewarn "You may skip microcode files for which no hardware is installed."
+ ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2017-03-16 20:37 Matt Turner
0 siblings, 0 replies; 9+ messages in thread
From: Matt Turner @ 2017-03-16 20:37 UTC (permalink / raw
To: gentoo-commits
commit: ae74760dc61b738cfea8ce3d30154f9f89f711ae
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 03:13:29 2017 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 20:36:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae74760d
sys-firmware/amdgpu-ucode: Drop old versions
sys-firmware/amdgpu-ucode/Manifest | 2 -
.../amdgpu-ucode/amdgpu-ucode-20160628.ebuild | 55 ----------------------
2 files changed, 57 deletions(-)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 9b8791e5afa..be99738d05f 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,3 +1 @@
-DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7
DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80
-DIST radeon-ucode-20160628.tar.xz 831920 SHA256 342827150d83e2e986e1673dbddb8bf7c63008ae9525de15dfc2284845594a30 SHA512 7ecad7f3c7c734b04a9bf4d01cd7436298ac397fecc97bc0a27d10d26b2c1ee07e5c8428f4ad75dd15aec297a3e15f6c8cc9c227dbb5b6a58a5d9a541d59340e WHIRLPOOL bd1b672eb34853d2fb4c97baf39413bc648584d287bd46a51ae81aaba43faca5702d04a921c798ee6f0f91f5b98a971882f10bb70499c574af3ccfa94796523b
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
deleted file mode 100644
index cebcba47591..00000000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
-
-LICENSE="radeon-ucode"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/amdgpu
-
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
-
-src_install() {
- local chip files legacyfiles
- if use legacy; then
- pushd ../radeon || die
- for chip in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${chip}*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- popd
- fi
- files=( *.bin )
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/
@ 2017-05-29 3:30 Matt Turner
0 siblings, 0 replies; 9+ messages in thread
From: Matt Turner @ 2017-05-29 3:30 UTC (permalink / raw
To: gentoo-commits
commit: f69369ea6bade89ed36a097cab675d0c49a343fc
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 03:28:30 2017 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon May 29 03:28:30 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69369ea
sys-firmware/amdgpu-ucode: Remove package
Bug: https://bugs.gentoo.org/614218
sys-firmware/amdgpu-ucode/Manifest | 1 -
.../amdgpu-ucode/amdgpu-ucode-20161121.ebuild | 61 ----------------------
sys-firmware/amdgpu-ucode/metadata.xml | 11 ----
3 files changed, 73 deletions(-)
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
deleted file mode 100644
index be99738d05f..00000000000
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild
deleted file mode 100644
index 447976d4f77..00000000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit linux-info
-
-AMDGPU_UCODE_LINUX_FIRMWARE="linux-firmware-20170113"
-
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
-SRC_URI="mirror://gentoo/${AMDGPU_UCODE_LINUX_FIRMWARE}.tar.xz"
-
-LICENSE="radeon-ucode"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/${AMDGPU_UCODE_LINUX_FIRMWARE}/amdgpu
-
-AMDGPU_LEGACY_CIK="bonaire hainan hawaii kabini kaveri mullins oland pitcairn tahiti verde"
-
-src_unpack() {
- unpack ${A}
- mv linux-firmware-* "${AMDGPU_UCODE_LINUX_FIRMWARE}" || die
-}
-
-src_install() {
- local chip files legacyfiles
- if use legacy; then
- pushd ../radeon || die
- for chip in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${chip}*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- popd
- fi
- files=( *.bin )
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the 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[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}
diff --git a/sys-firmware/amdgpu-ucode/metadata.xml b/sys-firmware/amdgpu-ucode/metadata.xml
deleted file mode 100644
index c99005d73f2..00000000000
--- a/sys-firmware/amdgpu-ucode/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>x11@gentoo.org</email>
- <name>X11</name>
- </maintainer>
- <use>
- <flag name="legacy">Install firmware for older chipsets which are optionally supported by AMDGPU</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-05-29 3:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 16:15 [gentoo-commits] repo/gentoo:master commit in: sys-firmware/amdgpu-ucode/ Chí-Thanh Christopher Nguyễn
-- strict thread matches above, loose matches on Subject: below --
2017-05-29 3:30 Matt Turner
2017-03-16 20:37 Matt Turner
2017-01-20 16:25 Chí-Thanh Christopher Nguyễn
2016-06-28 21:24 Chí-Thanh Christopher Nguyễn
2016-06-28 21:24 Chí-Thanh Christopher Nguyễn
2016-05-17 16:15 Chí-Thanh Christopher Nguyễn
2016-04-08 0:34 Chí-Thanh Christopher Nguyễn
2015-09-02 2:16 Chí-Thanh Christopher Nguyễn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox