From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110904] [VKMS] vblank counter error Date: Wed, 12 Jun 2019 11:10:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0298175901==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E07F89221 for ; Wed, 12 Jun 2019 11:10:50 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0298175901== Content-Type: multipart/alternative; boundary="15603378490.d5fF80aC.5296" Content-Transfer-Encoding: 7bit --15603378490.d5fF80aC.5296 Date: Wed, 12 Jun 2019 11:10:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110904 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_co= unt, 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15603378490.d5fF80aC.5296 Date: Wed, 12 Jun 2019 11:10:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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_co=
unt,
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.
= --15603378490.d5fF80aC.5296-- --===============0298175901== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0298175901==--