drm/amdgpu: add master/slave check in init phase
authorLe Ma <le.ma@amd.com>
Wed, 1 Dec 2021 08:44:18 +0000 (16:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Apr 2023 19:43:27 +0000 (15:43 -0400)
commit66daccde429611530db82605c197be01adadb389
tree9ceefc5aa68e22a4c1ead14088370d8a309aa0d1
parent224d3df954c184826657bbacd2a562dc99478cb3
drm/amdgpu: add master/slave check in init phase

Skip KCQ setup on slave xcc as there's no use case.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c