search for: kthread_worker_init

Displaying 2 results from an estimated 2 matches for "kthread_worker_init".

Did you mean: kthread_work_init
2020 May 08
0
[RFC v4 01/12] kthread: Add kthread_queue_flush_work()
...e/linux/kthread.h index 8bbcaad7ef0f..0006540ce7f9 100644 --- a/include/linux/kthread.h +++ b/include/linux/kthread.h @@ -105,6 +105,11 @@ struct kthread_delayed_work { struct timer_list timer; }; +struct kthread_flush_work { + struct kthread_work work; + struct completion done; +}; + #define KTHREAD_WORKER_INIT(worker) { \ .lock = __RAW_SPIN_LOCK_UNLOCKED((worker).lock), \ .work_list = LIST_HEAD_INIT((worker).work_list), \ @@ -122,6 +127,11 @@ struct kthread_delayed_work { TIMER_IRQSAFE), \ } +#define KTHREAD_FLUSH_WORK_INIT(fwork) { \ + KTHREAD_WORK_INIT((fwork).work, __kthread_f...
2020 May 08
16
[RFC v4 00/12] drm/nouveau: Introduce CRC support for gf119+
Nvidia released some documentation on how CRC support works on their GPUs, hooray! So: this patch series implements said CRC support in nouveau, along with adding some special debugfs interfaces for some relevant igt-gpu-tools tests (already on the ML). First - we add some new functionality to kthread_work in the kernel, and then use this to add a new feature to DRM that Ville Syrj?l? came up