[Bug 72274] drm/i195: Potential dangling pointer on context switch

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 3 11:13:41 PST 2013


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

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
Fixed (made irrelevant) by

commit 112522f6789581824903f6f72082b5b841a7f0f9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu May 2 16:48:07 2013 +0300

    drm/i915: put context upon switching

    In order to be notified of when the context and all of its associated
    objects is idle (for if the context maps to a ppgtt) we need a callback
    from the retire handler. We can arrange this by using the kref_get/put
    of the context for request tracking and by inserting a request to
    demarque the switch away from the old context.

    [Ben: fixed minor error to patch compile, AND s/last_context/from/]
    Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

-- 
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/20131203/b62c09c3/attachment.html>


More information about the intel-gfx-bugs mailing list