the job must be emitted by scheduler, otherwise scheduler is abnormal.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
if (amdgpu_enable_scheduler) {
r = amd_sched_wait_emit(&cring->c_entity,
seq,
- true,
- AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS);
+ false,
+ -1);
if (r)
return NULL;
}
sched_job);
r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
v_seq,
- true,
+ false,
-1);
if (r)
DRM_ERROR("emit timeout\n");
sched_job);
r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
v_seq,
- true,
+ false,
-1);
if (r)
DRM_ERROR("emit timeout\n");
sched_job);
r = amd_sched_wait_emit(&adev->kernel_ctx->rings[ring->idx].c_entity,
v_seq,
- true,
+ false,
-1);
if (r)
DRM_ERROR("emit timeout\n");