1
- ### AMD Heterogenous System Architecture (HSA) - Linux amdkfd v1.0 release for Kaveri
1
+ ### AMD Heterogenous System Architecture (HSA) - Linux amdkfd v1.2 release for Kaveri
2
2
3
3
### Installation and Configuration guide
4
4
5
+ #### What's New in kfd v1.2
6
+
7
+ * Based on kernel 3.19.0
8
+ * Improved Kaveri microcode
9
+ * Various bug fixes
10
+ * Supports Ubuntu 14.04 and Fedora 21
11
+
12
+ ##### Known issues in this release
13
+
14
+ * SDMA queues are not working
15
+
5
16
#### What's New in kfd v1.0
6
17
7
18
* Based on newer kernel 3.17.2
64
75
The Linux drivers archive contains :
65
76
66
77
* Ubuntu images:
67
- * linux-headers-3.17.2-031450_3.17.2-031450.201412060000_all .deb
68
- * linux-headers-3.17.2-031450 -generic_3.17.2-031450.201412060000_amd64 .deb
69
- * linux-image-3.17.2-031450 -generic_3.17.2-031450.201412060000_amd64 .deb
70
- * linux-image-extra-3.17.2-031450 -generic_3.17.2-031450.201412060000_amd64 .deb
71
- * radeon-firmware_391_all .deb
78
+ * linux-headers-3.19.0-031950_3.19.0-031950.201503241132_all .deb
79
+ * linux-headers-3.19.0-031950 -generic_3.19.0-031950.201503241132_amd64 .deb
80
+ * linux-image-3.19.0-031950 -generic_3.19.0-031950.201503241132_amd64 .deb
81
+ * linux-image-extra-3.19.0-031950 -generic_3.19.0-031950.201503241132_amd64 .deb
82
+ * radeon-firmware_396_all .deb
72
83
73
84
* Fedora images:
74
- * kernel-3.17.2-300 .amdkfd.fc21.x86_64.rpm
75
- * kernel-core-3.17.2-300 .amdkfd.fc21.x86_64.rpm
76
- * kernel-headers-3.17.2-300 .amdkfd.fc21.x86_64.rpm
77
- * kernel-modules-3.17.2-300 .amdkfd.fc21.x86_64.rpm
78
- * kernel-modules-extra-3.17.2-300 .amdkfd.fc21.x86_64.rpm
79
- * linux-firmware-20141013-41.git0e5f6377 .fc21.amdkfd.391 .noarch.rpm
85
+ * kernel-3.19.0-1 .amdkfd.fc21.x86_64.rpm
86
+ * kernel-core-3.19.0-1 .amdkfd.fc21.x86_64.rpm
87
+ * kernel-headers-3.19.0-1 .amdkfd.fc21.x86_64.rpm
88
+ * kernel-modules-3.19.0-1 .amdkfd.fc21.x86_64.rpm
89
+ * kernel-modules-extra-3.19.0-1 .amdkfd.fc21.x86_64.rpm
90
+ * linux-firmware-20150213-43.git17657c35 .fc21.amdkfd.396 .noarch.rpm
80
91
81
92
* Userspace wrapper library called libhsakmt:
82
- * lnx/libhsakmt.so.1
83
- * lnx64a/libhsakmt.so.1
93
+ * libhsakmt.so.1
84
94
85
95
* A bash script which checks if kfd is installed correctly
86
96
87
- The kernel image is built from a source tree based on the 3.17.2 upstream
97
+ The kernel image is built from a source tree based on the 3.19.0 upstream
88
98
release plus :
89
99
90
- * The HSA kernel driver ("amdkfd"), which works with the radeon
91
- graphics driver.
92
- * Fixes and improvements to the radeon and amd_iommu(v2) drivers, mm and
93
- mmu_notifier code.
100
+ * Features in the HSA kernel driver ("amdkfd") that are not yet upstreamed to
101
+ the mainline Linux kernel.
94
102
95
103
##### Note regarding libhsakmt compatibility
96
104
Please note that the libhsakmt library in this repository is NOT compatible
97
105
with amdkfd that is distributed as part of the mainline Linux kernel
98
106
from 3.19 and onward.
99
107
108
+ If you prefer to work with the upstreamed amdkfd in the mainline Linux kernel,
109
+ you can get the corresponding libhsakmt from:
110
+
111
+ kernel 3.19 - http://cgit.freedesktop.org/~gabbayo/libhsakmt/tag/?id=v3.19
112
+
113
+ kernel 4.0 - http://cgit.freedesktop.org/~gabbayo/libhsakmt/tag/?id=v4.0
114
+
100
115
#### Target Platform
101
116
102
117
This release is intended for use with any hardware configuration that
@@ -128,10 +143,10 @@ KERNEL=="kfd", MODE="0666", Or you could use the following command:
128
143
` echo "KERNEL==\"kfd\", MODE=\"0666\"" | sudo tee /etc/udev/rules.d/kfd.rules `
129
144
130
145
* For Ubuntu, install the linux-image kernel package using:
131
- ` sudo dpkg -i kfd-1.0 /ubuntu/*.deb `
146
+ ` sudo dpkg -i kfd-1.2 /ubuntu/*.deb `
132
147
133
148
* For Fedora, install the kernel package and update initramfs using:
134
- ` sudo yum install kfd-1.0 /fedora/*.rpm ; sudo dracut --force --add-drivers "amd_iommu_v2 amdkfd" "/boot/initramfs-3.17.2-300 .amdkfd.fc21.x86_64.img" 3.17.2-300 .amdkfd.fc21.x86_64 `
149
+ ` sudo yum install kfd-1.2 /fedora/*.rpm ; sudo dracut --force --add-drivers "amd_iommu_v2 amdkfd" "/boot/initramfs-3.19.0-1 .amdkfd.fc21.x86_64.img" 3.19.0-1 .amdkfd.fc21.x86_64 `
135
150
136
151
* Reboot the system to install the new kernel and enable the HSA kernel driver:
137
152
` sudo reboot `
@@ -144,33 +159,33 @@ KERNEL=="kfd", MODE="0666", Or you could use the following command:
144
159
145
160
* Source code used to build the kernel can be downloaded with the following
146
161
command :
147
- ` git clone -b v1.0 git://people.freedesktop.org/~gabbayo/linux.git `
162
+ ` git clone -b v1.2 git://people.freedesktop.org/~gabbayo/linux.git `
148
163
149
164
* The kernel config file used to create the debian packages is located at:
150
- http://people.freedesktop.org/~gabbayo/kfd-v1.0 /config-3.17.2-031450 -generic
165
+ http://people.freedesktop.org/~gabbayo/kfd-v1.2 /config-3.19.0-031950 -generic
151
166
152
167
* Source code used to build the libhsakmt library can be downloaded with the
153
168
following command :
154
- ` git clone -b v1.0 git://people.freedesktop.org/~gabbayo/libhsakmt `
169
+ ` git clone -b v1.2 git://people.freedesktop.org/~gabbayo/libhsakmt `
155
170
156
171
* For Ubuntu, the kernel images were built using Ubuntu mainline kernel
157
172
PPA patches, which can be downloaded with the following command :
158
- ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /0001-base-packaging.patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /0002-debian-changelog.patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /0003-configs-based-on-Ubuntu-3.17 .0-0.0 .patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /0004-kfd-changelog.patch `
173
+ ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /0001-base-packaging.patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /0002-debian-changelog.patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /0003-configs-based-on-Ubuntu-3.19 .0-3.3 .patch ; wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /0004-kfd-changelog.patch `
159
174
160
175
* Use the instructions in the following wiki page to built the Ubuntu kernel images:
161
176
https://help.ubuntu.com/community/Kernel/Compile
162
177
163
178
* For Fedora, the kernel images were built using Fedora kernel srpm,
164
179
which can be downloaded with the following command :
165
- ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /kernel-3.17.2-300 .amdkfd.fc21.src.rpm `
180
+ ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /kernel-3.19.0-1 .amdkfd.fc21.src.rpm `
166
181
167
182
* Use the instructions in the following wiki page to built the Fedora kernel images:
168
183
https://fedoraproject.org/wiki/Building_a_custom_kernel
169
184
170
185
#####Obtaining firmware binary files
171
186
172
187
* Firmware binary files for kaveri can be downloaded with the following command :
173
- ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.0 /radeon_ucode.tar.gz `
188
+ ` wget http://people.freedesktop.org/~gabbayo/kfd-v1.2 /radeon_ucode.tar.gz `
174
189
175
190
###LICENSE
176
191
0 commit comments