path: root/include
diff options
authorDave Airlie <airlied@redhat.com>2015-09-16 10:37:28 +1000
committerDave Airlie <airlied@redhat.com>2015-10-02 15:34:40 +1000
commitdf4839fdc9b3c922586b945f062f38cbbda022bb (patch)
tree8ff48911fd93882d61dbaee4ee086e9300717972 /include
parent1c960876be7cffd2798a9e2be090e0a5afaee895 (diff)
drm/dp/mst: fixup handling hotplug on port removal.
output ports should always have a connector, unless in the rare case connector allocation fails in the driver. In this case we only need to teardown the pdt, and free the struct, and there is no need to send a hotplug msg. In the case were we add the port to the destroy list we need to send a hotplug if we destroy any connectors, so userspace knows to reprobe stuff. this patch also handles port->connector allocation failing which should be a rare event, but makes the code consistent. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions

Privacy Policy