]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: Fix missing check pcie_p2p module param
authorBob Zhou <bob.zhou@amd.com>
Fri, 6 Sep 2024 09:48:20 +0000 (17:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2024 14:04:57 +0000 (10:04 -0400)
commit28b0ef922738b74335c20b8ed4bf8e259353a3a3
tree90ab5367d380751c65432086c683970e09b0735f
parentc389a0604cfbcdb1f8f53a76560eb31e0700e206
drm/amdgpu: Fix missing check pcie_p2p module param

The module param pcie_p2p should be checked for kfd p2p feature, so add it.

Fixes: 75f0efbc4b3b ("drm/amdgpu: Take IOMMU remapping into account for p2p checks")
Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c