RE: [PATCH] drm/amdgpu: load ta firmware for sienna cichlid

2020-07-14 Thread Clements, John
[AMD Public Use]

Looks good to me Bhawanpreet,

If possible could you please also update the FW modules at the top of the 
source?
remove obsolete ASD path:
MODULE_FIRMWARE("amdgpu/sienna_cichlid_asd.bin");
Add TA path:
MODULE_FIRMWARE("amdgpu/sienna_cichlid_ta.bin");

Also for your information, there is a small bug in the  TA microcode init 
sequence that will prevent the TA FW from loading correctly, I'll submit a 
patch today to resolve it.

With above concerns resolved:
Reviewed-by: John Clements 

-Original Message-
From: Alex Deucher  
Sent: Wednesday, July 15, 2020 3:40 AM
To: Lakha, Bhawanpreet 
Cc: amd-gfx list ; Deucher, Alexander 
; Clements, John ; 
Kazlauskas, Nicholas 
Subject: Re: [PATCH] drm/amdgpu: load ta firmware for sienna cichlid

On Tue, Jul 14, 2020 at 3:16 PM Bhawanpreet Lakha  
wrote:
>
> call psp_int_ta_microcode() to parse the ta firmware.
>
> Signed-off-by: Bhawanpreet Lakha 

Acked-by: Alex Deucher 

> ---
>  drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c 
> b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> index 423386272920..798bc7b2db39 100644
> --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> @@ -173,6 +173,9 @@ static int psp_v11_0_init_microcode(struct psp_context 
> *psp)
> }
> break;
> case CHIP_SIENNA_CICHLID:
> +   err = psp_init_ta_microcode(>psp, chip_name);
> +   if (err)
> +   return err;
> break;
> default:
> BUG();
> --
> 2.17.1
>
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfxdata=02%7C01%7Cjo
> hn.clements%40amd.com%7Cc1b9c409e4f845c5a64808d8282dc590%7C3dd8961fe48
> 84e608e11a82d994e183d%7C0%7C0%7C637303524336189607sdata=BN6utDBMk
> 8qgzY7b%2FOloi0yKQ9hmOHDjXlb3fw9fHio%3Dreserved=0
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: [PATCH] drm/amdgpu: load ta firmware for sienna cichlid

2020-07-14 Thread Alex Deucher
On Tue, Jul 14, 2020 at 3:16 PM Bhawanpreet Lakha
 wrote:
>
> call psp_int_ta_microcode() to parse the ta firmware.
>
> Signed-off-by: Bhawanpreet Lakha 

Acked-by: Alex Deucher 

> ---
>  drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c 
> b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> index 423386272920..798bc7b2db39 100644
> --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> @@ -173,6 +173,9 @@ static int psp_v11_0_init_microcode(struct psp_context 
> *psp)
> }
> break;
> case CHIP_SIENNA_CICHLID:
> +   err = psp_init_ta_microcode(>psp, chip_name);
> +   if (err)
> +   return err;
> break;
> default:
> BUG();
> --
> 2.17.1
>
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[PATCH] drm/amdgpu: load ta firmware for sienna cichlid

2020-07-14 Thread Bhawanpreet Lakha
call psp_int_ta_microcode() to parse the ta firmware.

Signed-off-by: Bhawanpreet Lakha 
---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
index 423386272920..798bc7b2db39 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
@@ -173,6 +173,9 @@ static int psp_v11_0_init_microcode(struct psp_context *psp)
}
break;
case CHIP_SIENNA_CICHLID:
+   err = psp_init_ta_microcode(>psp, chip_name);
+   if (err)
+   return err;
break;
default:
BUG();
-- 
2.17.1

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx