summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_connector.h
diff options
context:
space:
mode:
authorRobert Tarasov2017-10-13 02:13:49 +0200
committerAlex Deucher2017-10-16 21:36:02 +0200
commitafdfc4c6f55f953e073f0eef9e2afa3c8cf78d7c (patch)
tree988d8334f9c836534aef4dfe1e4df3e69c700ab3 /drivers/gpu/drm/udl/udl_connector.h
parentdrm/armada: Replace drm_framebuffer_reference/unreference() with _get/put() (diff)
downloadkernel-qcow2-linux-afdfc4c6f55f953e073f0eef9e2afa3c8cf78d7c.tar.gz
kernel-qcow2-linux-afdfc4c6f55f953e073f0eef9e2afa3c8cf78d7c.tar.xz
kernel-qcow2-linux-afdfc4c6f55f953e073f0eef9e2afa3c8cf78d7c.zip
drm/udl: Fixed problem with UDL adpater reconnection
Fixed problem with DisplayLink and DisplayLink certified adapers in drm/udl driver when adapter doesn't want to work if it was initialized with disconnected DVI cable by enabling drm connectot polling and updating current connector's state. Signed-off-by: Robert Tarasov <tutankhamen@chromium.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171013001350.172155-1-tutankhamen@chromium.org
Diffstat (limited to 'drivers/gpu/drm/udl/udl_connector.h')
-rw-r--r--drivers/gpu/drm/udl/udl_connector.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/udl/udl_connector.h b/drivers/gpu/drm/udl/udl_connector.h
new file mode 100644
index 000000000000..0fb0db5c4612
--- /dev/null
+++ b/drivers/gpu/drm/udl/udl_connector.h
@@ -0,0 +1,13 @@
+#ifndef __UDL_CONNECTOR_H__
+#define __UDL_CONNECTOR_H__
+
+#include <drm/drm_crtc.h>
+
+struct udl_drm_connector {
+ struct drm_connector connector;
+ /* last udl_detect edid */
+ struct edid *edid;
+};
+
+
+#endif //__UDL_CONNECTOR_H__