]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add default modes for connectors in unknown state
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 14 Jun 2013 00:55:25 +0000 (02:55 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 5 Jan 2021 05:19:50 +0000 (07:19 +0200)
commit2551952e802cab4c01081c1c880643795af2afb8
treec6ab4cebcbf9f03ae38924f20b709c3a48e40c86
parent136ce7684bc1ff4a088812f600c63daca50b32c2
drm: Add default modes for connectors in unknown state

The DRM CRTC helpers add default modes to connectors in the connected
state if no mode can be retrieved from the connector. This behaviour is
useful for VGA or DVI outputs that have no connected DDC bus. However,
in such cases, the status of the output usually can't be retrieved and
is reported as connector_status_unknown.

Extend the addition of default modes to connectors in an unknown state
to support outputs that can retrieve neither the modes nor the
connection status.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_probe_helper.c
include/drm/drm_modeset_helper_vtables.h