summaryrefslogtreecommitdiff
path: root/lib/igt_kms.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2016-01-14 14:03:53 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2016-01-26 09:32:43 -0800
commite28acefc5c22b41e3f141ca959c8f96cd16feb47 (patch)
treeb59a00df139b759101239464f20b6ed1271bc976 /lib/igt_kms.h
parente2c9a023f2f76db04b94dae64e14ad37e0210b46 (diff)
lib/igt_kms, tests/testdisplay: allow probing of new connector modes
Fixup some fallout from the connector probing changes so testdisplay -m will pick up newly hotplugged displays correctly. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org.
Diffstat (limited to 'lib/igt_kms.h')
-rw-r--r--lib/igt_kms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 94f315fe..3f7add58 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -140,6 +140,9 @@ bool kmstest_get_connector_default_mode(int drm_fd, drmModeConnector *connector,
bool kmstest_get_connector_config(int drm_fd, uint32_t connector_id,
unsigned long crtc_idx_mask,
struct kmstest_connector_config *config);
+bool kmstest_probe_connector_config(int drm_fd, uint32_t connector_id,
+ unsigned long crtc_idx_mask,
+ struct kmstest_connector_config *config);
void kmstest_free_connector_config(struct kmstest_connector_config *config);
void kmstest_set_connector_dpms(int fd, drmModeConnector *connector, int mode);