[PATCH] drm/amd/include : MES v11 and v12 API header update
Alex Deucher
alexdeucher at gmail.com
Wed Feb 5 19:13:38 UTC 2025
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