[PATCH] drm/amdgpu: update gfxhub client id for gfx12

Alex Deucher alexdeucher at gmail.com
Thu Jun 20 14:38:05 UTC 2024


On Thu, Jun 20, 2024 at 10:32 AM Min, Frank <Frank.Min at amd.com> wrote:
>
> [AMD Official Use Only - AMD Internal Distribution Only]
>
> From: Frank Min <Frank.Min at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

>
> update gfxhub client id for gfx12
>
> Signed-off-by: Frank Min <Frank.Min at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c | 22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c
> index 7ea64f1e1e48..7609b9cecae8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfxhub_v12_0.c
> @@ -35,7 +35,27 @@
>  #define regGRBM_GFX_INDEX_DEFAULT      0xe0000000
>
>  static const char *gfxhub_client_ids[] = {
> -       /* TODO */
> +       "CB",
> +       "DB",
> +       "GE1",
> +       "GE2",
> +       "CPF",
> +       "CPC",
> +       "CPG",
> +       "RLC",
> +       "TCP",
> +       "SQC (inst)",
> +       "SQC (data)",
> +       "SQG/PC/SC",
> +       "Reserved",
> +       "SDMA0",
> +       "SDMA1",
> +       "GCR",
> +       "Reserved",
> +       "Reserved",
> +       "WGS",
> +       "DSM",
> +       "PA"
>  };
>
>  static uint32_t gfxhub_v12_0_get_invalidate_req(unsigned int vmid,
> --
> 2.34.1
>


More information about the amd-gfx mailing list