1 |
commit: f4dbc69ba83f23c670f0cc301fcbbc224cf925cb |
2 |
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 21:23:57 2016 +0000 |
4 |
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 21:23:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4dbc69b |
7 |
|
8 |
sys-firmware/amdgpu-ucode: remove old |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sys-firmware/amdgpu-ucode/Manifest | 4 -- |
13 |
.../amdgpu-ucode/amdgpu-ucode-20160331.ebuild | 56 ---------------------- |
14 |
.../amdgpu-ucode/amdgpu-ucode-20160616.ebuild | 56 ---------------------- |
15 |
3 files changed, 116 deletions(-) |
16 |
|
17 |
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest |
18 |
index 9a22741..d6e78bb 100644 |
19 |
--- a/sys-firmware/amdgpu-ucode/Manifest |
20 |
+++ b/sys-firmware/amdgpu-ucode/Manifest |
21 |
@@ -1,6 +1,2 @@ |
22 |
-DIST amdgpu-ucode-20160331.tar.xz 779248 SHA256 6d97d79b10c46ab6a4dda7fafb1d6d230851cc3ffeb3904007015ee29b7b5c4c SHA512 c8375adcb80d4d0ffc0ebaf5350c7f738d246287f431146638e12541c24b115b604116b16e86a1f63237b2cc8420c6be7e91326b3607a0b3c1cefbd8f3202915 WHIRLPOOL 5d580f62740bbd602ea12a37a88dc2ff3409d329d6c80d3fb9420001732eeba79a5d016ed7571109753ae95538f33e7cd01de94d695ecd11a4d88ebea74cc872 |
23 |
-DIST amdgpu-ucode-20160616.tar.xz 781716 SHA256 7362c71f113335883aa04b01fd4472d158eca653111fba9c60de5f224e93bcf8 SHA512 cbb138522e02a20ded2406837e7a70ac4287a10c051dad617818177397a8090345ee7faf4670211b2f07ce4e47a7dbeaee6ed255633a2a89e39ad19399886717 WHIRLPOOL 8248c786bcfefaa0c37bee94b900da7136cef55f60edea6e71220e15faf561ff707e9bff1b2df23a213296548cfe2e9e943be948259e93e6c563954e4007fa19 |
24 |
DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7 |
25 |
-DIST radeon-ucode-20160331.tar.xz 850404 SHA256 e8641c5d2fb69b24609d4915625083bae912a683514157af73db9363154debef SHA512 d8abc4507798a636f6bb54ae9f76a9a378079d3179b83bbe1540a633d5445a45400ba6a9f460e24a05dcaf1fb6ee66334cddb01cb39f4e59aa969a246510e4eb WHIRLPOOL 63af735154cbe017baf01b36aef9b98a6a6733f116fee0a898c5e5546a1ee8830b752b69e12ba49bebbd41143339520e0afd3905b41039e6b323f247c2521374 |
26 |
-DIST radeon-ucode-20160616.tar.xz 813488 SHA256 ea535c05977ea8f1eecbac56e5bfeaa314d2440edf7844311d57b74b3033e5e1 SHA512 7851ba368722fc5f567a6a5d0d489e86469b6ec1f1a1dc3b60184af2cf0a094c1fa34a456d486694184d05cfffce43fc511a460d402e317f313a91832f9d854c WHIRLPOOL 995262f84ae033daf69d96cd26f50027b57f80e5621aed4b44ea944b5b441278a97876543e26c20cfaf82975c5212612e7a1ff31be740974dc7bc42495a048f7 |
27 |
DIST radeon-ucode-20160628.tar.xz 831920 SHA256 342827150d83e2e986e1673dbddb8bf7c63008ae9525de15dfc2284845594a30 SHA512 7ecad7f3c7c734b04a9bf4d01cd7436298ac397fecc97bc0a27d10d26b2c1ee07e5c8428f4ad75dd15aec297a3e15f6c8cc9c227dbb5b6a58a5d9a541d59340e WHIRLPOOL bd1b672eb34853d2fb4c97baf39413bc648584d287bd46a51ae81aaba43faca5702d04a921c798ee6f0f91f5b98a971882f10bb70499c574af3ccfa94796523b |
28 |
|
29 |
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild |
30 |
deleted file mode 100644 |
31 |
index decdd43..0000000 |
32 |
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160331.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,56 +0,0 @@ |
35 |
-# Copyright 1999-2016 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
-# $Id$ |
38 |
- |
39 |
-EAPI=5 |
40 |
- |
41 |
-inherit linux-info |
42 |
- |
43 |
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs" |
44 |
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/" |
45 |
-SRC_URI="mirror://gentoo/${P}.tar.xz |
46 |
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )" |
47 |
- |
48 |
-LICENSE="radeon-ucode" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
-IUSE="legacy" |
52 |
- |
53 |
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode ) |
54 |
- !>sys-kernel/linux-firmware-20150812[-savedconfig]" |
55 |
- |
56 |
-S=${WORKDIR}/${PN} |
57 |
- |
58 |
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins" |
59 |
- |
60 |
-src_install() { |
61 |
- local chip files legacyfiles |
62 |
- if use legacy; then |
63 |
- pushd ../radeon_ucode || die |
64 |
- for chip in ${AMDGPU_LEGACY_CIK}; do |
65 |
- legacyfiles+=( ${chip}*.bin ) |
66 |
- done |
67 |
- insinto /lib/firmware/radeon |
68 |
- doins ${legacyfiles[@]} |
69 |
- popd |
70 |
- fi |
71 |
- files=( *.bin ) |
72 |
- insinto /lib/firmware/amdgpu |
73 |
- doins ${files[@]} |
74 |
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} ) |
75 |
-} |
76 |
- |
77 |
-pkg_postinst() { |
78 |
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then |
79 |
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ |
80 |
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then |
81 |
- ewarn "Your kernel has amdgpu DRM built-in but not the microcode." |
82 |
- ewarn "For kernel modesetting to work, please set in kernel config" |
83 |
- ewarn "CONFIG_FIRMWARE_IN_KERNEL=y" |
84 |
- ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\"" |
85 |
- ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]}\"" |
86 |
- ewarn "You may skip microcode files for which no hardware is installed." |
87 |
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware" |
88 |
- fi |
89 |
- fi |
90 |
-} |
91 |
|
92 |
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild |
93 |
deleted file mode 100644 |
94 |
index 0779d9b..0000000 |
95 |
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160616.ebuild |
96 |
+++ /dev/null |
97 |
@@ -1,56 +0,0 @@ |
98 |
-# Copyright 1999-2016 Gentoo Foundation |
99 |
-# Distributed under the terms of the GNU General Public License v2 |
100 |
-# $Id$ |
101 |
- |
102 |
-EAPI=5 |
103 |
- |
104 |
-inherit linux-info |
105 |
- |
106 |
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs" |
107 |
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/" |
108 |
-SRC_URI="mirror://gentoo/${P}.tar.xz |
109 |
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )" |
110 |
- |
111 |
-LICENSE="radeon-ucode" |
112 |
-SLOT="0" |
113 |
-KEYWORDS="~amd64 ~x86" |
114 |
-IUSE="legacy" |
115 |
- |
116 |
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode ) |
117 |
- !>sys-kernel/linux-firmware-20150812[-savedconfig]" |
118 |
- |
119 |
-S=${WORKDIR}/amdgpu |
120 |
- |
121 |
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins" |
122 |
- |
123 |
-src_install() { |
124 |
- local chip files legacyfiles |
125 |
- if use legacy; then |
126 |
- pushd ../radeon || die |
127 |
- for chip in ${AMDGPU_LEGACY_CIK}; do |
128 |
- legacyfiles+=( ${chip}*.bin ) |
129 |
- done |
130 |
- insinto /lib/firmware/radeon |
131 |
- doins ${legacyfiles[@]} |
132 |
- popd |
133 |
- fi |
134 |
- files=( *.bin ) |
135 |
- insinto /lib/firmware/amdgpu |
136 |
- doins ${files[@]} |
137 |
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} ) |
138 |
-} |
139 |
- |
140 |
-pkg_postinst() { |
141 |
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then |
142 |
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ |
143 |
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then |
144 |
- ewarn "Your kernel has amdgpu DRM built-in but not the microcode." |
145 |
- ewarn "For kernel modesetting to work, please set in kernel config" |
146 |
- ewarn "CONFIG_FIRMWARE_IN_KERNEL=y" |
147 |
- ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\"" |
148 |
- ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]}\"" |
149 |
- ewarn "You may skip microcode files for which no hardware is installed." |
150 |
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware" |
151 |
- fi |
152 |
- fi |
153 |
-} |