summaryrefslogtreecommitdiff
path: root/lib/igt_kms.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-08-23 11:27:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-08-23 16:52:05 +0100
commit1b17be55af26e05784b923eab0d91532c8c06a6a (patch)
tree57cae957ac521bbdff6552f4edd858faae3e572c /lib/igt_kms.h
parent76541f49100ef66df19a07fed726ffc56fd18e70 (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 'lib/igt_kms.h')
-rw-r--r--lib/igt_kms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 005d7e8c..6422adc0 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -297,7 +297,7 @@ typedef struct {
uint32_t id; /* KMS id */
struct kmstest_connector_config config;
char *name;
- bool valid;
+ int valid; /* -1 == never probed */
unsigned long pending_crtc_idx_mask;
bool use_override_mode;
drmModeModeInfo override_mode;