Home
last modified time | relevance | path

Searched refs:framedur_ns (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/
Ddrm_vblank.c286 int framedur_ns = vblank->framedur_ns; in drm_update_vblank_count() local
309 } else if (rc && framedur_ns) { in drm_update_vblank_count()
320 pipe, (long long)diff_ns, framedur_ns); in drm_update_vblank_count()
322 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); in drm_update_vblank_count()
614 int linedur_ns = 0, framedur_ns = 0; in drm_calc_timestamping_constants() local
633 framedur_ns = div_u64((u64) frame_size * 1000000, dotclock); in drm_calc_timestamping_constants()
639 framedur_ns /= 2; in drm_calc_timestamping_constants()
646 vblank->framedur_ns = framedur_ns; in drm_calc_timestamping_constants()
654 crtc->base.id, dotclock, framedur_ns, linedur_ns); in drm_calc_timestamping_constants()
1477 int framedur_ns; in drm_vblank_restore() local
[all …]
/drivers/gpu/drm/vkms/
Dvkms_crtc.c73 out->period_ns = ktime_set(0, vblank->framedur_ns); in vkms_enable_vblank()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vkms.c74 out->period_ns = ktime_set(0, vblank->framedur_ns); in amdgpu_vkms_enable_vblank()