| Bug ID | 110904 |
|---|---|
| Summary | [VKMS] vblank counter error |
| Product | DRI |
| Version | DRI git |
| Hardware | Other |
| OS | Linux (All) |
| Status | NEW |
| Severity | normal |
| Priority | medium |
| Component | DRM/other |
| Assignee | dri-devel@lists.freedesktop.org |
| Reporter | oleg.vasilev@intel.com |
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.