[PATCH v4] drm/sched: Use struct for drm_sched_init() params
Danilo Krummrich
dakr at redhat.com
Tue Feb 11 15:03:36 UTC 2025
On Tue, Feb 11, 2025 at 12:14:23PM +0100, Philipp Stanner wrote:
> 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 6f1cacf4eba7 ("drm/nouveau: Improve variable name in
> nouveau_sched_init()").
>
> Introduce a new struct for the scheduler init parameters and port all
> users.
>
> Signed-off-by: Philipp Stanner <phasta at kernel.org>
> Reviewed-by: Liviu Dudau <liviu.dudau at arm.com>
> Acked-by: Matthew Brost <matthew.brost at intel.com> # for Xe
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com> # for Panfrost and Panthor
> Reviewed-by: Christian Gmeiner <cgmeiner at igalia.com> # for Etnaviv
> Reviewed-by: Frank Binns <frank.binns at imgtec.com> # for Imagination
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com> # for Sched
> Reviewed-by: Maíra Canal <mcanal at igalia.com> # for v3d
Reviewed-by: Danilo Krummrich <dakr at kernel.org>
More information about the dri-devel
mailing list