[PATCH v2] drm/sched: Avoid infinite waits in the drm_sched_entity_destroy() path

Boris Brezillon boris.brezillon at collabora.com
Fri Oct 2 12:28:31 UTC 2020


On Fri, 2 Oct 2020 10:31:31 +0200
Christian König <christian.koenig at amd.com> wrote:

> Am 02.10.20 um 08:55 schrieb Boris Brezillon:
> > If we don't initialize the entity to idle and the entity is never
> > scheduled before being destroyed we end up with an infinite wait in the
> > destroy path.  
> 
> Good catch, of hand I would say that this is valid.
> 
> >
> > v2:
> > - Add Steven's R-b
> >
> > Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
> > Reviewed-by: Steven Price <steven.price at arm.com>  
> 
> Reviewed-by: Christian König <christian.koenig at amd.com>
> 
> Should I pick it up for drm-misc-next? (Or maybe even -fixes?).

Sure.


More information about the dri-devel mailing list