Commit 1bf8b464 authored by Shaoyun Liu's avatar Shaoyun Liu Committed by Alex Deucher
Browse files

drm/amd/include : Update MES v12 API header - SUSPEND



Update SUSPEND API to support sdma queues.
It's been supportted since 0x82 for gfx12

Signed-off-by: default avatarShaoyun Liu <shaoyun.liu@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent dda70217
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 */