<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 - [BSW] igt / kms_setmode / invalid-clone-single-crtc-stealing fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94702">94702</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BSW] igt / kms_setmode / invalid-clone-single-crtc-stealing fails
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>christophe.prigent@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=122562" name="attach_122562" title="BSW-kms_setmode-invalid-clone-single-crtc-stealing-kern.log">attachment 122562</a> <a href="attachment.cgi?id=122562&action=edit" title="BSW-kms_setmode-invalid-clone-single-crtc-stealing-kern.log">[details]</a></span>
BSW-kms_setmode-invalid-clone-single-crtc-stealing-kern.log

Hardware: 
Motherboard: Aspire XC-704 
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz 
cpu model : 76 
cpu family : 6 
Graphic card: Device 22b1 (rev 21)

Software:
Bios: R01-A2
kernel nightly 4.5 10e913a  from
<a href="https://cgit.freedesktop.org/cgit/?url=drm-intel/">https://cgit.freedesktop.org/cgit/?url=drm-intel/</a>
  commit 10e913a48ca36790da9b58bed8729598ea79ebdb
  Author: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
  Date:   Thu Mar 17 15:23:17 2016 +0200
  drm-intel-nightly: 2016y-03m-17d-13h-22m-41s UTC integration manifest
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
libdrm-2.4.67-7 49041c3 from git://anongit.freedesktop.org/mesa/drm
IGT 1.14 8f6ed9e 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>

Steps:
------
1. Execute IGT test: 
kms_setmode@invalid-clone-single-crtc-stealing

Actual result:
--------------
Test is fail

Expected result:
----------------
Test is pass

Output:
--------
./kms_setmode --run-subtest invalid-clone-single-crtc-stealing
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64)
Testing: invalid-clone-single-crtc-stealing 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[26] [Pipe A] Mode: 1920x1080@60Hz Connectors: HDMI-A-1[40],
HDMI-A-2[47] (NC)
  Test id#2 CRTC count 1
    CRTC[31] [Pipe B] Mode: 1920x1080@60Hz Connectors: HDMI-A-1[40],
HDMI-A-2[47] (NC)
  Test id#3 CRTC count 1
    CRTC[36] [Pipe C] Mode: 1920x1080@60Hz Connectors: HDMI-A-1[40],
HDMI-A-2[47] (NC)
(kms_setmode:1594) CRITICAL: Test assertion failure function test_stealing,
file kms_setmode.c:398:
(kms_setmode:1594) CRITICAL: Failed assertion: ret == 0
(kms_setmode:1594) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:1594) CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [test_combinations+0x12fd]
  #2 [main+0x18f]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-clone-single-crtc-stealing failed.
**** DEBUG ****
(kms_setmode:1594) INFO: Testing: invalid-clone-single-crtc-stealing 2
connector combinations
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1,
pitch=7680)
(kms_setmode:1594) INFO:   Test id#1 CRTC count 1
(kms_setmode:1594) INFO:     CRTC[26] [Pipe A] Mode: 1920x1080@60Hz Connectors:
HDMI-A-1[40], HDMI-A-2[47] (NC)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2,
pitch=7680)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3,
pitch=7680)
(kms_setmode:1594) INFO:   Test id#2 CRTC count 1
(kms_setmode:1594) INFO:     CRTC[31] [Pipe B] Mode: 1920x1080@60Hz Connectors:
HDMI-A-1[40], HDMI-A-2[47] (NC)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4,
pitch=7680)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=5,
pitch=7680)
(kms_setmode:1594) INFO:   Test id#3 CRTC count 1
(kms_setmode:1594) INFO:     CRTC[36] [Pipe C] Mode: 1920x1080@60Hz Connectors:
HDMI-A-1[40], HDMI-A-2[47] (NC)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_setmode:1594) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6,
pitch=7680)
(kms_setmode:1594) CRITICAL: Test assertion failure function test_stealing,
file kms_setmode.c:398:
(kms_setmode:1594) CRITICAL: Failed assertion: ret == 0
(kms_setmode:1594) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:1594) CRITICAL: error: -22 != 0
****  END  ****
Subtest invalid-clone-single-crtc-stealing: FAIL (1.794s)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>