Home
last modified time | relevance | path

Searched refs:vblank_timer (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Dinterrupt.c647 struct intel_gvt_vblank_timer *vblank_timer; in vblank_timer_fn() local
651 vblank_timer = container_of(data, struct intel_gvt_vblank_timer, timer); in vblank_timer_fn()
652 irq = container_of(vblank_timer, struct intel_gvt_irq, vblank_timer); in vblank_timer_fn()
656 hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period); in vblank_timer_fn()
672 hrtimer_cancel(&irq->vblank_timer.timer); in intel_gvt_clean_irq()
690 struct intel_gvt_vblank_timer *vblank_timer = &irq->vblank_timer; in intel_gvt_init_irq() local
705 hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in intel_gvt_init_irq()
706 vblank_timer->timer.function = vblank_timer_fn; in intel_gvt_init_irq()
707 vblank_timer->period = VBLANK_TIMER_PERIOD; in intel_gvt_init_irq()
Ddisplay.c382 hrtimer_cancel(&irq->vblank_timer.timer); in intel_gvt_check_vblank_emulation()
384 hrtimer_start(&irq->vblank_timer.timer, in intel_gvt_check_vblank_emulation()
385 ktime_add_ns(ktime_get(), irq->vblank_timer.period), in intel_gvt_check_vblank_emulation()
Dinterrupt.h211 struct intel_gvt_vblank_timer vblank_timer; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Ddce_virtual.c687 static enum hrtimer_restart dce_virtual_vblank_timer_handle(struct hrtimer *vblank_timer) in dce_virtual_vblank_timer_handle() argument
689 struct amdgpu_crtc *amdgpu_crtc = container_of(vblank_timer, in dce_virtual_vblank_timer_handle()
690 struct amdgpu_crtc, vblank_timer); in dce_virtual_vblank_timer_handle()
696 hrtimer_start(vblank_timer, DCE_VIRTUAL_VBLANK_PERIOD, in dce_virtual_vblank_timer_handle()
713 hrtimer_init(&adev->mode_info.crtcs[crtc]->vblank_timer, in dce_virtual_set_crtc_vblank_interrupt_state()
715 hrtimer_set_expires(&adev->mode_info.crtcs[crtc]->vblank_timer, in dce_virtual_set_crtc_vblank_interrupt_state()
717 adev->mode_info.crtcs[crtc]->vblank_timer.function = in dce_virtual_set_crtc_vblank_interrupt_state()
719 hrtimer_start(&adev->mode_info.crtcs[crtc]->vblank_timer, in dce_virtual_set_crtc_vblank_interrupt_state()
723 hrtimer_cancel(&adev->mode_info.crtcs[crtc]->vblank_timer); in dce_virtual_set_crtc_vblank_interrupt_state()
Damdgpu_mode.h425 struct hrtimer vblank_timer; member