mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
igt/kms_flip_tiling: Use the associated pipe for the output
This stops us from using an illegal pipe, such as pipe 0 for LVDS on PNV. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82280 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b76f1d8b03
commit
be6bb4ce4a
@ -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);
|
||||
|
||||
mode = igt_output_get_mode(output);
|
||||
primary = igt_output_get_plane(output, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user