Re: [PATCH] drm/sched: Remove racy hack from drm_sched_fini()

From: Philipp Stanner

Date: Fri Feb 27 2026 - 04:06:15 EST


On Tue, 2026-02-17 at 15:20 +0100, Danilo Krummrich wrote:
> On Thu Jan 8, 2026 at 9:30 AM CET, Philipp Stanner wrote:
> > drm_sched_fini() contained a hack to work around a race in amdgpu.
> > According to AMD, the hack should not be necessary anymore. In case
> > there should have been undetected users,
> >
> > commit 975ca62a014c ("drm/sched: Add warning for removing hack in drm_sched_fini()")
> >
> > had added a warning one release cycle ago.
> >
> > Thus, it can be derived that the hack can be savely removed by now.
> >
> > Remove the hack.
> >
> > Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
>
> Acked-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Pushed to drm-misc-next, thx.

P.