Re: [PATCH] drm/amdgpu: unify fw_write_wait for new gfx9 asics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 08, 2020 at 02:45:48PM +0800, Liu, Aaron wrote:
> Make the fw_write_wait default case true since presumably all new
> gfx9 asics will have updated firmware. That is using unique WAIT_REG_MEM
> packet with opration=1.
> 
> Signed-off-by: Aaron Liu <aaron.liu@xxxxxxx>
> ---

Acked-by: Huang Rui <ray.huang@xxxxxxx>

>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 2d56b06722bc..1d18447129b1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1214,6 +1214,8 @@ static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev)
>  			adev->gfx.mec_fw_write_wait = true;
>  		break;
>  	default:
> +		adev->gfx.me_fw_write_wait = true;
> +		adev->gfx.mec_fw_write_wait = true;
>  		break;
>  	}
>  }
> -- 
> 2.17.1
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux