[PATCH] drm/amdgpu: move PSP init prior to IH in gpu reset

Christian König ckoenig.leichtzumerken at gmail.com
Mon Sep 10 07:07:03 UTC 2018


Am 10.09.2018 um 08:13 schrieb Emily Deng:
> since we use PSP to program IH regs now
>
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>

Acked-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 93476b8..acfc63e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -1957,6 +1957,7 @@ static int amdgpu_device_ip_reinit_early_sriov(struct amdgpu_device *adev)
>   	static enum amd_ip_block_type ip_order[] = {
>   		AMD_IP_BLOCK_TYPE_GMC,
>   		AMD_IP_BLOCK_TYPE_COMMON,
> +		AMD_IP_BLOCK_TYPE_PSP,
>   		AMD_IP_BLOCK_TYPE_IH,
>   	};
>   
> @@ -1987,7 +1988,6 @@ static int amdgpu_device_ip_reinit_late_sriov(struct amdgpu_device *adev)
>   
>   	static enum amd_ip_block_type ip_order[] = {
>   		AMD_IP_BLOCK_TYPE_SMC,
> -		AMD_IP_BLOCK_TYPE_PSP,
>   		AMD_IP_BLOCK_TYPE_DCE,
>   		AMD_IP_BLOCK_TYPE_GFX,
>   		AMD_IP_BLOCK_TYPE_SDMA,



More information about the amd-gfx mailing list