Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddisplay.c522 struct intel_vgpu_vblank_timer *vblank_timer; in vblank_timer_fn() local
525 vblank_timer = container_of(data, struct intel_vgpu_vblank_timer, timer); in vblank_timer_fn()
526 vgpu = container_of(vblank_timer, struct intel_vgpu, vblank_timer); in vblank_timer_fn()
531 hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period); in vblank_timer_fn()
540 struct intel_vgpu_vblank_timer *vblank_timer = &vgpu->vblank_timer; in setup_virtual_dp_monitor() local
568 hrtimer_init(&vblank_timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in setup_virtual_dp_monitor()
569 vblank_timer->timer.function = vblank_timer_fn; in setup_virtual_dp_monitor()
570 vblank_timer->vrefresh_k = port->vrefresh_k; in setup_virtual_dp_monitor()
571vblank_timer->period = DIV64_U64_ROUND_CLOSEST(NSEC_PER_SEC * MSEC_PER_SEC, vblank_timer->vrefresh… in setup_virtual_dp_monitor()
590 struct intel_vgpu_vblank_timer *vblank_timer = &vgpu->vblank_timer; in vgpu_update_vblank_emulation() local
[all …]
Dgvt.h212 struct intel_vgpu_vblank_timer vblank_timer; member
/linux-6.1.9/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()
75 hrtimer_start(&amdgpu_crtc->vblank_timer, out->period_ns, HRTIMER_MODE_REL); in amdgpu_vkms_enable_vblank()
84 hrtimer_cancel(&amdgpu_crtc->vblank_timer); in amdgpu_vkms_disable_vblank()
103 *vblank_time = READ_ONCE(amdgpu_crtc->vblank_timer.node.expires); in amdgpu_vkms_get_vblank_timestamp()
192 hrtimer_init(&amdgpu_crtc->vblank_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in amdgpu_vkms_crtc_init()
193 amdgpu_crtc->vblank_timer.function = &amdgpu_vkms_vblank_simulate; in amdgpu_vkms_crtc_init()
529 hrtimer_cancel(&adev->mode_info.crtcs[i]->vblank_timer); in amdgpu_vkms_sw_fini()
Damdgpu_mode.h416 struct hrtimer vblank_timer; member