]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/include : MES v11 and v12 API header update
authorShaoyun Liu <shaoyun.liu@amd.com>
Wed, 5 Feb 2025 18:16:45 +0000 (13:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:06 +0000 (21:04 -0500)
MES requires driver set cleaner_shader_fence_mc_addr
for cleaner shader support.

Signed-off-by: Shaoyun Liu <shaoyun.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/mes_v11_api_def.h
drivers/gpu/drm/amd/include/mes_v12_api_def.h

index eb46cb10c24d43ab3bb7051b125d6f138c19274d..15680c3f49704eb591803a6af8baf51f2800dc26 100644 (file)
@@ -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                                                        reserved1;
+               uint64_t                                                        cleaner_shader_fence_mc_addr;
        };
 
        uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];
index c9b2ca5cf75f4db31d83cc769b1c75058783a6ca..ebb8c857a5e31e107a883c854a782319b60b636e 100644 (file)
@@ -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                            reserved1;
+               uint64_t                            cleaner_shader_fence_mc_addr;
        };
 
        uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];