lkml.org 
[lkml]   [2020]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/9] drm/vblank: Add vblank works
From
Date
On Mon, 2020-04-13 at 16:42 -0400, Tejun Heo wrote:
> Hello,
>
> On Mon, Apr 13, 2020 at 04:18:57PM -0400, Lyude Paul wrote:
> > Hi Tejun! Sorry to bother you, but have you had a chance to look at any of
> > this yet? Would like to continue moving this forward
>
> Sorry, wasn't following this thread. Have you looked at kthread_worker?
>

Hi, thanks for the response! And yes-I think this would actually be perfect
for what we need, I guess one question I might as well ask since I've got you
here: would patches to expose an unlocked version of kthread_queue_worker() be
accepted? With something like that I should be able to just reuse the
delayed_work_list and spinlocks that come with kthread_worker which would make
the vblank works implementation a bit easier
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/kthread.h#n71
>
> And, thanks a lot for the vblank explanation. I really enjoyed readin it. :)
>
--
Cheers,
Lyude Paul (she/her)
Associate Software Engineer at Red Hat

\
 
 \ /
  Last update: 2020-04-14 18:56    [W:0.759 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site