Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Ddisplay.c525 struct intel_vgpu_vblank_timer *vblank_timer; in vblank_timer_fn() local
528 vblank_timer = container_of(data, struct intel_vgpu_vblank_timer, timer); in vblank_timer_fn()
529 vgpu = container_of(vblank_timer, struct intel_vgpu, vblank_timer); in vblank_timer_fn()
534 hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period); in vblank_timer_fn()
543 struct intel_vgpu_vblank_timer *vblank_timer = &vgpu->vblank_timer; in setup_virtual_dp_monitor() local
571 hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in setup_virtual_dp_monitor()
572 vblank_timer->timer.function = vblank_timer_fn; in setup_virtual_dp_monitor()
573 vblank_timer->vrefresh_k = port->vrefresh_k; in setup_virtual_dp_monitor()
574vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in setup_virtual_dp_monitor()
593 struct intel_vgpu_vblank_timer *vblank_timer = &vgpu->vblank_timer; in vgpu_update_vblank_emulation() local
[all …]
Dgvt.h218 struct intel_vgpu_vblank_timer vblank_timer; member
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vkms.c46 struct amdgpu_crtc *amdgpu_crtc = container_of(timer, struct amdgpu_crtc, vblank_timer); in amdgpu_vkms_vblank_simulate()
52 ret_overrun = hrtimer_forward_now(&amdgpu_crtc->vblank_timer, in amdgpu_vkms_vblank_simulate()
76 hrtimer_start(&amdgpu_crtc->vblank_timer, out->period_ns, HRTIMER_MODE_REL); in amdgpu_vkms_enable_vblank()
85 hrtimer_try_to_cancel(&amdgpu_crtc->vblank_timer); in amdgpu_vkms_disable_vblank()
104 *vblank_time = READ_ONCE(amdgpu_crtc->vblank_timer.node.expires); in amdgpu_vkms_get_vblank_timestamp()
193 hrtimer_init(&amdgpu_crtc->vblank_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in amdgpu_vkms_crtc_init()
194 amdgpu_crtc->vblank_timer.function = &amdgpu_vkms_vblank_simulate; in amdgpu_vkms_crtc_init()
532 hrtimer_cancel(&adev->mode_info.crtcs[i]->vblank_timer); in amdgpu_vkms_sw_fini()
Damdgpu_mode.h414 struct hrtimer vblank_timer; member