diff options
| author | John Clements <[email protected]> | 2020-03-05 09:48:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-03-06 19:31:51 +0000 |
| commit | 1b3460a8b19688ad3033b75237d40fa580a5a953 (patch) | |
| tree | 90d63aff4599d1f5ac05f97b1fde9752d0dc154e /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | drm/amdgpu: enable PCS error report on arcturus (diff) | |
| download | kernel-1b3460a8b19688ad3033b75237d40fa580a5a953.tar.gz kernel-1b3460a8b19688ad3033b75237d40fa580a5a953.zip | |
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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c index dd30f4e61a8c..cae426c7c086 100644 --- a/drivers/gpu/drm/amd/amdgpu/atom.c +++ b/drivers/gpu/drm/amd/amdgpu/atom.c @@ -744,8 +744,8 @@ static void atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) cjiffies = jiffies; if (time_after(cjiffies, ctx->last_jump_jiffies)) { cjiffies -= ctx->last_jump_jiffies; - if ((jiffies_to_msecs(cjiffies) > 5000)) { - DRM_ERROR("atombios stuck in loop for more than 5secs aborting\n"); + if ((jiffies_to_msecs(cjiffies) > 10000)) { + DRM_ERROR("atombios stuck in loop for more than 10secs aborting\n"); ctx->abort = true; } } else { |
