All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd: Restore flashing support for PSP 13.0.10
@ 2023-06-30 21:27 Mario Limonciello
  2023-06-30 21:30 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Limonciello @ 2023-06-30 21:27 UTC (permalink / raw)
  To: amd-gfx; +Cc: Likun.Gao, Mario Limonciello

This was accidentally lost by commit e6e3bee0bc9a3 ("drm/amd: Use
attribute groups for PSP flashing attributes")

Fixes: e6e3bee0bc9a ("drm/amd: Use attribute groups for PSP flashing attributes")
Reported-by: Likun.Gao@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 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 270b5b5a3a6d1..c2508462e02f9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -201,7 +201,6 @@ static int psp_early_init(void *handle)
 	case IP_VERSION(13, 0, 3):
 	case IP_VERSION(13, 0, 5):
 	case IP_VERSION(13, 0, 8):
-	case IP_VERSION(13, 0, 10):
 	case IP_VERSION(13, 0, 11):
 		psp_v13_0_set_psp_funcs(psp);
 		psp->autoload_supported = true;
@@ -214,6 +213,7 @@ static int psp_early_init(void *handle)
 		break;
 	case IP_VERSION(13, 0, 0):
 	case IP_VERSION(13, 0, 7):
+	case IP_VERSION(13, 0, 10):
 		psp_v13_0_set_psp_funcs(psp);
 		psp->autoload_supported = true;
 		adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd: Restore flashing support for PSP 13.0.10
  2023-06-30 21:27 [PATCH] drm/amd: Restore flashing support for PSP 13.0.10 Mario Limonciello
@ 2023-06-30 21:30 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-06-30 21:30 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: Likun.Gao, amd-gfx

On Fri, Jun 30, 2023 at 5:27 PM Mario Limonciello
<mario.limonciello@amd.com> wrote:
>
> This was accidentally lost by commit e6e3bee0bc9a3 ("drm/amd: Use
> attribute groups for PSP flashing attributes")
>
> Fixes: e6e3bee0bc9a ("drm/amd: Use attribute groups for PSP flashing attributes")
> Reported-by: Likun.Gao@amd.com
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  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 270b5b5a3a6d1..c2508462e02f9 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -201,7 +201,6 @@ static int psp_early_init(void *handle)
>         case IP_VERSION(13, 0, 3):
>         case IP_VERSION(13, 0, 5):
>         case IP_VERSION(13, 0, 8):
> -       case IP_VERSION(13, 0, 10):
>         case IP_VERSION(13, 0, 11):
>                 psp_v13_0_set_psp_funcs(psp);
>                 psp->autoload_supported = true;
> @@ -214,6 +213,7 @@ static int psp_early_init(void *handle)
>                 break;
>         case IP_VERSION(13, 0, 0):
>         case IP_VERSION(13, 0, 7):
> +       case IP_VERSION(13, 0, 10):
>                 psp_v13_0_set_psp_funcs(psp);
>                 psp->autoload_supported = true;
>                 adev->psp.sup_ifwi_up = !amdgpu_sriov_vf(adev);
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-30 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-30 21:27 [PATCH] drm/amd: Restore flashing support for PSP 13.0.10 Mario Limonciello
2023-06-30 21:30 ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.