Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-22 Thread Qiang Yu
On Sun, Jan 21, 2024 at 11:11 PM Erico Nunes wrote: > > On Sun, Jan 21, 2024 at 12:20 PM Qiang Yu wrote: > > > > On Sun, Jan 21, 2024 at 5:56 PM Hillf Danton wrote: > > > > > > On Wed, 17 Jan 2024 04:12:10 +0100 Erico Nunes > > > > > > > > @@ -401,9 +399,33 @@ static enum drm_gpu_sched_stat >

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-21 Thread Erico Nunes
On Sun, Jan 21, 2024 at 12:20 PM Qiang Yu wrote: > > On Sun, Jan 21, 2024 at 5:56 PM Hillf Danton wrote: > > > > On Wed, 17 Jan 2024 04:12:10 +0100 Erico Nunes > > > > > > @@ -401,9 +399,33 @@ static enum drm_gpu_sched_stat > > > lima_sched_timedout_job(struct drm_sched_job *job > > > str

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-21 Thread Qiang Yu
On Sun, Jan 21, 2024 at 5:56 PM Hillf Danton wrote: > > On Wed, 17 Jan 2024 04:12:10 +0100 Erico Nunes > > > > @@ -401,9 +399,33 @@ static enum drm_gpu_sched_stat > > lima_sched_timedout_job(struct drm_sched_job *job > > struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); > > st

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-21 Thread Hillf Danton
On Wed, 17 Jan 2024 04:12:10 +0100 Erico Nunes > > @@ -401,9 +399,33 @@ static enum drm_gpu_sched_stat > lima_sched_timedout_job(struct drm_sched_job *job > struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); > struct lima_sched_task *task = to_lima_task(job); > struct li

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-20 Thread Qiang Yu
On Fri, Jan 19, 2024 at 9:43 AM Qiang Yu wrote: > > On Wed, Jan 17, 2024 at 11:12 AM Erico Nunes wrote: > > > > There are several unexplained and unreproduced cases of rendering > > timeouts with lima, for which one theory is high IRQ latency coming from > > somewhere else in the system. > > This

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-18 Thread Qiang Yu
On Wed, Jan 17, 2024 at 11:12 AM Erico Nunes wrote: > > There are several unexplained and unreproduced cases of rendering > timeouts with lima, for which one theory is high IRQ latency coming from > somewhere else in the system. > This kind of occurrence may cause applications to trigger unnecessa

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-18 Thread Erico Nunes
On Thu, Jan 18, 2024 at 3:46 AM Qiang Yu wrote: > > On Wed, Jan 17, 2024 at 11:12 AM Erico Nunes wrote: > > diff --git a/drivers/gpu/drm/lima/lima_sched.h > > b/drivers/gpu/drm/lima/lima_sched.h > > index 6a11764d87b3..34050facb110 100644 > > --- a/drivers/gpu/drm/lima/lima_sched.h > > +++ b/dri

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-17 Thread Qiang Yu
On Wed, Jan 17, 2024 at 11:12 AM Erico Nunes wrote: > > There are several unexplained and unreproduced cases of rendering > timeouts with lima, for which one theory is high IRQ latency coming from > somewhere else in the system. > This kind of occurrence may cause applications to trigger unnecessa

Re: [PATCH v1 4/6] drm/lima: handle spurious timeouts due to high irq latency

2024-01-17 Thread Vasily Khoruzhick
On Tue, Jan 16, 2024 at 7:12 PM Erico Nunes wrote: > > There are several unexplained and unreproduced cases of rendering > timeouts with lima, for which one theory is high IRQ latency coming from > somewhere else in the system. > This kind of occurrence may cause applications to trigger unnecessar