[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Asad Kamal <asad.ka...@amd.com>

Thanks & Regards
Asad

-----Original Message-----
From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> On Behalf Of Lazar, Lijo
Sent: Monday, August 4, 2025 10:03 AM
To: amd-gfx@lists.freedesktop.org
Cc: Zhang, Hawking <hawking.zh...@amd.com>; Deucher, Alexander 
<alexander.deuc...@amd.com>
Subject: Re: [PATCH] drm/amdgpu: Add description for partition commands

<Ping>

On 7/17/2025 4:37 PM, Lijo Lazar wrote:
> Add string description for partition commands.
>
> Signed-off-by: Lijo Lazar <lijo.la...@amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 25aa35de1e41..030d7db78b4a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -666,6 +666,10 @@ static const char *psp_gfx_cmd_name(enum psp_gfx_cmd_id 
> cmd_id)
>               return "FB_FW_RESERV_ADDR";
>       case GFX_CMD_ID_FB_FW_RESERV_EXT_ADDR:
>               return "FB_FW_RESERV_EXT_ADDR";
> +     case GFX_CMD_ID_SRIOV_SPATIAL_PART:
> +             return "SPATIAL_PARTITION";
> +     case GFX_CMD_ID_FB_NPS_MODE:
> +             return "NPS_MODE_CHANGE";
>       default:
>               return "UNKNOWN CMD";
>       }

Reply via email to