]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: clean up parameters in kgd2kfd_probe
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Aug 2021 19:06:24 +0000 (15:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:23:02 +0000 (15:23 -0400)
commite7033287de01c185e8f9e68a7b8a3a18b3b9c6e7
tree36e064be47e86fa48ee312b0758d279a6652ea32
parent6da9631597928b2f56090bd3e390218418692aed
drm/amdkfd: clean up parameters in kgd2kfd_probe

We can get the pdev and asic type from the adev.  No need
to pass them explicitly.

v2: squash in build fix for !CONFIG_HSA_AMD from Anson

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdkfd/kfd_device.c