AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Lazar, Lijo" <lijo.lazar@amd.com>
To: Mangesh Gadre <Mangesh.Gadre@amd.com>,
	amd-gfx@lists.freedesktop.org, Hawking.Zhang@amd.com
Cc: Shiwu Zhang <shiwu.zhang@amd.com>
Subject: Re: [PATCH] drm/amdgpu: enable the attributes for vb flashing
Date: Thu, 30 Jan 2025 15:13:35 +0530	[thread overview]
Message-ID: <9fe99ecb-0099-4913-9290-3832633eb8a2@amd.com> (raw)
In-Reply-To: <20250130073759.2219240-1-Mangesh.Gadre@amd.com>



On 1/30/2025 1:07 PM, Mangesh Gadre wrote:
> From: Shiwu Zhang <shiwu.zhang@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@amd.com>

Thanks,
Lijo

> Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
> Reviewed-by: Hawking Zhang <Hawking.Zhang@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):


      parent reply	other threads:[~2025-01-30  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-30  7:37 [PATCH] drm/amdgpu: enable the attributes for vb flashing Mangesh Gadre
2025-01-30  9:43 ` Lazar, Lijo
2025-01-30  9:43 ` Lazar, Lijo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9fe99ecb-0099-4913-9290-3832633eb8a2@amd.com \
    --to=lijo.lazar@amd.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=Mangesh.Gadre@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=shiwu.zhang@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox