Skip to content
Snippets Groups Projects
Commit 25e19472 authored by Guchun Chen's avatar Guchun Chen
Browse files

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: ffc6deb7 ("drm/amdkfd: Store xcp partition id to amdgpu bo")
Signed-off-by: default avatarGuchun Chen <guchun.chen@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
parent 1b0f03b5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment