mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 04:40:12 +01:00
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> |
||
|---|---|---|
| .. | ||
| exynos | ||
| kmstest | ||
| modeprint | ||
| modetest | ||
| nouveau | ||
| proptest | ||
| radeon | ||
| tegra | ||
| ttmtest | ||
| vbltest | ||
| Android.mk | ||
| auth.c | ||
| dristat.c | ||
| drmsl.c | ||
| drmstat.c | ||
| drmtest.c | ||
| drmtest.h | ||
| getclient.c | ||
| getstats.c | ||
| getversion.c | ||
| hash.c | ||
| lock.c | ||
| Makefile.am | ||
| name_from_fd.c | ||
| openclose.c | ||
| random.c | ||
| setversion.c | ||
| updatedraw.c | ||