Explorar o código

drm/tegra: dp - Mark the connector as hotplug capable

Doing so allows the hotplug events generated by the connector to be
properly handled by the DRM poll helpers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding %!s(int64=11) %!d(string=hai) anos
pai
achega
7c4633861f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/gpu/drm/tegra/dpaux.c

+ 1 - 0
drivers/gpu/drm/tegra/dpaux.c

@@ -414,6 +414,7 @@ int tegra_dpaux_attach(struct tegra_dpaux *dpaux, struct tegra_output *output)
 	unsigned long timeout;
 	int err;
 
+	output->connector.polled = DRM_CONNECTOR_POLL_HPD;
 	dpaux->output = output;
 
 	err = regulator_enable(dpaux->vdd);