-
- Downloads
drm/sched: Use struct for drm_sched_init() params
drm_sched_init() has a great many parameters and upcoming new functionality for the scheduler might add even more. Generally, the great number of parameters reduces readability and has already caused one missnaming, addressed in: commit 6f1cacf4 ("drm/nouveau: Improve variable name in nouveau_sched_init()"). Introduce a new struct for the scheduler init parameters and port all users. Reviewed-by:Liviu Dudau <liviu.dudau@arm.com> Acked-by: Matthew Brost <matthew.brost@intel.com> # for Xe Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> # for Panfrost and Panthor Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> # for Etnaviv Reviewed-by: Frank Binns <frank.binns@imgtec.com> # for Imagination Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> # for Sched Reviewed-by: Maíra Canal <mcanal@igalia.com> # for v3d Reviewed-by:
Danilo Krummrich <dakr@kernel.org> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> # for amdxdna Signed-off-by:
Philipp Stanner <phasta@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20250211111422.21235-2-phasta@kernel.org
Showing
- drivers/accel/amdxdna/aie2_ctx.c 9 additions, 3 deletionsdrivers/accel/amdxdna/aie2_ctx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 12 additions, 6 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/etnaviv/etnaviv_sched.c 11 additions, 11 deletionsdrivers/gpu/drm/etnaviv/etnaviv_sched.c
- drivers/gpu/drm/imagination/pvr_queue.c 12 additions, 6 deletionsdrivers/gpu/drm/imagination/pvr_queue.c
- drivers/gpu/drm/lima/lima_sched.c 10 additions, 6 deletionsdrivers/gpu/drm/lima/lima_sched.c
- drivers/gpu/drm/msm/msm_ringbuffer.c 9 additions, 8 deletionsdrivers/gpu/drm/msm/msm_ringbuffer.c
- drivers/gpu/drm/nouveau/nouveau_sched.c 11 additions, 5 deletionsdrivers/gpu/drm/nouveau/nouveau_sched.c
- drivers/gpu/drm/panfrost/panfrost_job.c 11 additions, 9 deletionsdrivers/gpu/drm/panfrost/panfrost_job.c
- drivers/gpu/drm/panthor/panthor_mmu.c 11 additions, 5 deletionsdrivers/gpu/drm/panthor/panthor_mmu.c
- drivers/gpu/drm/panthor/panthor_sched.c 17 additions, 11 deletionsdrivers/gpu/drm/panthor/panthor_sched.c
- drivers/gpu/drm/scheduler/sched_main.c 17 additions, 33 deletionsdrivers/gpu/drm/scheduler/sched_main.c
- drivers/gpu/drm/v3d/v3d_sched.c 26 additions, 39 deletionsdrivers/gpu/drm/v3d/v3d_sched.c
- drivers/gpu/drm/xe/xe_execlist.c 10 additions, 5 deletionsdrivers/gpu/drm/xe/xe_execlist.c
- drivers/gpu/drm/xe/xe_gpu_scheduler.c 14 additions, 3 deletionsdrivers/gpu/drm/xe/xe_gpu_scheduler.c
- include/drm/gpu_scheduler.h 31 additions, 5 deletionsinclude/drm/gpu_scheduler.h
Loading
Please register or sign in to comment