Commit c6abbcbc authored by Jack Xiao's avatar Jack Xiao Committed by Alex Deucher

drm/amdgpu: add mes ctx data in amdgpu_ring

Add mes context data structure in amdgpu_ring.
Signed-off-by: default avatarJack Xiao <Jack.Xiao@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2bc956ef
...@@ -267,6 +267,11 @@ struct amdgpu_ring { ...@@ -267,6 +267,11 @@ struct amdgpu_ring {
int hw_prio; int hw_prio;
unsigned num_hw_submission; unsigned num_hw_submission;
atomic_t *sched_score; atomic_t *sched_score;
/* used for mes */
bool is_mes_queue;
uint32_t hw_queue_id;
struct amdgpu_mes_ctx_data *mes_ctx;
}; };
#define amdgpu_ring_parse_cs(r, p, job, ib) ((r)->funcs->parse_cs((p), (job), (ib))) #define amdgpu_ring_parse_cs(r, p, job, ib) ((r)->funcs->parse_cs((p), (job), (ib)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment