diff options
author | Wolfgang Müller | 2022-04-28 18:45:35 +0200 |
---|---|---|
committer | Wolfgang Müller | 2022-07-10 19:07:43 +0200 |
commit | fd9c893defb8f8f5c5abdcbc9ea16b0903e5c92a (patch) | |
tree | 570793f0be6678c90f2f5d8b50b54471dc460356 /fragments/gpu | |
parent | b4173ef3b8e40ac6d94d853be9cc028b7dc46f47 (diff) | |
download | kernfrag-fd9c893defb8f8f5c5abdcbc9ea16b0903e5c92a.tar.gz |
fragments: Add fragment for newer AMD GPUs
This should work fine on Navi or newer GPUs. The Gentoo Wiki [1]
recommends also setting the MEMORY_*, ZONE_* and DEVICE_* settings, so
we have them enabled here.
[1] https://wiki.gentoo.org/wiki/AMDGPU#Kernel
Diffstat (limited to '')
-rw-r--r-- | fragments/gpu/amdgpu | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fragments/gpu/amdgpu b/fragments/gpu/amdgpu new file mode 100644 index 0000000..15be0dd --- /dev/null +++ b/fragments/gpu/amdgpu @@ -0,0 +1,7 @@ +CONFIG_DRM_AMDGPU=m +CONFIG_HSA_AMD=y + +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTREMOVE=y +CONFIG_ZONE_DEVICE=y +CONFIG_DEVICE_PRIVATE=y |