<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW 3.19.2]igt/gem_mmap_wc/invalid-flags fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89739">89739</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[HSW 3.19.2]igt/gem_mmap_wc/invalid-flags fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=114571" name="attach_114571" title="dmesg">attachment 114571</a> <a href="attachment.cgi?id=114571&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: not sure
It fails on 3.19.2 and 3.18.0, works well on the latest -fixes kernel and
-nightly kernel.

Non-working platforms: HSW

==kernel==
--------------------------
commit 660613d1a4e94144490850b6c3d350331860fac4
Author: Greg Kroah-Hartman <<a href="mailto:gregkh@linuxfoundation.org">gregkh@linuxfoundation.org</a>>
Date:   Wed Mar 18 14:11:52 2015 +0100

    Linux 3.19.2

==Bug detailed description==
-----------------------------
It fails on 3.19.2 and 3.18.0 kernel, works well on the latest -fixes kernel
and -nightly kernel.
Following cases also fails:
gem_mmap_wc/read-write
gem_mmap_wc/write-read

output:
IGT-Version: 1.10-ge7d26df (x86_64) (Linux: 3.19.2_v3.19.2+ x86_64)
Test assertion failure function test_invalid_flags, file gem_mmap_wc.c:107:
Failed assertion: drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) <<
(0+8)) | (((0x40 + 0x06)) << 0) | ((((sizeof(drm_i915_getparam_t)))) <<
((0+8)+8)))), (&gp)) == 0
Last errno: 22, Invalid argument
Subtest invalid-flags failed.
**** DEBUG ****
Test assertion failure function test_invalid_flags, file gem_mmap_wc.c:107:
Failed assertion: drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) <<
(0+8)) | (((0x40 + 0x06)) << 0) | ((((sizeof(drm_i915_getparam_t)))) <<
((0+8)+8)))), (&gp)) == 0
Last errno: 22, Invalid argument
****  END  ****
Subtest invalid-flags: FAIL (0.000s)

Reproduce steps:
-------------------------
1. ./gem_mmap_wc --run-subtest invalid-flags</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>