drm/amdgpu: use xcp partition ID for amdgpu_gem
authorJames Zhu <James.Zhu@amd.com>
Mon, 13 Mar 2023 16:03:18 +0000 (12:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:36:43 +0000 (10:36 -0400)
commitb125b80bd546d72d08ab64d63cfc8efa397b6779
tree22c2bfa3cbe060a2e12cabd41ec5e18f485025c8
parent2fa9ff25de08e598af051c76b216d2f073b2ee89
drm/amdgpu: use xcp partition ID for amdgpu_gem

Find xcp_id from amdgpu_fpriv, use it for amdgpu_gem_object_create.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c