diff options
| author | Guchun Chen <[email protected]> | 2023-07-17 01:55:07 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-18 15:16:48 +0000 |
| commit | 50e633081e6d26ca7cae6e2b610032a1df1654ed (patch) | |
| tree | 4f5cffdfd85d308a251d27583447a8cf9a2cc97c /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | |
| parent | drm/amdgpu: Add RLCG interface driver implementation for gfx v9.4.3 (v3) (diff) | |
| download | kernel-50e633081e6d26ca7cae6e2b610032a1df1654ed.tar.gz kernel-50e633081e6d26ca7cae6e2b610032a1df1654ed.zip | |
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 <[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.c')
0 files changed, 0 insertions, 0 deletions
