[Bug 102242] [CI] assert(level < 128) failed for igt at pm_rpm@sysfs-read

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 6 18:07:18 UTC 2017


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

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

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

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit e56ab79711b3fb248bf165d1601acd25a2b7529d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Aug 22 13:47:33 2017 +0100

    igt/pm_rpm: Use libc 'ftw' rather than opencoding our own filetree walk

    By using ftw, we avoid the issue of having to handle directory recursion
    ourselves and can focus on the test of checking the reading a
    sysfs/debugfs does not break runtime suspend. In the process, disregard
    errors when opening the individual files as they may fail for other
    reasons.

    v2: Bracket the file open/close with the wait_for_suspended() tests.
    Whilst the fd is open, it may be keeping the device awake, e.g.
    i915_forcewake_user.

    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Tested-by: Jari Tahvanainen <jari.tahvanainen at intel.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170906/e217d443/attachment.html>


More information about the intel-gfx-bugs mailing list