diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-23 11:27:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-23 16:52:05 +0100 |
commit | 1b17be55af26e05784b923eab0d91532c8c06a6a (patch) | |
tree | 57cae957ac521bbdff6552f4edd858faae3e572c /tests | |
parent | 76541f49100ef66df19a07fed726ffc56fd18e70 (diff) |
lib/kms: Force connector probing on first use
In order for igt to run completely standalone, it must coldplug
connectors on first use by forcing the probe.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_fbc_crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_fbc_crc.c b/tests/kms_fbc_crc.c index 02e95e5d..2a2c93f7 100644 --- a/tests/kms_fbc_crc.c +++ b/tests/kms_fbc_crc.c @@ -470,7 +470,7 @@ static void reset_display(data_t *data) igt_display_t *display = &data->display; for_each_connected_output(display, data->output) { - if (data->output->valid) { + if (data->output->valid > 0) { data->primary = igt_output_get_plane(data->output, IGT_PLANE_PRIMARY); igt_plane_set_fb(data->primary, NULL); } |