All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 5/5] drm/amdgpu: fix timeout value check in amd_sched_job_recovery
Date: Thu, 18 Aug 2016 09:39:16 +0800	[thread overview]
Message-ID: <57B511C4.7050107@amd.com> (raw)
In-Reply-To: <1471436784-13252-5-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>



On 2016年08月17日 20:26, Christian König wrote:
> From: Christian König <christian.koenig@amd.com>
>
> Could be that we don't actually have a timeout set.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
> ---
>   drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
> index f96aa82..f3fc10f 100644
> --- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
> +++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
> @@ -407,7 +407,7 @@ void amd_sched_job_recovery(struct amd_gpu_scheduler *sched)
>   	spin_lock(&sched->job_list_lock);
>   	s_job = list_first_entry_or_null(&sched->ring_mirror_list,
>   					 struct amd_sched_job, node);
> -	if (s_job)
> +	if (s_job && sched->timeout != MAX_SCHEDULE_TIMEOUT)
>   		schedule_delayed_work(&s_job->work_tdr, sched->timeout);
>   
>   	list_for_each_entry_safe(s_job, tmp, &sched->ring_mirror_list, node) {

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2016-08-18  1:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 12:26 [PATCH 1/5] drm/radeon: fix radeon_move_blit on 32bit systems Christian König
     [not found] ` <1471436784-13252-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-17 12:26   ` [PATCH 2/5] drm/amdgpu: fix amdgpu_move_blit " Christian König
2016-08-17 12:26   ` [PATCH 3/5] drm/amdgpu: fix lru size grouping Christian König
     [not found]     ` <1471436784-13252-3-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-17 21:00       ` Felix Kuehling
     [not found]         ` <cdd78daa-d6d8-b211-c4cc-1747bda7162f-5C7GfCeVMHo@public.gmane.org>
2016-08-18  7:54           ` Christian König
     [not found]             ` <0c6e022d-25b7-17b5-7aee-b3321f0d48cf-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-18 17:46               ` Felix Kuehling
2016-08-17 12:26   ` [PATCH 4/5] drm/amdgpu: fix sdma_v2_4_ring_test_ib Christian König
     [not found]     ` <1471436784-13252-4-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-18  1:38       ` zhoucm1
2016-08-17 12:26   ` [PATCH 5/5] drm/amdgpu: fix timeout value check in amd_sched_job_recovery Christian König
     [not found]     ` <1471436784-13252-5-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-18  1:39       ` zhoucm1 [this message]
2016-08-17 14:39   ` [PATCH 1/5] drm/radeon: fix radeon_move_blit on 32bit systems Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57B511C4.7050107@amd.com \
    --to=david1.zhou-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.