Home
last modified time | relevance | path

Searched refs:vblank_time (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/vkms/
H A Dvkms_crtc.c85 int *max_error, ktime_t *vblank_time, in vkms_get_vblank_timestamp() argument
94 *vblank_time = ktime_get(); in vkms_get_vblank_timestamp()
98 *vblank_time = READ_ONCE(output->vblank_hrtimer.node.expires); in vkms_get_vblank_timestamp()
100 if (WARN_ON(*vblank_time == vblank->time)) in vkms_get_vblank_timestamp()
110 *vblank_time -= output->period_ns; in vkms_get_vblank_timestamp()
/linux/include/drm/
H A Ddrm_vblank.h307 ktime_t *vblank_time,
312 ktime_t *vblank_time,
H A Ddrm_crtc.h922 ktime_t *vblank_time,
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_vkms.c245 ktime_t *vblank_time, in vmw_vkms_get_vblank_timestamp() argument
258 *vblank_time = ktime_get(); in vmw_vkms_get_vblank_timestamp()
262 *vblank_time = READ_ONCE(du->vkms.timer.node.expires); in vmw_vkms_get_vblank_timestamp()
264 if (WARN_ON(*vblank_time == vblank->time)) in vmw_vkms_get_vblank_timestamp()
274 *vblank_time -= du->vkms.period_ns; in vmw_vkms_get_vblank_timestamp()
H A Dvmwgfx_vkms.h50 ktime_t *vblank_time,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vkms.c90 ktime_t *vblank_time, in amdgpu_vkms_get_vblank_timestamp() argument
98 *vblank_time = ktime_get(); in amdgpu_vkms_get_vblank_timestamp()
102 *vblank_time = READ_ONCE(amdgpu_crtc->vblank_timer.node.expires); in amdgpu_vkms_get_vblank_timestamp()
104 if (WARN_ON(*vblank_time == vblank->time)) in amdgpu_vkms_get_vblank_timestamp()
114 *vblank_time -= output->period_ns; in amdgpu_vkms_get_vblank_timestamp()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_vblank.h37 ktime_t *vblank_time, bool in_vblank_irq);
H A Dintel_vblank.c451 ktime_t *vblank_time, bool in_vblank_irq) in intel_crtc_get_vblank_timestamp() argument
454 crtc, max_error, vblank_time, in_vblank_irq, in intel_crtc_get_vblank_timestamp()
/linux/drivers/gpu/drm/
H A Ddrm_vblank.c694 struct drm_crtc *crtc, int *max_error, ktime_t *vblank_time, in drm_crtc_vblank_helper_get_vblank_timestamp_internal() argument
787 *vblank_time = ktime_sub_ns(etime, delta_ns); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
793 ts_vblank_time = ktime_to_timespec64(*vblank_time); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
838 ktime_t *vblank_time, in drm_crtc_vblank_helper_get_vblank_timestamp() argument
842 crtc, max_error, vblank_time, in_vblank_irq, in drm_crtc_vblank_helper_get_vblank_timestamp()
/linux/drivers/gpu/drm/radeon/
H A Dbtc_dpm.c2055 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in btc_dpm_vblank_too_short() local
2058 if (vblank_time < switch_limit) in btc_dpm_vblank_too_short()
H A Dci_dpm.c749 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in ci_dpm_vblank_too_short() local
758 if (vblank_time < switch_limit) in ci_dpm_vblank_too_short()
1950 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in ci_program_display_gap() local
1961 if (vblank_time == 0xffffffff) in ci_program_display_gap()
1962 vblank_time = 500; in ci_program_display_gap()
1965 frame_time_in_us - 200 - vblank_time; in ci_program_display_gap()
H A Dcypress_dpm.c2159 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in cypress_dpm_vblank_too_short() local
2163 if (vblank_time < switch_limit) in cypress_dpm_vblank_too_short()
H A Drv770_dpm.c2574 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in rv770_dpm_vblank_too_short() local
2583 if (vblank_time < switch_limit) in rv770_dpm_vblank_too_short()
H A Dni_dpm.c774 u32 vblank_time = r600_dpm_get_vblank_time(rdev); in ni_dpm_vblank_too_short() local
778 if (vblank_time < switch_limit) in ni_dpm_vblank_too_short()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3065 u32 vblank_time = amdgpu_dpm_get_vblank_time(adev); in si_dpm_vblank_too_short() local
3069 if (vblank_time < switch_limit) in si_dpm_vblank_too_short()