Skip to content

Commit 1b3460a

Browse files
John Clementsalexdeucher
authored andcommitted
drm/amdgpu: increase atombios cmd timeout
mitigates race condition on BACO reset between GPU bootcode and driver reload Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent a61f41b commit 1b3460a

File tree

1 file changed

+2
-2
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+2
-2
lines changed

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)