RE: [PATCH] drm/amd/sriov no need to config GECC for sriov

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

 



[AMD Official Use Only - Internal Distribution Only]

Stanley.Yang <Stanley.Yang@xxxxxxx>

Regards,
Stanley
> -----Original Message-----
> From: Jack Zhang <Jack.Zhang1@xxxxxxx>
> Sent: Wednesday, April 14, 2021 5:04 PM
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Yang, Stanley <Stanley.Yang@xxxxxxx>;
> Clements, John <John.Clements@xxxxxxx>; Zhang, Hawking
> <Hawking.Zhang@xxxxxxx>
> Cc: Zhang, Jack (Jian) <Jack.Zhang1@xxxxxxx>
> Subject: [PATCH] drm/amd/sriov no need to config GECC for sriov
> 
> No need to config GECC feature here for sriov Leave the host drvier to do the
> configuration job.
> 
> Signed-off-by: Jack Zhang <Jack.Zhang1@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 123ab3156f5a..7bdf93716fbf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device
> *adev)
>  	struct psp_context *psp = &adev->psp;
>  	struct psp_gfx_cmd_resp *cmd = psp->cmd;
> 
> -	if (adev->asic_type != CHIP_SIENNA_CICHLID)
> +	if (adev->asic_type != CHIP_SIENNA_CICHLID ||
> amdgpu_sriov_vf(adev))
>  		return 0;
> 
>  	memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));
> --
> 2.25.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