linux/drivers/gpu/drm/bridge
Thierry Reding eb47fe8033 drm: Do not set connector->encoder in drivers
An encoder is associated with a connector by the DRM core as a result of
setting up a configuration. Drivers using the atomic or legacy helpers
should never set up this link, even if it is a static one.

While at it, try to catch this kind of error in the future by adding a
WARN_ON() in drm_mode_connector_attach_encoder(). Note that this doesn't
cover all the cases, since drivers could set this up after attaching.
Drivers that use the atomic helpers will get a warning later on, though,
so hopefully the two combined cover enough to help people avoid this in
the future.

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Mark yao <mark.yao@rock-chips.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1447694393-24700-1-git-send-email-thierry.reding@gmail.com
2016-01-13 13:30:53 +01:00
..
dw_hdmi-ahb-audio.c drm: bridge/dw_hdmi-ahb-audio: allow larger buffer sizes 2015-10-09 17:17:30 +01:00
dw_hdmi-audio.h drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver 2015-10-09 17:17:24 +01:00
dw_hdmi.c drm: Do not set connector->encoder in drivers 2016-01-13 13:30:53 +01:00
dw_hdmi.h drm: bridge/dw_hdmi-ahb-audio: add audio driver 2015-10-09 17:14:12 +01:00
Kconfig drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver 2015-10-09 17:17:24 +01:00
Makefile drm: bridge/dw_hdmi-ahb-audio: add audio driver 2015-10-09 17:14:12 +01:00
nxp-ptn3460.c drm/bridge/nxp-ptn3460: Constify function pointer structs 2015-12-15 13:43:39 +01:00
parade-ps8622.c drm/bridge: ps8622: Fix coccinelle warnings 2015-10-30 18:38:32 +01:00