Add options to enable /dev/kfd on amdgpu#4053
Conversation
becf653 to
156590a
Compare
|
Hello, can you please update the description with one entry with the exact AMD chipset that you are testing on and what actuall, as it is a bit unclear at a first read on what this PR does (the information is in rocminfo, but a little bit hard to figure out. Also if you can update the PR name with the actual device this PR is trying to fix (if this is targeting dedicated or integrated GPU). I started the workflows and you should be able to consume/test the image from those soon. Thanks! |
|
I have update the description. Hopefully that is sufficient information, but I am happy to add more. |
|
Thanks for the update - so this refers to only the integrated GPU in the chipset, and not to dedicated AMD GPUs? Took a look at the image size increase and the changes make sense. The first two changes show that the support has been added to the amdgpu.ko and to the vmlinuz. |
|
One thing that is needed, if you can please add a changelog entry, similar to the other kernel ones - specifying for which device you are adding support. You can find one example here: d8c5d9b#diff-8938b0a124b09f76841e97afb21d2e593f8b8d6103b5f86b7a8c6d239bad5527 Thanks. |
156590a to
7b034f8
Compare
Signed-off-by: Logan Blyth <mr.bo.jangles3@gmail.com>
7b034f8 to
65a9b1a
Compare
Add amdgpu /dev/kfd
The amdgpu driver has two parts, one part is for the video use case,
/dev/dri/card0, the other is for the compute use case,/dev/kfd. AMD has some documentation on it.Currently the
amdgpudriver is only exposing the/dev/dri/card0file descriptor.This PR is related to flatcar/Flatcar#1935 where the driver was introduced.
My specific hardware:
ASUSTeK COMPUTER INC. MINIPC PN50/PN50, BIOS 0626 08/31/2023These changes will enable the compute functionality on all AMD GPUs, not mine specifically.
How to use
load the amdgpu driver and verify the /dev/kfd device is present. Confirm that the gpu is visible with rocminfo.
Testing done
I have built an image and loaded it onto my machine. ROCm info reports the correct info. I feel that it should be noted that
rocminfo
dmesg | grep amdgpu
zgrep -i amd /proc/config.gz
I apologize that I don't know how to fill out the other