]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu/vm: use the same xcp_id from root PD
authorGuchun Chen <guchun.chen@amd.com>
Thu, 13 Jul 2023 07:55:58 +0000 (15:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 15:18:53 +0000 (11:18 -0400)
commite379b5e7dc7e934940290b38d033907930d37c99
treeba6aeec0b733607d91dc2344e073d721f9aea64f
parent5003ca63bce63b20c02c8049be46c44135939a64
drm/amdgpu/vm: use the same xcp_id from root PD

Other PDs/PTs allocation should just use the same xcp_id as that
stored in root PD.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c