[PATCH] drm/amd/include : MES v11 and v12 API header update
SHANMUGAM, SRINIVASAN
SRINIVASAN.SHANMUGAM at amd.com
Thu Feb 6 00:25:14 UTC 2025
[AMD Official Use Only - AMD Internal Distribution Only]
Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Thursday, February 6, 2025 12:44 AM
To: Liu, Shaoyun <Shaoyun.Liu at amd.com>
Cc: amd-gfx at lists.freedesktop.org
Subject: Re: [PATCH] drm/amd/include : MES v11 and v12 API header update
Acked-by: Alex Deucher <alexander.deucher at amd.com>
On Wed, Feb 5, 2025 at 1:57 PM Shaoyun Liu <shaoyun.liu at amd.com> wrote:
>
> MES requires driver set cleaner_shader_fence_mc_addr for cleaner
> shader support.
>
> Signed-off-by: Shaoyun Liu <shaoyun.liu at amd.com>
> ---
> drivers/gpu/drm/amd/include/mes_v11_api_def.h | 3 ++-
> drivers/gpu/drm/amd/include/mes_v12_api_def.h | 2 ++
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/include/mes_v11_api_def.h
> b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
> index eb46cb10c24d..6b5cd347dfb5 100644
> --- a/drivers/gpu/drm/amd/include/mes_v11_api_def.h
> +++ b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
> @@ -266,7 +266,8 @@ union MESAPI_SET_HW_RESOURCES_1 {
> };
> uint64_t mes_info_ctx_mc_addr;
> uint32_t mes_info_ctx_size;
> - uint32_t mes_kiq_unmap_timeout; // unit is 100ms
> + uint64_t reserved;
> + uint64_t cleaner_shader_fence_mc_addr;
> };
>
> uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];
> diff --git a/drivers/gpu/drm/amd/include/mes_v12_api_def.h
> b/drivers/gpu/drm/amd/include/mes_v12_api_def.h
> index c9b2ca5cf75f..1938150a1943 100644
> --- a/drivers/gpu/drm/amd/include/mes_v12_api_def.h
> +++ b/drivers/gpu/drm/amd/include/mes_v12_api_def.h
> @@ -278,6 +278,8 @@ union MESAPI_SET_HW_RESOURCES_1 {
> uint32_t mes_debug_ctx_size;
> /* unit is 100ms */
> uint32_t mes_kiq_unmap_timeout;
> + uint64_t reserved;
> + uint64_t cleaner_shader_fence_mc_addr;
> };
>
> uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];
> --
> 2.34.1
>
More information about the amd-gfx
mailing list