Revert "drm/amdgpu: dont schedule jobs while in reset"
This reverts commit 89b3d86403.
We will do a proper fix in next patch.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
83a7772ba2
commit
7c55adb0a9
@@ -604,11 +604,8 @@ void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < num_entities; i++) {
|
for (i = 0; i < num_entities; i++)
|
||||||
mutex_lock(&ctx->adev->lock_reset);
|
|
||||||
drm_sched_entity_fini(&ctx->entities[0][i].entity);
|
drm_sched_entity_fini(&ctx->entities[0][i].entity);
|
||||||
mutex_unlock(&ctx->adev->lock_reset);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user