mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
drm/amdgpu: set the userq xcp_id
Initialize the userq xcp_id. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3cdff3c8b9
commit
27f4f5546e
|
|
@ -627,6 +627,8 @@ amdgpu_userq_create(struct drm_file *filp, union drm_amdgpu_userq *args)
|
|||
queue->queue_type = args->in.ip_type;
|
||||
queue->vm = &fpriv->vm;
|
||||
queue->priority = priority;
|
||||
queue->xcp_id = (fpriv->xcp_id != AMDGPU_XCP_NO_PARTITION) ?
|
||||
fpriv->xcp_id : 0;
|
||||
queue->userq_mgr = uq_mgr;
|
||||
INIT_DELAYED_WORK(&queue->hang_detect_work,
|
||||
amdgpu_userq_hang_detect_work);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user