Searched refs:vblank_timer (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | interrupt.c | 652 struct intel_gvt_vblank_timer *vblank_timer; in vblank_timer_fn() local 656 vblank_timer = container_of(data, struct intel_gvt_vblank_timer, timer); in vblank_timer_fn() 657 irq = container_of(vblank_timer, struct intel_gvt_irq, vblank_timer); in vblank_timer_fn() 661 hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period); in vblank_timer_fn() 677 hrtimer_cancel(&irq->vblank_timer.timer); in intel_gvt_clean_irq() 695 struct intel_gvt_vblank_timer *vblank_timer = &irq->vblank_timer; in intel_gvt_init_irq() local 710 hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in intel_gvt_init_irq() 711 vblank_timer->timer.function = vblank_timer_fn; in intel_gvt_init_irq() 712 vblank_timer->period = VBLANK_TIMER_PERIOD; in intel_gvt_init_irq()
|
D | interrupt.h | 214 struct intel_gvt_vblank_timer vblank_timer; member
|
D | display.c | 582 hrtimer_cancel(&irq->vblank_timer.timer); in intel_gvt_check_vblank_emulation() 584 hrtimer_start(&irq->vblank_timer.timer, in intel_gvt_check_vblank_emulation() 585 ktime_add_ns(ktime_get(), irq->vblank_timer.period), in intel_gvt_check_vblank_emulation()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_virtual.c | 52 static enum hrtimer_restart dce_virtual_vblank_timer_handle(struct hrtimer *vblank_timer); 255 hrtimer_init(&amdgpu_crtc->vblank_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in dce_virtual_crtc_init() 256 hrtimer_set_expires(&amdgpu_crtc->vblank_timer, DCE_VIRTUAL_VBLANK_PERIOD); in dce_virtual_crtc_init() 257 amdgpu_crtc->vblank_timer.function = dce_virtual_vblank_timer_handle; in dce_virtual_crtc_init() 258 hrtimer_start(&amdgpu_crtc->vblank_timer, in dce_virtual_crtc_init() 489 hrtimer_cancel(&adev->mode_info.crtcs[i]->vblank_timer); in dce_virtual_hw_fini() 705 static enum hrtimer_restart dce_virtual_vblank_timer_handle(struct hrtimer *vblank_timer) in dce_virtual_vblank_timer_handle() argument 707 struct amdgpu_crtc *amdgpu_crtc = container_of(vblank_timer, in dce_virtual_vblank_timer_handle() 708 struct amdgpu_crtc, vblank_timer); in dce_virtual_vblank_timer_handle() 720 hrtimer_start(vblank_timer, DCE_VIRTUAL_VBLANK_PERIOD, in dce_virtual_vblank_timer_handle()
|
D | amdgpu_mode.h | 427 struct hrtimer vblank_timer; member
|