Skip to content

Commit d1a749c

Browse files
John Clementsgregkh
authored andcommitted
drm/amdgpu: increase atombios cmd timeout
[ Upstream commit 1b3460a ] mitigates race condition on BACO reset between GPU bootcode and driver reload Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 3a22095 commit d1a749c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/gpu/drm/amd/amdgpu

drivers/gpu/drm/amd/amdgpu/atom.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ static void atom_op_jump(atom_exec_context *ctx, int *ptr, int arg)
744744
cjiffies = jiffies;
745745
if (time_after(cjiffies, ctx->last_jump_jiffies)) {
746746
cjiffies -= ctx->last_jump_jiffies;
747-
if ((jiffies_to_msecs(cjiffies) > 5000)) {
748-
DRM_ERROR("atombios stuck in loop for more than 5secs aborting\n");
747+
if ((jiffies_to_msecs(cjiffies) > 10000)) {
748+
DRM_ERROR("atombios stuck in loop for more than 10secs aborting\n");
749749
ctx->abort = true;
750750
}
751751
} else {

0 commit comments

Comments
 (0)