<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [PNV]igt/kms_flip_tiling/flip-changes-tiling tests timeout"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82280#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [PNV]igt/kms_flip_tiling/flip-changes-tiling tests timeout"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82280">bug 82280</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>I think it should be as simple as:

diff --git a/tests/kms_flip_tiling.c b/tests/kms_flip_tiling.c
index 1f2caac..9c2f7fe 100644
--- a/tests/kms_flip_tiling.c
+++ b/tests/kms_flip_tiling.c
@@ -67,9 +67,9 @@ test_flip_changes_tiling(data_t *data, igt_output_t *output)
        igt_crc_t reference_crc, crc;
        int fb_id, pipe, ret, width;

-       pipe = 0;
+       pipe = output->config.pipe;
        pipe_crc = igt_pipe_crc_new(pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
-       igt_output_set_pipe(output, 0);
+       igt_output_set_pipe(output, pipe);

but now the pipe crc fails to open.</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>
      </ul>
    </body>
</html>