]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add use_xgmi_p2p module parameter
authorAlex Sierra <alex.sierra@amd.com>
Wed, 23 Feb 2022 17:34:51 +0000 (11:34 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Feb 2022 22:25:12 +0000 (17:25 -0500)
commit8f4c2a8f48c964e2bdd1e4586dc52adc243a7540
tree1df4f99538ff4019953c1355bafd116ad660fbe8
parent2e248dff051a594880448f7aad9729acaa3e96c1
drm/amdgpu: Add use_xgmi_p2p module parameter

This parameter controls xGMI p2p communication, which is enabled by
default. However, it can be disabled by setting it to 0. In case xGMI
p2p is disabled in a dGPU, PCIe p2p interface will be used instead.
This parameter is ignored in GPUs that do not support xGMI
p2p configuration.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h