Displaying 6 results from an estimated 6 matches for "drm_vbl_work_run".
2020 Mar 18
4
[PATCH 1/9] drm/vblank: Add vblank works
...;vblank_work.irq_list) &&
> + list_empty(&vblank->vblank_work.work_list));
> +
> + list_for_each_entry_safe(work, next,
> + &vblank->vblank_work.work_list,
> + list) {
> + list_move_tail(&work->list, &list);
> + work->state = DRM_VBL_WORK_RUNNING;
> + }
> +
> + spin_unlock_irq(&vblank->dev->event_lock);
> +
> + if (list_empty(&list))
> + continue;
> +
> + count = atomic64_read(&vblank->count);
> + list_for_each_entry(work, &list, list)
> + work->func(work, count);
> +...
2020 Mar 18
0
[PATCH 1/9] drm/vblank: Add vblank works
...amp;
+ list_empty(&vblank->vblank_work.irq_list) &&
+ list_empty(&vblank->vblank_work.work_list));
+
+ list_for_each_entry_safe(work, next,
+ &vblank->vblank_work.work_list,
+ list) {
+ list_move_tail(&work->list, &list);
+ work->state = DRM_VBL_WORK_RUNNING;
+ }
+
+ spin_unlock_irq(&vblank->dev->event_lock);
+
+ if (list_empty(&list))
+ continue;
+
+ count = atomic64_read(&vblank->count);
+ list_for_each_entry(work, &list, list)
+ work->func(work, count);
+
+ spin_lock_irq(&vblank->dev->event_lock);...
2020 Mar 27
2
[PATCH 1/9] drm/vblank: Add vblank works
...blank->vblank_work.work_list));
> > > +
> > > + list_for_each_entry_safe(work, next,
> > > + &vblank->vblank_work.work_list,
> > > + list) {
> > > + list_move_tail(&work->list, &list);
> > > + work->state = DRM_VBL_WORK_RUNNING;
> > > + }
> > > +
> > > + spin_unlock_irq(&vblank->dev->event_lock);
> > > +
> > > + if (list_empty(&list))
> > > + continue;
> > > +
> > > + count = atomic64_read(&vblank->count);
> > >...
2020 Mar 27
0
[PATCH 1/9] drm/vblank: Add vblank works
...gt; > + list_empty(&vblank->vblank_work.work_list));
> > +
> > + list_for_each_entry_safe(work, next,
> > + &vblank->vblank_work.work_list,
> > + list) {
> > + list_move_tail(&work->list, &list);
> > + work->state = DRM_VBL_WORK_RUNNING;
> > + }
> > +
> > + spin_unlock_irq(&vblank->dev->event_lock);
> > +
> > + if (list_empty(&list))
> > + continue;
> > +
> > + count = atomic64_read(&vblank->count);
> > + list_for_each_entry(work, &list, list...
2020 Apr 13
0
[PATCH 1/9] drm/vblank: Add vblank works
...gt; +
> > > > + list_for_each_entry_safe(work, next,
> > > > + &vblank-
> > > > >vblank_work.work_list,
> > > > + list) {
> > > > + list_move_tail(&work->list, &list);
> > > > + work->state = DRM_VBL_WORK_RUNNING;
> > > > + }
> > > > +
> > > > + spin_unlock_irq(&vblank->dev->event_lock);
> > > > +
> > > > + if (list_empty(&list))
> > > > + continue;
> > > > +
> > > > + count = atomic64_rea...
2020 Mar 18
12
[PATCH 0/9] 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 that we'll be sending in just a short bit.
This additionally adds a feature that Ville Syrj?l? came up with: vblank
works. Basically, this is just a generic DRM