mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
drm/amdgpu: move PSP init prior to IH in gpu reset
since we use PSP to program IH regs now Signed-off-by: Monk Liu <Monk.Liu@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Emily Deng <Emily.Deng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
68ebc13ea4
commit
3a74987b24
1 changed files with 1 additions and 1 deletions
|
@ -2063,6 +2063,7 @@ static int amdgpu_device_ip_reinit_early_sriov(struct amdgpu_device *adev)
|
||||||
static enum amd_ip_block_type ip_order[] = {
|
static enum amd_ip_block_type ip_order[] = {
|
||||||
AMD_IP_BLOCK_TYPE_GMC,
|
AMD_IP_BLOCK_TYPE_GMC,
|
||||||
AMD_IP_BLOCK_TYPE_COMMON,
|
AMD_IP_BLOCK_TYPE_COMMON,
|
||||||
|
AMD_IP_BLOCK_TYPE_PSP,
|
||||||
AMD_IP_BLOCK_TYPE_IH,
|
AMD_IP_BLOCK_TYPE_IH,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2093,7 +2094,6 @@ static int amdgpu_device_ip_reinit_late_sriov(struct amdgpu_device *adev)
|
||||||
|
|
||||||
static enum amd_ip_block_type ip_order[] = {
|
static enum amd_ip_block_type ip_order[] = {
|
||||||
AMD_IP_BLOCK_TYPE_SMC,
|
AMD_IP_BLOCK_TYPE_SMC,
|
||||||
AMD_IP_BLOCK_TYPE_PSP,
|
|
||||||
AMD_IP_BLOCK_TYPE_DCE,
|
AMD_IP_BLOCK_TYPE_DCE,
|
||||||
AMD_IP_BLOCK_TYPE_GFX,
|
AMD_IP_BLOCK_TYPE_GFX,
|
||||||
AMD_IP_BLOCK_TYPE_SDMA,
|
AMD_IP_BLOCK_TYPE_SDMA,
|
||||||
|
|
Loading…
Reference in a new issue