Skip to content

Commit 4b51512

Browse files
Jack Xiaoalexdeucher
authored andcommitted
drm/amdgpu/mes11: update ADD_QUEUE interface
Update ADD_QUEUE interface for mes11 to support mes mapping legacy queue. Signed-off-by: Jack Xiao <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent ea686fe commit 4b51512

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

drivers/gpu/drm/amd/include/mes_v11_api_def.h

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,21 @@ union MESAPI__ADD_QUEUE {
299299
uint32_t skip_process_ctx_clear : 1;
300300
uint32_t map_legacy_kq : 1;
301301
uint32_t exclusively_scheduled : 1;
302-
uint32_t reserved : 17;
302+
uint32_t is_long_running : 1;
303+
uint32_t is_dwm_queue : 1;
304+
uint32_t is_video_blit_queue : 1;
305+
uint32_t reserved : 14;
303306
};
304-
struct MES_API_STATUS api_status;
305-
uint64_t tma_addr;
307+
struct MES_API_STATUS api_status;
308+
uint64_t tma_addr;
309+
uint32_t sch_id;
310+
uint64_t timestamp;
311+
uint32_t process_context_array_index;
312+
uint32_t gang_context_array_index;
313+
uint32_t pipe_id;
314+
uint32_t queue_id;
315+
uint32_t alignment_mode_setting;
316+
uint64_t unmap_flag_addr;
306317
};
307318

308319
uint32_t max_dwords_in_api[API_FRAME_SIZE_IN_DWORDS];

0 commit comments

Comments
 (0)