Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Ddisplay.c532 struct intel_vgpu_vblank_timer *vblank_timer; in vblank_timer_fn() local
535 vblank_timer = container_of(data, struct intel_vgpu_vblank_timer, timer); in vblank_timer_fn()
536 vgpu = container_of(vblank_timer, struct intel_vgpu, vblank_timer); in vblank_timer_fn()
541 hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period); in vblank_timer_fn()
550 struct intel_vgpu_vblank_timer *vblank_timer = &vgpu->vblank_timer; in setup_virtual_dp_monitor() local
578 hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in setup_virtual_dp_monitor()
579 vblank_timer->timer.function = vblank_timer_fn; in setup_virtual_dp_monitor()
580 vblank_timer->vrefresh_k = port->vrefresh_k; in setup_virtual_dp_monitor()
581vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in setup_virtual_dp_monitor()
600 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-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vkms.c48 struct amdgpu_crtc *amdgpu_crtc = container_of(timer, struct amdgpu_crtc, vblank_timer); in amdgpu_vkms_vblank_simulate()
54 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()
102 *vblank_time = READ_ONCE(amdgpu_crtc->vblank_timer.node.expires); in amdgpu_vkms_get_vblank_timestamp()
191 hrtimer_init(&amdgpu_crtc->vblank_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in amdgpu_vkms_crtc_init()
192 amdgpu_crtc->vblank_timer.function = &amdgpu_vkms_vblank_simulate; in amdgpu_vkms_crtc_init()
546 hrtimer_cancel(&adev->mode_info.crtcs[i]->vblank_timer); in amdgpu_vkms_sw_fini()
Damdgpu_mode.h504 struct hrtimer vblank_timer; member