<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW] kms_pipe_crc_basic read-crc-pipe-X-frame-sequence fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91578#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW] kms_pipe_crc_basic read-crc-pipe-X-frame-sequence fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91578">bug 91578</a>
              from <span class="vcard"><a class="email" href="mailto:mika.kahola@intel.com" title="Mika Kahola <mika.kahola@intel.com>"> <span class="fn">Mika Kahola</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=118343" name="attach_118343" title="Use only one color to run test kms_pipe_crc_basic">attachment 118343</a> <a href="attachment.cgi?id=118343&action=edit" title="Use only one color to run test kms_pipe_crc_basic">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=91578&attachment=118343'>[review]</a>
Use only one color to run test kms_pipe_crc_basic

I took a step backwards and removed the second color from the test. I can't
recall what was the reason why second color was added to the test. Maybe
someone remembers why this second color was needed? 

I tested with the following sequence that seems to work for me
- unplug VGA
- unplug DP
- unplug DVI
- plug VGA back
- plug DP back
- plug DVI back

run 'kms_pipe_crc_basic --r read-crc-pipe-A-frame-sequence --debug'

The output of the test was the following

IGT-Version: 1.12-gcefd45a (x86_64) (Linux:
4.2.0-rc8-2015-09-16-11.28-drm-intel x86_64)
(kms_pipe_crc_basic:2603) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
Test requirement passed: fd >= 0
Test requirement passed: fd >= 0
Test requirement passed: drmSetMaster(fd) == 0
Test requirement passed: fd >= 0
VT: graphics mode set (mode was 0x0)
Test requirement passed: ctl
Test requirement passed: (written == strlen(cmd) && ret == 0) || errno !=
ENODEV
display: init {
display:     VGA-1: Selecting pipe A
display:     HDMI-A-1: Selecting pipe B
display:     DP-1: Selecting pipe C
display: }
Starting subtest: read-crc-pipe-A-frame-sequence
Test requirement passed: !(pipe >= data->display.n_pipes)
read-crc-pipe-A-frame-sequence: Testing connector VGA-1 using pipe A
display: VGA-1: set_pipe(A)
Clearing the fb with color (0.00,1.00,0.00)
igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
display: A.0: plane_set_fb(91)
display: commit {
display:     VGA-1: Selecting pipe A
display:     HDMI-A-1: Selecting pipe B
display:     DP-1: Selecting pipe C
display:     VGA-1: SetCrtc pipe A, fb 91, panning (0, 0), mode 1920x1200
display: }
CRC for this fb: 92b15e48 00000000 00000000 00000000 00000000
display: A.0: plane_set_fb(0)
display: VGA-1: set_pipe(any)
read-crc-pipe-A-frame-sequence: Testing connector HDMI-A-1 using pipe A
display: HDMI-A-1: set_pipe(A)
Clearing the fb with color (0.00,1.00,0.00)
igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
display: A.0: plane_set_fb(47)
display: commit {
display:     HDMI-A-1: Selecting pipe A
display:     VGA-1: Selecting pipe B
display:     DP-1: Selecting pipe C
display:     HDMI-A-1: SetCrtc pipe A, fb 47, panning (0, 0), mode 1920x1200
display: }
CRC for this fb: 92b15e48 00000000 00000000 00000000 00000000
display: A.0: plane_set_fb(0)
display: HDMI-A-1: set_pipe(any)
read-crc-pipe-A-frame-sequence: Testing connector DP-1 using pipe A
display: DP-1: set_pipe(A)
Clearing the fb with color (0.00,1.00,0.00)
igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
display: A.0: plane_set_fb(47)
display: commit {
display:     DP-1: Selecting pipe A
display:     VGA-1: Selecting pipe B
display:     HDMI-A-1: Selecting pipe C
display:     DP-1: SetCrtc pipe A, fb 47, panning (0, 0), mode 1920x1200
display: }
CRC for this fb: 92b15e48 00000000 00000000 00000000 00000000
display: A.0: plane_set_fb(0)
display: DP-1: set_pipe(any)
Test requirement passed: valid_connectors
Subtest read-crc-pipe-A-frame-sequence: SUCCESS (0.648s)
Exiting with status code 0
VT: original mode 0x0 restored</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>