[PATCH] drm/amdgpu: enable mode-2 gpu reset for vangogh

Huang Rui ray.huang at amd.com
Thu Mar 18 07:33:33 UTC 2021


On Thu, Mar 18, 2021 at 03:21:20PM +0800, Du, Xiaojian wrote:
> From: Xiaojian Du <xiaojian.du at amd.com>
> 
> From: Xiaojian Du <Xiaojian.Du at amd.com>
> 
> This patch is to enable mdoe-2 gpu reset for vangogh.
> 
> Signed-off-by: Xiaojian Du <Xiaojian.Du at amd.com>

Please add the fix PSP firmware version in the commit to let us know the
good version for reset.

Others look good for me, good job!

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/nv.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
> index 5846eac292c3..a31ef68ee2ab 100644
> --- a/drivers/gpu/drm/amd/amdgpu/nv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/nv.c
> @@ -561,10 +561,6 @@ static int nv_asic_reset(struct amdgpu_device *adev)
>  	int ret = 0;
>  	struct smu_context *smu = &adev->smu;
>  
> -	/* skip reset on vangogh for now */
> -	if (adev->asic_type == CHIP_VANGOGH)
> -		return 0;
> -
>  	switch (nv_asic_reset_method(adev)) {
>  	case AMD_RESET_METHOD_PCI:
>  		dev_info(adev->dev, "PCI reset\n");
> -- 
> 2.17.1
> 


More information about the amd-gfx mailing list