Skip to content

Commit 559b1be

Browse files
abckeyzhangsmira
authored andcommitted
feat: enable AMD GPU peer-to-peer DMA
Set CONFIG_HSA_AMD_P2P=y and CONFIG_DMABUF_MOVE_NOTIFY=y in config-amd64 to support AMD GPU P2P DMA. Signed-off-by: Kai Zhang <kai.zhang@nokia.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
1 parent 77194e4 commit 559b1be

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kernel/build/config-amd64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5038,6 +5038,7 @@ CONFIG_DRM_AMD_DC_FP=y
50385038

50395039
CONFIG_HSA_AMD=y
50405040
CONFIG_HSA_AMD_SVM=y
5041+
CONFIG_HSA_AMD_P2P=y
50415042
# CONFIG_DRM_NOUVEAU is not set
50425043
CONFIG_DRM_I915=m
50435044
CONFIG_DRM_I915_FORCE_PROBE=""
@@ -6069,7 +6070,7 @@ CONFIG_DMA_ENGINE_RAID=y
60696070
CONFIG_SYNC_FILE=y
60706071
# CONFIG_SW_SYNC is not set
60716072
# CONFIG_UDMABUF is not set
6072-
# CONFIG_DMABUF_MOVE_NOTIFY is not set
6073+
CONFIG_DMABUF_MOVE_NOTIFY=y
60736074
# CONFIG_DMABUF_DEBUG is not set
60746075
# CONFIG_DMABUF_SELFTESTS is not set
60756076
# CONFIG_DMABUF_HEAPS is not set

0 commit comments

Comments
 (0)