[Bug 94515] xorg-server 1.18.2 freeze desktop on i915

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 24 16:49:10 UTC 2016


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

--- Comment #41 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Joakim Tjernlund from comment #39)
> +if (warn_unless(msc - swap->msc < 1ull<<32))
> Should that be <= ?

No. if msc was current + 1<<32 (swap->msc should be the current msc give or
take a vblank occurring between the start of PresentPixmap and the end of the
function), then (uint32_t)msc == swap->msc and the scheduled event returns
instantly. We then see that that the target msc hasn't occurred and requeue the
event, which fires instantly again. And we get trapped into the loop.

> or possibly just cap the time to 1<<32 ?

Possibly, but given the choice of reporting "I can't support this value" and
faking it, we should punt that decision up. It saves having to make a policy
decision in the driver.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160324/a9c8beea/attachment.html>


More information about the intel-gfx-bugs mailing list