Re: [PATCH] drm/lima: use drm_sched_fault for error task handling

2020-01-08 Thread Qiang Yu
Thanks, applied to drm-misc-next. Regards, Qiang On Tue, Jan 7, 2020 at 4:16 PM Andreas Baierl wrote: > > Am 03.01.2020 um 06:46 schrieb Vasily Khoruzhick: > > On Wed, Jan 1, 2020 at 2:39 AM Qiang Yu wrote: > >> drm_sched_job_timedout works with drm_sched_stop as a pair, > >> so we'd better use

Re: [PATCH] drm/lima: use drm_sched_fault for error task handling

2020-01-07 Thread Andreas Baierl
Am 03.01.2020 um 06:46 schrieb Vasily Khoruzhick: On Wed, Jan 1, 2020 at 2:39 AM Qiang Yu wrote: drm_sched_job_timedout works with drm_sched_stop as a pair, so we'd better use the drm_sched_fault helper to make the error and timeout handling go the same path. This also fixes application hang w

Re: [PATCH] drm/lima: use drm_sched_fault for error task handling

2020-01-02 Thread Vasily Khoruzhick
On Wed, Jan 1, 2020 at 2:39 AM Qiang Yu wrote: > > drm_sched_job_timedout works with drm_sched_stop as a pair, > so we'd better use the drm_sched_fault helper to make the > error and timeout handling go the same path. > > This also fixes application hang when task error. > > Signed-off-by: Qiang Y

[PATCH] drm/lima: use drm_sched_fault for error task handling

2020-01-01 Thread Qiang Yu
drm_sched_job_timedout works with drm_sched_stop as a pair, so we'd better use the drm_sched_fault helper to make the error and timeout handling go the same path. This also fixes application hang when task error. Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_sched.c | 35 ---