[Bug 110904] [VKMS] vblank counter error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 12 11:10:49 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110904

            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 at lists.freedesktop.org
          Reporter: oleg.vasilev at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190612/29735ccb/attachment.html>


More information about the dri-devel mailing list