diff options
author | Guchun Chen <guchun.chen@amd.com> | 2023-07-17 09:55:07 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 11:16:48 -0400 |
commit | 50e633081e6d26ca7cae6e2b610032a1df1654ed (patch) | |
tree | 4f5cffdfd85d308a251d27583447a8cf9a2cc97c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | 8ed49dd1d3a7448744d57e1da2062b074cba2e49 (diff) |
drm/amdgpu: Allocate root PD on correct partition
file_priv needs to be setup firstly, otherwise, root PD
will always be allocated on partition 0, even if opening
the device from other partitions.
Fixes: 3ebfd221c1a8 ("drm/amdkfd: Store xcp partition id to amdgpu bo")
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions