Re: [PATCH] drm/amdgpu: enable the attributes for vb flashing

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

 




On 1/30/2025 1:07 PM, Mangesh Gadre wrote:
> From: Shiwu Zhang <shiwu.zhang@xxxxxxx>
> 
> Make psp_vbflash_status and psp_vbflash available in sysfs
> 

Suggest to keep subject like

	Enable IFWI update support with PSPv13.0.12

With that,
	Reviewed-by: Lijo Lazar <lijo.lazar@xxxxxxx>

Thanks,
Lijo

> Signed-off-by: Shiwu Zhang <shiwu.zhang@xxxxxxx>
> Reviewed-by: Hawking Zhang <Hawking.Zhang@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 4c794e8ca7bd..b531adfb4f57 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -208,11 +208,15 @@ static int psp_early_init(struct amdgpu_ip_block *ip_block)
>  		psp->boot_time_tmr = false;
>  		fallthrough;
>  	case IP_VERSION(13, 0, 6):
> -	case IP_VERSION(13, 0, 12):
>  	case IP_VERSION(13, 0, 14):
>  		psp_v13_0_set_psp_funcs(psp);
>  		psp->autoload_supported = false;
>  		break;
> +	case IP_VERSION(13, 0, 12):
> +		psp_v13_0_set_psp_funcs(psp);
> +		psp->autoload_supported = false;
> +		adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
> +		break;
>  	case IP_VERSION(13, 0, 1):
>  	case IP_VERSION(13, 0, 3):
>  	case IP_VERSION(13, 0, 5):




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

  Powered by Linux