drm/i915/mst: use reference counted connectors. (v3)
authorDave Airlie <airlied@redhat.com>
Wed, 9 Mar 2016 01:14:38 +0000 (11:14 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 5 May 2016 02:52:07 +0000 (12:52 +1000)
commit0552f7651bc233e5407ab06ba97a9d7c25e19580
treeaa9578663848ec66d4fb7f3076a286b5bb98ef9b
parentd2307dea14a4f14a4b5db01b6d40a30fa6117e6c
drm/i915/mst: use reference counted connectors. (v3)

Don't just free the connector when we get the destroy callback.

Drop a reference to it, and set it's mst_port to NULL so
no more mst work is done on it.

v2: core mst accepts NULLs fine. Cleanup EDID code properly.
v3: drop the extra reference we were taking.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_drv.h