Skip to content

Commit eedba8c

Browse files
John Clementsgregkh
John Clements
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 <[email protected]> Signed-off-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 61f27ba commit eedba8c

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
@@ -748,8 +748,8 @@ static void atom_op_jump(atom_exec_context *ctx, int *ptr, int arg)
748748
cjiffies = jiffies;
749749
if (time_after(cjiffies, ctx->last_jump_jiffies)) {
750750
cjiffies -= ctx->last_jump_jiffies;
751-
if ((jiffies_to_msecs(cjiffies) > 5000)) {
752-
DRM_ERROR("atombios stuck in loop for more than 5secs aborting\n");
751+
if ((jiffies_to_msecs(cjiffies) > 10000)) {
752+
DRM_ERROR("atombios stuck in loop for more than 10secs aborting\n");
753753
ctx->abort = true;
754754
}
755755
} else {

0 commit comments

Comments
 (0)