From: Tvrtko Ursulin Date: Fri, 17 Apr 2026 10:37:40 +0000 (+0100) Subject: drm/panthor: Remove drm_sched_init_args->num_rqs usage X-Git-Tag: v7.2-rc1~141^2~26^2~35 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=30c4a19cf71f040462254dcb8b2d3c3e7232b99b;p=thirdparty%2Flinux.git drm/panthor: Remove drm_sched_init_args->num_rqs usage Remove member no longer used by the scheduler core. Signed-off-by: Tvrtko Ursulin Cc: Boris Brezillon Cc: Steven Price Cc: Liviu Dudau Cc: dri-devel@lists.freedesktop.org Reviewed-by: Steven Price Reviewed-by: Liviu Dudau Signed-off-by: Philipp Stanner Link: https://patch.msgid.link/20260417103744.76020-26-tvrtko.ursulin@igalia.com --- diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c b/drivers/gpu/drm/panthor/panthor_mmu.c index fa8b31df85c9a..3d2178477514b 100644 --- a/drivers/gpu/drm/panthor/panthor_mmu.c +++ b/drivers/gpu/drm/panthor/panthor_mmu.c @@ -2700,7 +2700,6 @@ panthor_vm_create(struct panthor_device *ptdev, bool for_mcu, const struct drm_sched_init_args sched_args = { .ops = &panthor_vm_bind_ops, .submit_wq = ptdev->mmu->vm.wq, - .num_rqs = 1, .credit_limit = 1, /* Bind operations are synchronous for now, no timeout needed. */ .timeout = MAX_SCHEDULE_TIMEOUT, diff --git a/drivers/gpu/drm/panthor/panthor_sched.c b/drivers/gpu/drm/panthor/panthor_sched.c index a06d91875beb9..41d6369fa9c05 100644 --- a/drivers/gpu/drm/panthor/panthor_sched.c +++ b/drivers/gpu/drm/panthor/panthor_sched.c @@ -3489,7 +3489,6 @@ group_create_queue(struct panthor_group *group, struct drm_sched_init_args sched_args = { .ops = &panthor_queue_sched_ops, .submit_wq = group->ptdev->scheduler->wq, - .num_rqs = 1, /* * The credit limit argument tells us the total number of * instructions across all CS slots in the ringbuffer, with