Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Shaoyun Liu <shaoyun.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Shaoyun Liu and committed by
Alex Deucher
1bf8b464 dda70217

+4 -2
+4 -2
drivers/gpu/drm/amd/include/mes_v12_api_def.h
··· 492 492 union MES_API_HEADER header; 493 493 /* false - suspend all gangs; true - specific gang */ 494 494 struct { 495 - uint32_t suspend_all_gangs : 1; 496 - uint32_t reserved : 31; 495 + uint32_t suspend_all_gangs : 1; // suspend all compute gangs (can be set together with suspend_all_sdma_gangs) 496 + uint32_t query_status : 1; 497 + uint32_t suspend_all_sdma_gangs : 1; // suspend all sdma gangs (can be set together with suspend_all_gangs) 498 + uint32_t reserved : 29; 497 499 }; 498 500 /* gang_context_addr is valid only if suspend_all = false */ 499 501