Re: [PATCH v2] drm/sched: Drop the unused entity argument from drm_sched_fence_alloc()

From: Philipp Stanner

Date: Fri Sep 11 2026 - 06:29:53 EST


On Thu, 2026-09-10 at 14:45 +0900, Donggeun Yoo wrote:
> In commit dbe48d030b28 ("drm/sched: Split drm_sched_job_init") the only
> use of the entity argument of drm_sched_fence_alloc(), fence->sched =
> entity->rq->sched, moved into drm_sched_fence_init(), and the now unused
> argument was left behind.
>
> Drop the argument. The sole caller still passes the entity to
> drm_sched_fence_init() at arm time, so behavior is unchanged. This also
> removes the parameter-name mismatch between the declaration (s_entity)
> and the definition (entity).
>
> Signed-off-by: Donggeun Yoo <donggeunyoo.kernel@xxxxxxxxx>
> Assisted-by: Claude:claude-fable-5

Pushed to drm-misc-next

Thx
P.