Skip to content

Commit a92bed5

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> (cherry picked from commit 559b1be)
1 parent 09e87a9 commit a92bed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/build/config-amd64

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

50275027
CONFIG_HSA_AMD=y
50285028
CONFIG_HSA_AMD_SVM=y
5029+
CONFIG_HSA_AMD_P2P=y
50295030
# CONFIG_DRM_NOUVEAU is not set
50305031
CONFIG_DRM_I915=m
50315032
CONFIG_DRM_I915_FORCE_PROBE=""
@@ -6053,7 +6054,7 @@ CONFIG_DMA_ENGINE_RAID=y
60536054
CONFIG_SYNC_FILE=y
60546055
# CONFIG_SW_SYNC is not set
60556056
# CONFIG_UDMABUF is not set
6056-
# CONFIG_DMABUF_MOVE_NOTIFY is not set
6057+
CONFIG_DMABUF_MOVE_NOTIFY=y
60576058
# CONFIG_DMABUF_DEBUG is not set
60586059
# CONFIG_DMABUF_SELFTESTS is not set
60596060
# CONFIG_DMABUF_HEAPS is not set

0 commit comments

Comments
 (0)