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 14:42:23 -0400 |
commit | dcaa32e1f58473b9f4ac566fadd326956be83138 (patch) | |
tree | 575ca615f8fa76012d7d8e3113405c84e1790e49 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2387ccf43e3c6cb5dbd757c5ef410cca9f14b971 (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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions