Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panthor: Kill panthor_sched_immediate_tick()

It's only used in a couple places and everyone else is just using
sched_queue_delayed_work(sched, tick, 0) directly, so let's make
this consistent.

v2:
- Add R-b

v3:
- Collect R-b

Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: https://patch.msgid.link/20251128094839.3856402-9-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>

+2 -9
+2 -9
drivers/gpu/drm/panthor/panthor_sched.c
··· 2753 2753 group_put(group); 2754 2754 } 2755 2755 2756 - static void panthor_sched_immediate_tick(struct panthor_device *ptdev) 2757 - { 2758 - struct panthor_scheduler *sched = ptdev->scheduler; 2759 - 2760 - sched_queue_delayed_work(sched, tick, 0); 2761 - } 2762 - 2763 2756 /** 2764 2757 * panthor_sched_report_mmu_fault() - Report MMU faults to the scheduler. 2765 2758 */ ··· 2760 2767 { 2761 2768 /* Force a tick to immediately kill faulty groups. */ 2762 2769 if (ptdev->scheduler) 2763 - panthor_sched_immediate_tick(ptdev); 2770 + sched_queue_delayed_work(ptdev->scheduler, tick, 0); 2764 2771 } 2765 2772 2766 2773 void panthor_sched_resume(struct panthor_device *ptdev) 2767 2774 { 2768 2775 /* Force a tick to re-evaluate after a resume. */ 2769 - panthor_sched_immediate_tick(ptdev); 2776 + sched_queue_delayed_work(ptdev->scheduler, tick, 0); 2770 2777 } 2771 2778 2772 2779 void panthor_sched_suspend(struct panthor_device *ptdev)