[PATCH] drm/amdgpu: enable the attributes for vb flashing
Lazar, Lijo
lijo.lazar at amd.com
Thu Jan 30 09:43:35 UTC 2025
On 1/30/2025 1:07 PM, Mangesh Gadre wrote:
> From: Shiwu Zhang <shiwu.zhang at amd.com>
>
> 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 at amd.com>
Thanks,
Lijo
> Signed-off-by: Shiwu Zhang <shiwu.zhang at amd.com>
> Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
> ---
> 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):
More information about the amd-gfx
mailing list