OSDN Git Service

drm: document that user-space should force-probe connectors
authorSimon Ser <contact@emersion.fr>
Mon, 30 Nov 2020 16:26:12 +0000 (16:26 +0000)
committerSimon Ser <contact@emersion.fr>
Wed, 2 Dec 2020 13:37:03 +0000 (14:37 +0100)
commita7e2e1c50450c6a0f020b35960edecbe25dde520
treedff0e497f2391965e61c18ba1b0534e11ba96ffe
parent36549848ed27c22bb2ffd5d1468efc6505b05f97
drm: document that user-space should force-probe connectors

It seems like we can't have nice things, so let's just document the
disappointing behaviour instead.

The previous version assumed the kernel would perform the probing work
when appropriate, however this is not the case today. Update the
documentation to reflect reality.

v2:

- Improve commit message to explain why this change is made (Pekka)
- Keep the bit about flickering (Daniel)
- Explain when user-space should force-probe, and when it shouldn't (Daniel)

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 2ac5ef3b2362 ("drm: document drm_mode_get_connector")
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/AxqLnTAsFCRishOVB5CLsqIesmrMrm7oytnOVB7oPA@cp7-web-043.plabs.ch
include/uapi/drm/drm_mode.h