On 02/02/2023 08:58, Christian König wrote:
> [...]
>> +if (!ring->no_scheduler && ring->sched.ops)
>> drm_sched_fini(&ring->sched);
>
> I think we should drop the check for no_scheduler here and just call
> drm_sched_fini() when the scheduler instance was initial
Am 01.02.23 um 17:48 schrieb Guilherme G. Piccoli:
Currently amdgpu calls drm_sched_fini() from the fence driver sw fini
routine - such function is expected to be called only after the
respective init function - drm_sched_init() - was executed successfully.
Happens that we faced a driver probe f
-...@igalia.com;
Guilherme G. Piccoli ; Chen, Guchun ;
Tuikov, Luben ; Limonciello, Mario
Subject: [PATCH v2] drm/amdgpu/fence: Fix oops due to non-matching drm_sched
init/fini
Currently amdgpu calls drm_sched_fini() from the fence driver sw fini routine -
such function is expected to be
Reviewed-by: Luben Tuikov
Regards,
Luben
On 2023-02-01 11:48, Guilherme G. Piccoli wrote:
> Currently amdgpu calls drm_sched_fini() from the fence driver sw fini
> routine - such function is expected to be called only after the
> respective init function - drm_sched_init() - was executed success
Currently amdgpu calls drm_sched_fini() from the fence driver sw fini
routine - such function is expected to be called only after the
respective init function - drm_sched_init() - was executed successfully.
Happens that we faced a driver probe failure in the Steam Deck
recently, and the function d