<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BSW/BXT] igt / gem_softpin / noreloc-s4 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94698#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BSW/BXT] igt / gem_softpin / noreloc-s4 fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94698">bug 94698</a>
              from <span class="vcard"><a class="email" href="mailto:christophe.prigent@intel.com" title="cprigent <christophe.prigent@intel.com>"> <span class="fn">cprigent</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=124932" name="attach_124932" title="apl-gem_softpin-kern.log">attachment 124932</a> <a href="attachment.cgi?id=124932&action=edit" title="apl-gem_softpin-kern.log">[details]</a></span>
apl-gem_softpin-kern.log

Test is fail on APL with GPU hang.
Attached kern.log and /sys/class/drm/card0/error.

# ./gem_softpin --r noreloc-S4
IGT-Version: 1.15-g88c1f7c (x86_64) (Linux: 4.7.0-rc5-nightly+ x86_64)
rtcwake: wakeup from "disk" using /dev/rtc0 at Wed Jul  6 14:34:06 2016
(gem_softpin:1615) CRITICAL: Test assertion failure function test_noreloc, file
gem_softpin.c:466:
(gem_softpin:1615) CRITICAL: Failed assertion: val == (object[i].offset -
offset)/size
(gem_softpin:1615) CRITICAL: error: 217 != 21
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [test_noreloc+0x365]
  #2 [__real_main474+0x7e1]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest noreloc-S4 failed.
**** DEBUG ****
(gem_softpin:1615) DEBUG: Made a 257x4 KiB hole: ffefd000
(gem_softpin:1615) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_softpin:1615) igt-aux-DEBUG: Test requirement passed: system("rtcwake -n
-s 30 -m disk" SQUELCH) == 0
(gem_softpin:1615) CRITICAL: Test assertion failure function test_noreloc, file
gem_softpin.c:466:
(gem_softpin:1615) CRITICAL: Failed assertion: val == (object[i].offset -
offset)/size
(gem_softpin:1615) CRITICAL: error: 217 != 21
****  END  ****
Subtest noreloc-S4: FAIL (15.105s)

Platform: APL system
CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12,
stepping: 9) 4 cores
QDF : Q6HE
SoC : B1
CRB : Apollo Lake DDR3L RVP1A FAB2
Reworks : R19, R20

Software 
Bios: 144_B10 APLK_B0_IFWI_X64_R_2016_06_27_0956_SPI_RVP1.bin from
\\gar\ec\proj\ba\CCG\APL
BIOS\External\BIOS_Release\Daily\v144_10_2016_WW27.1\IFWI\IFWI_RVP1_Release\IFWI
KSC: 1.15
Linux distribution: Ubuntu 16.04 64 bits
Kernel: drm-intel-nightly 4.7.0-rc5 2fe5da8 from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
               commit 2fe5da8adcbe5a34830b98c63878eea756e977a2
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Sat Jul 2 19:32:50 2016 +0100
drm-intel-nightly: 2016y-07m-02d-18h-31m-39s UTC integration manifest
drm: libdrm-2.4.68-11 7996a87 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
server: xorg-server-1.18.0-443 3762edd from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-674 9154dff from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-53 bcde10d from
git://git.freedesktop.org/git/vaapi/intel-driver
GuC 8.7
DMC 1.07 from <a href="https://01.org/linuxgraphics/downloads/broxton-dmc-1.07">https://01.org/linuxgraphics/downloads/broxton-dmc-1.07</a>
Intel-Gpu-Tools 1.15-87 376b813 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>