search for: drm_vbl_work_waiting

Displaying 6 results from an estimated 6 matches for "drm_vbl_work_waiting".

2020 Mar 18
4
[PATCH 1/9] drm/vblank: Add vblank works
..._safe(work, next, &list, list) { > + if (work->reschedule) { > + list_move_tail(&work->list, > + &vblank->vblank_work.irq_list); > + drm_vblank_get(vblank->dev, vblank->pipe); > + work->reschedule = false; > + work->state = DRM_VBL_WORK_WAITING; > + } else { > + list_del_init(&work->list); > + work->cancel = false; > + work->state = DRM_VBL_WORK_IDLE; > + } > + } > + > + spin_unlock_irq(&vblank->dev->event_lock); > + > + wake_up_all(&vblank->vblank_work.work_wait)...
2020 Mar 18
0
[PATCH 1/9] drm/vblank: Add vblank works
...ock); + + list_for_each_entry_safe(work, next, &list, list) { + if (work->reschedule) { + list_move_tail(&work->list, + &vblank->vblank_work.irq_list); + drm_vblank_get(vblank->dev, vblank->pipe); + work->reschedule = false; + work->state = DRM_VBL_WORK_WAITING; + } else { + list_del_init(&work->list); + work->cancel = false; + work->state = DRM_VBL_WORK_IDLE; + } + } + + spin_unlock_irq(&vblank->dev->event_lock); + + wake_up_all(&vblank->vblank_work.work_wait); + } + + return 0; +} + +static void vblank_work_...
2020 Mar 27
2
[PATCH 1/9] drm/vblank: Add vblank works
...work->reschedule) { > > > + list_move_tail(&work->list, > > > + &vblank->vblank_work.irq_list); > > > + drm_vblank_get(vblank->dev, vblank->pipe); > > > + work->reschedule = false; > > > + work->state = DRM_VBL_WORK_WAITING; > > > + } else { > > > + list_del_init(&work->list); > > > + work->cancel = false; > > > + work->state = DRM_VBL_WORK_IDLE; > > > + } > > > + } > > > + > > > + spin_unlock_irq(&vblank->dev-&g...
2020 Mar 27
0
[PATCH 1/9] drm/vblank: Add vblank works
...ist) { > > + if (work->reschedule) { > > + list_move_tail(&work->list, > > + &vblank->vblank_work.irq_list); > > + drm_vblank_get(vblank->dev, vblank->pipe); > > + work->reschedule = false; > > + work->state = DRM_VBL_WORK_WAITING; > > + } else { > > + list_del_init(&work->list); > > + work->cancel = false; > > + work->state = DRM_VBL_WORK_IDLE; > > + } > > + } > > + > > + spin_unlock_irq(&vblank->dev->event_lock); > > + > > +...
2020 Apr 13
0
[PATCH 1/9] drm/vblank: Add vblank works
...;work->list, > > > > + &vblank- > > > > >vblank_work.irq_list); > > > > + drm_vblank_get(vblank->dev, vblank- > > > > >pipe); > > > > + work->reschedule = false; > > > > + work->state = DRM_VBL_WORK_WAITING; > > > > + } else { > > > > + list_del_init(&work->list); > > > > + work->cancel = false; > > > > + work->state = DRM_VBL_WORK_IDLE; > > > > + } > > > > + } > > > > + > > > > +...
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