<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 - [BXT] igt / kms_setmode some subcases are fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92800">92800</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT] igt / kms_setmode some subcases are fail
          </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>BXT-P
Hardware 
Platform: Broxton P A0 Platform 
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake RVP Fab1
Software 
Linux distribution: Ubuntu 15.04 64 bits 
kernel 4.3.0-rc5 (26f82bd8) from <a href="https://github.com/ideak/linux.git">https://github.com/ideak/linux.git</a> BXT branch
commit 26f82bd872901733b739480e8899a92966ae9292
Author: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
Date:   Tue Oct 20 16:44:03 2015 +0300
drm/i915/bxt: update bxt_defconfig
Enable Kconfig options needed for UART/eMMC.
Signed-off-by: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
BIOS: APLKRVPA.X64.0104.R43.1510080446 
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02
CSE : 3.0.0.1044
KSC : 1.02
One HDMI monitor connected: Samsung ls24c65u

Regression:
------------
No. Tested for the first time

Steps:
-------
1. Execute command:
./kms_setmode

Actual result:
--------------
1. 2 subcases are fail:
invalid-clone-single-crtc
clone-exclusive-crtc

Expected result:
-----------------
1. Tests are Pass

Log from IGT:
--------------
./kms_setmode
IGT-Version: 1.12-NOT-GIT (x86_64) (Linux: 4.3.0-rc5-intel-bxt+ x86_64)
Testing: basic-clone-single-crtc 2 connector combinations
Testing: basic-clone-single-crtc 3 connector combinations
Subtest basic-clone-single-crtc: SUCCESS (0.372s)
Testing: invalid-clone-single-crtc 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34], HDMI-A-1[40]
(NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:428:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 2, No such file or directory
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [test_crtc_config+0x23f]
  #2 [test_one_combination+0x41]
  #3 [test_combinations+0x124]
  #4 [run_test+0x27]
  #5 [main+0x1b7]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest invalid-clone-single-crtc failed.
**** DEBUG ****
Testing: invalid-clone-single-crtc 2 connector combinations
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=13, pitch=7680)
  Test id#1 CRTC count 1
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34], HDMI-A-1[40]
(NC)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=14, pitch=7680)
Test assertion failure function test_crtc_config, file kms_setmode.c:428:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 2, No such file or directory
****  END  ****
Subtest invalid-clone-single-crtc: FAIL (0.244s)
Testing: invalid-clone-exclusive-crtc 2 connector combinations
  Test id#2 CRTC count 2
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
  Test id#3 CRTC count 2
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
  Test id#4 CRTC count 2
    CRTC[26] [Pipe B] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
  Test id#5 CRTC count 2
    CRTC[26] [Pipe B] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
  Test id#6 CRTC count 2
    CRTC[31] [Pipe C] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
  Test id#7 CRTC count 2
    CRTC[31] [Pipe C] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
Testing: invalid-clone-exclusive-crtc 3 connector combinations
  Test id#8 CRTC count 3
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
  Test id#9 CRTC count 3
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
  Test id#10 CRTC count 3
    CRTC[26] [Pipe B] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
  Test id#11 CRTC count 3
    CRTC[26] [Pipe B] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[31] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
  Test id#12 CRTC count 3
    CRTC[31] [Pipe C] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
  Test id#13 CRTC count 3
    CRTC[31] [Pipe C] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[40] (NC)
    CRTC[21] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
Subtest invalid-clone-exclusive-crtc: SUCCESS (3.440s)
Testing: clone-exclusive-crtc 2 connector combinations
  Test id#14 CRTC count 2
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:428:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 22, Invalid argument
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [test_crtc_config+0x23f]
  #2 [test_one_combination+0x41]
  #3 [test_combinations+0x124]
  #4 [run_test+0x27]
  #5 [main+0x1b7]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest clone-exclusive-crtc failed. 
**** DEBUG ****
Testing: clone-exclusive-crtc 2 connector combinations
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=99, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=100, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=101, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=102, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=103, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=104, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=105, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=106, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=107, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=108, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=109, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=110, pitch=2560)
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=111, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=112, pitch=2560)
  Test id#14 CRTC count 2
    CRTC[21] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[34]
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=113, pitch=7680)
    CRTC[26] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[47] (NC)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=114, pitch=2560)
Test assertion failure function test_crtc_config, file kms_setmode.c:428:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 22, Invalid argument
****  END  ****
Subtest clone-exclusive-crtc: FAIL (0.352s)</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>