]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/include : Update MES v12 API header - SUSPEND
authorShaoyun Liu <shaoyun.liu@amd.com>
Thu, 22 Jan 2026 15:51:11 +0000 (10:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:08:35 +0000 (18:08 -0500)
Update SUSPEND API to support sdma queues.
It's been supportted since 0x82 for gfx12

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

index 83e4f014232434ab0ce8cb99160133458a0a011f..e541a43714a10b1bb865c928a3083adfa2b2f5f4 100644 (file)
@@ -492,8 +492,10 @@ union MESAPI__SUSPEND {
                union MES_API_HEADER    header;
                /* false - suspend all gangs; true - specific gang */
                struct {
-                       uint32_t        suspend_all_gangs : 1;
-                       uint32_t        reserved : 31;
+                       uint32_t      suspend_all_gangs : 1; // suspend all compute gangs (can be set together with suspend_all_sdma_gangs)
+                       uint32_t      query_status : 1;
+                       uint32_t      suspend_all_sdma_gangs : 1; // suspend all sdma gangs (can be set together with suspend_all_gangs)
+                       uint32_t      reserved : 29;
                };
                /* gang_context_addr is valid only if suspend_all = false */