]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/scheduler: remove full_recover from drm_sched_start
authorChristian König <christian.koenig@amd.com>
Fri, 19 Jul 2024 15:24:14 +0000 (17:24 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 25 Jul 2024 12:05:12 +0000 (14:05 +0200)
commit83b501c1799a96a41e163973e88826253ffadfb3
treeabe2b07c3928798c5997c0bc90c8521bf2e23c3e
parent10ba3753665f77314cb475e1a4ad0785f4770c4b
drm/scheduler: remove full_recover from drm_sched_start

This was basically just another one of amdgpus hacks. The parameter
allowed to restart the scheduler without turning fence signaling on
again.

That this is absolutely not a good idea should be obvious by now since
the fences will then just sit there and never signal.

While at it cleanup the code a bit.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722083816.99685-1-christian.koenig@amd.com
12 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/etnaviv/etnaviv_sched.c
drivers/gpu/drm/imagination/pvr_queue.c
drivers/gpu/drm/lima/lima_sched.c
drivers/gpu/drm/nouveau/nouveau_sched.c
drivers/gpu/drm/panfrost/panfrost_job.c
drivers/gpu/drm/panthor/panthor_mmu.c
drivers/gpu/drm/panthor/panthor_sched.c
drivers/gpu/drm/scheduler/sched_main.c
drivers/gpu/drm/v3d/v3d_sched.c
include/drm/gpu_scheduler.h