Re: [PATCH 06/13] drm/amdgpu: cleanup scheduler job initialization

2022-10-22 Thread Luben Tuikov
On 2022-10-14 04:46, Christian König wrote: > Init the DRM scheduler base class while allocating the job. > > This makes the whole handling much more cleaner. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +- >

[PATCH 06/13] drm/amdgpu: cleanup scheduler job initialization

2022-10-14 Thread Christian König
Init the DRM scheduler base class while allocating the job. This makes the whole handling much more cleaner. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 8 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c