mesa-drm/tests
Chris Wilson 5ed5fa1060 mode: Retrieve only the current information for a Connector
Add a new API that allows the caller to skip any forced probing, which
may require slow i2c to a remote display, and only report the currently
active mode and encoder for a Connector. This is often the information
of interest and is much, much faster than re-retrieving the link status
and EDIDs, e.g. if the caller only wishes to count the number of active
outputs.

v2: Fix error path to avoid double free after a failed GETCONNECTOR
ioctl.

v3: Daniel strongly disapproved of my disjoint in behaviour between
GetConnector and GetConnectorCurrent, and considering how best to make a
drop in replacement for drmmode_output_init() convinced me keeping the
API as consistent as possible was the right approach.

v4: Avoid probing on the second calls to GETCONNECTOR for unconnected
outputs.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: David Herrmann <dh.herrmann@googlemail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-04-14 15:58:26 +01:00
..
exynos tests/exynos: Fix missing static keyword 2015-03-20 18:17:34 -04:00
kmstest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
modeprint mode: Retrieve only the current information for a Connector 2015-04-14 15:58:26 +01:00
modetest android: remove unnecessary TARGET_OUT_HEADERS variable 2015-04-09 16:26:59 +01:00
nouveau nouveau: make nouveau importing global buffers completely thread-safe, with tests 2015-03-13 20:26:33 +01:00
proptest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
radeon Add static qualifier to local functions 2015-03-15 14:17:02 -04:00
tegra autotools: add WARN_CFLAGS to all targets 2015-02-27 15:51:24 +00:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
vbltest tests: add rockchip to modetest, kmstest, vbltest and proptest 2015-03-20 17:18:01 +00:00
Android.mk android: simplify the including rule of subdirs 2015-03-20 17:07:21 +00:00
auth.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
dristat.c dristat: Handle DRM_CONSISTENT 2015-03-14 17:02:06 -04:00
drmsl.c tests/drmsl: Extract tests out of xf86drmSL.c 2015-04-04 13:48:54 -04:00
drmstat.c Fix unused function warnings 2015-03-20 13:36:53 -04:00
drmtest.c drmtest: make check should fail so hard on unable to open device 2011-09-26 16:03:20 +01:00
drmtest.h Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
getclient.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
getstats.c Fix type-limits, pointer-arith and sign-compare warnings 2015-03-14 17:02:06 -04:00
getversion.c tests: Use drmFreeVersion() instead of drmFree() 2014-04-17 16:21:47 +02:00
hash.c tests/hash: return non-zero on failure 2015-04-05 15:33:06 +01:00
lock.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
Makefile.am tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00
name_from_fd.c tests: remove unused variables 2015-02-27 15:51:28 +00:00
openclose.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
random.c tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00
setversion.c tests: fix implicit funciton declaration errors 2015-02-27 15:51:15 +00:00
updatedraw.c tests: remove unused variables 2015-02-27 15:51:28 +00:00