Acked-by: Alex Deucher <[email protected]>

On Wed, Feb 5, 2025 at 1:57 PM Shaoyun Liu <[email protected]> wrote:
>
> MES requires driver set cleaner_shader_fence_mc_addr
> for cleaner shader support.
>
> Signed-off-by: Shaoyun Liu <[email protected]>
> ---
>  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
>

Reply via email to