]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use simplified API for p2p dist calc
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 21 Sep 2022 12:24:59 +0000 (17:54 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:41:42 +0000 (09:41 -0400)
commitb3597d95bf9a3fc4be5849ad4d38cac79ce17fb4
treea36b661b528ffd8e0b3f407b523ab375fa8417b2
parentd2cc4c35d1531da3752de183e8cf47a0adc4062d
drm/amdgpu: Use simplified API for p2p dist calc

Use the simpified API that calculates distance between two devices.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c