drm/amdgpu: initialize PSP before IH under SR-IOV
authorTrigger Huang <Trigger.Huang@amd.com>
Wed, 24 Apr 2019 07:23:41 +0000 (15:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:50 +0000 (12:20 -0500)
commit2d11fd3f5420f71b15158672a8ffa3722b37ebf5
tree8f0bf5158a5194aa85461fd7697f90168b5ca7fc
parent78d481126795e9e4740204df95572d9731a6d34e
drm/amdgpu: initialize PSP before IH under SR-IOV

In order to support new PSP feature that PSP may provide interface
to program IH CNTL register, initialize PSP before IH under Vega10
SR-IOV VF

Signed-off-by: Trigger Huang <Trigger.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/soc15.c