[Bug 85888] [Bisected] stuck pageflip

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 17 06:44:46 PST 2014


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

--- Comment #24 from Chris Wilson <chris at chris-wilson.co.uk> ---
On second thoughts:

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 70a75136bc61..0c43d970dbf9 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9707,8 +9707,8 @@ static bool __intel_pageflip_stall_check(struct
drm_device *dev,
        struct intel_unpin_work *work = intel_crtc->unpin_work;
        u32 addr;

-       if (atomic_read(&work->pending) >= INTEL_FLIP_COMPLETE)
-               return true;
+       if (atomic_read(&work->pending) < INTEL_FLIP_COMPLETE)
+               return false;

        if (!work->enable_stall_check)
                return false;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141217/a1b9750e/attachment.html>


More information about the intel-gfx-bugs mailing list