summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorDave Airlie2016-03-09 02:14:38 +0100
committerDave Airlie2016-05-05 04:52:07 +0200
commit0552f7651bc233e5407ab06ba97a9d7c25e19580 (patch)
treeaa9578663848ec66d4fb7f3076a286b5bb98ef9b /drivers/gpu/drm/i915/intel_drv.h
parentdrm/atomic: use connector references (v3) (diff)
downloadkernel-qcow2-linux-0552f7651bc233e5407ab06ba97a9d7c25e19580.tar.gz
kernel-qcow2-linux-0552f7651bc233e5407ab06ba97a9d7c25e19580.tar.xz
kernel-qcow2-linux-0552f7651bc233e5407ab06ba97a9d7c25e19580.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index b9f1304439e2..315c971b5b31 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -883,7 +883,7 @@ struct intel_dp_mst_encoder {
struct intel_encoder base;
enum pipe pipe;
struct intel_digital_port *primary;
- void *port; /* store this opaque as its illegal to dereference it */
+ struct intel_connector *connector;
};
static inline enum dpio_channel