Bug 110904 - [VKMS] vblank counter error
Summary: [VKMS] vblank counter error
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-12 11:10 UTC by Oleg Vasilev
Modified: 2019-06-13 09:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Oleg Vasilev 2019-06-12 11:10:49 UTC
VKMS uses vblank simulation through hrtimer.

Updates to vblank counter in DRM are performed through drm_update_vblank_count, where the elapsed time in ns divided by vblank period.

VKMS vblank timestamp computation approach results in negative elapsed time, which leads to trash u64 division result.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.