[Bug 72557] New: [IVB/HSW]igt/gem_ctx_exec/eviction causes system hang with -queued kernel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 9 23:42:54 PST 2013


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

          Priority: medium
            Bug ID: 72557
                CC: intel-gfx-bugs at lists.freedesktop.org
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [IVB/HSW]igt/gem_ctx_exec/eviction causes system hang
                    with -queued kernel
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: huax.lu at intel.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

System Environment:
--------------------------
Arch:             x86_64
Platform:         Ivybridge/Haswell
Kernel:      (drm-intel-next-queued)798183c54799fbe1e5a5bfabb3a8c0505ffd2149

Bug detailed description:
---------------------------
It causes system hang with -queued kernel. It fails on -fixes and -nightly
kernel(bug 72507)

Bisect on -fixes kernel, commit a415d355645ca5e8797235a76026ca2622ceefdb fixed
it.
commit a415d355645ca5e8797235a76026ca2622ceefdb
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Nov 26 11:23:15 2013 +0000

    drm/i915: Pin relocations for the duration of constructing the execbuffer

    As the execbuffer dispatch grows ever more complex and involves multiple
    stages of moving objects into the aperture, we need to take greater care
    that we do not evict our execbuffer objects prior to dispatch. This is
    relatively simple as we can just keep the objects pinned for not just
    the relocation but until we are finished.

    One such example is the possibility of the context switch causing an
    eviction or hitting the shrinker in order to fit its object into the
    aperture.

    Link:
http://lists.freedesktop.org/archives/intel-gfx/2013-November/036166.h         
                                                                               
       tml
    Reported-by: "Siluvery, Arun" <arun.siluvery at intel.com>
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: Ben Widawsky <benjamin.widawsky at intel.com>
    Cc: Daniel Vetter <daniel at ffwll.ch>
    Cc: stable at vger.kernel.org


output:
trying buffer count 521599
trying buffer count 521598
trying buffer count 521597
trying buffer count 521596

Reproduce steps:
-------------------------
1. ./gem_ctx_exec --run-subtest eviction

-- 
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/20131210/04120276/attachment.html>


More information about the intel-gfx-bugs mailing list