Skip to contentSkip to conversation

vblank counter error

Bug 110904 [email protected] 1 participant 2 messages Jun 12, 2019 – Jun 13, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Oleg Vasilev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Oleg Vasilev <[email protected]> --- Fixed by https://patchwork.freedesktop.org/patch/308881/?series=61703&rev=1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel