Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-24 Thread Luben Tuikov
On 2023-10-24 10:46, Alex Deucher wrote: > On Tue, Oct 24, 2023 at 6:14 AM Christian König > wrote: >> >> [SNIP] >>> Let me take a closer look first >> >> I think I've figured out why this isn't working as expected. It started >> with this patch here: >> >> commit 5fd8518d187ed03403a4d4f7f56f52c00

Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-24 Thread Alex Deucher
On Tue, Oct 24, 2023 at 6:14 AM Christian König wrote: > > [SNIP] > > Let me take a closer look first > > I think I've figured out why this isn't working as expected. It started > with this patch here: > > commit 5fd8518d187ed03403a4d4f7f56f52c00b11c148 > Author: Andrey Grodzovsky > Date: Mon D

Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-24 Thread Christian König
[SNIP] Let me take a closer look first I think I've figured out why this isn't working as expected. It started with this patch here: commit 5fd8518d187ed03403a4d4f7f56f52c00b11c148 Author: Andrey Grodzovsky Date:   Mon Dec 6 14:59:35 2021 -0500     drm/amdgpu: Move scheduler init to after

Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-23 Thread Christian König
Am 24.10.23 um 04:55 schrieb Luben Tuikov: On 2023-10-23 01:49, Christian König wrote: Am 23.10.23 um 05:23 schrieb Luben Tuikov: Initialize ring schedulers before using them, very early in the amdgpu boot, at PCI probe time, specifically at frame-buffer dumb-create at fill-buffer. This was d

Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-23 Thread Luben Tuikov
On 2023-10-23 01:49, Christian König wrote: > > > Am 23.10.23 um 05:23 schrieb Luben Tuikov: >> Initialize ring schedulers before using them, very early in the amdgpu boot, >> at PCI probe time, specifically at frame-buffer dumb-create at fill-buffer. >> >> This was discovered by using dynamic sc

Re: [PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-22 Thread Christian König
Am 23.10.23 um 05:23 schrieb Luben Tuikov: Initialize ring schedulers before using them, very early in the amdgpu boot, at PCI probe time, specifically at frame-buffer dumb-create at fill-buffer. This was discovered by using dynamic scheduler run-queues, which showed that amdgpu was using a s

[PATCH] drm/amdgpu: Initialize schedulers before using them

2023-10-22 Thread Luben Tuikov
Initialize ring schedulers before using them, very early in the amdgpu boot, at PCI probe time, specifically at frame-buffer dumb-create at fill-buffer. This was discovered by using dynamic scheduler run-queues, which showed that amdgpu was using a scheduler before calling drm_sched_init(), and th