aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2023-03-10 00:30:02 +0000
committerAlex Deucher <[email protected]>2023-06-09 14:36:41 +0000
commit2fa9ff25de08e598af051c76b216d2f073b2ee89 (patch)
treed7e98fc5ce57d54f5dfbde396f7cbb5d62db077e /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
parentdrm/amdkfd: Store xcp partition id to amdgpu bo (diff)
downloadkernel-2fa9ff25de08e598af051c76b216d2f073b2ee89.tar.gz
kernel-2fa9ff25de08e598af051c76b216d2f073b2ee89.zip
drm/amdgpu: KFD graphics interop support compute partition
kfd_ioctl_get_dmabuf use the amdgpu bo xcp_id to get the gpu_id of the KFD node from the exported dmabuf_adev, and then create kfd bo on the correct adev and KFD node when importing the amdgpu bo to KFD. Remove function kfd_device_by_adev, it is not needed as it is the same result as dmabuf_adev->kfd.dev->nodes[0]->id. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h')
0 files changed, 0 insertions, 0 deletions