Searched refs:max_error (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_irq.c725 * @max_error: Desired maximum allowable error in timestamps (nanosecs)
768 int *max_error, drm_calc_vbltimestamp_from_scanoutpos()
801 * if single query takes longer than max_error nanoseconds. drm_calc_vbltimestamp_from_scanoutpos()
826 /* Accept result with < max_error nsecs timing uncertainty. */ drm_calc_vbltimestamp_from_scanoutpos()
827 if (duration_ns <= *max_error) drm_calc_vbltimestamp_from_scanoutpos()
834 pipe, duration_ns/1000, *max_error/1000, i); drm_calc_vbltimestamp_from_scanoutpos()
838 *max_error = duration_ns; drm_calc_vbltimestamp_from_scanoutpos()
914 int max_error = (int) drm_timestamp_precision * 1000; drm_get_last_vbltimestamp() local
917 if (dev->driver->get_vblank_timestamp && (max_error > 0)) { drm_get_last_vbltimestamp()
918 ret = dev->driver->get_vblank_timestamp(dev, pipe, &max_error, drm_get_last_vbltimestamp()
766 drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, unsigned int pipe, int *max_error, struct timeval *vblank_time, unsigned flags, const struct drm_display_mode *mode) drm_calc_vbltimestamp_from_scanoutpos() argument
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_kms.c707 * @max_error: max error
716 int *max_error, amdgpu_get_vblank_timestamp_kms()
732 return drm_calc_vbltimestamp_from_scanoutpos(dev, pipe, max_error, amdgpu_get_vblank_timestamp_kms()
715 amdgpu_get_vblank_timestamp_kms(struct drm_device *dev, unsigned int pipe, int *max_error, struct timeval *vblank_time, unsigned flags) amdgpu_get_vblank_timestamp_kms() argument
H A Damdgpu.h2358 int *max_error, amdgpu_unregister_atpx_handler()
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c154 int *max_error, struct timeval *time, unsigned flags) nouveau_display_vblstamp()
161 pipe, max_error, time, flags, nouveau_display_vblstamp()
153 nouveau_display_vblstamp(struct drm_device *dev, unsigned int pipe, int *max_error, struct timeval *time, unsigned flags) nouveau_display_vblstamp() argument
/linux-4.4.14/include/drm/
H A DdrmP.h535 * \param *max_error Maximum allowable timestamp error in nanoseconds.
537 * with an error of at most *max_error nanoseconds.
551 int *max_error,
977 unsigned int pipe, int *max_error,
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_kms.c872 * @max_error: max error
881 int *max_error, radeon_get_vblank_timestamp_kms()
899 return drm_calc_vbltimestamp_from_scanoutpos(dev, crtc, max_error, radeon_get_vblank_timestamp_kms()
880 radeon_get_vblank_timestamp_kms(struct drm_device *dev, int crtc, int *max_error, struct timeval *vblank_time, unsigned flags) radeon_get_vblank_timestamp_kms() argument
H A Dradeon_drv.c112 int *max_error,
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_irq.c911 int *max_error, i915_get_vblank_timestamp()
935 return drm_calc_vbltimestamp_from_scanoutpos(dev, pipe, max_error, i915_get_vblank_timestamp()
910 i915_get_vblank_timestamp(struct drm_device *dev, unsigned int pipe, int *max_error, struct timeval *vblank_time, unsigned flags) i915_get_vblank_timestamp() argument

Completed in 965 milliseconds