summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-25 16:44:48 +0200
committerThierry Reding <treding@nvidia.com>2014-06-05 23:14:48 +0200
commit7c4633861f810fb52a75ea45a7ae1df2a14fe745 (patch)
tree2d5c1333f6abd4c5bf68f3fcb082c48ead809c57 /drivers/gpu
parentdrm/tegra: dp - Implement hotplug detection in work queue (diff)
downloadlinux-7c4633861f810fb52a75ea45a7ae1df2a14fe745.tar.xz
linux-7c4633861f810fb52a75ea45a7ae1df2a14fe745.zip
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/tegra/dpaux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index 208fc1bef7c5..3f132e356e9c 100644
--- a/drivers/gpu/drm/tegra/dpaux.c
+++ b/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);