[PATCH 1/9] drm/i915: Set connector_state->connector correctly.

Maarten Lankhorst
2015-11-24T09:34:28Z

I can't believe we didn't trip over this sooner..

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 2917fef33f31..dcc7ec7665c2 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -6461,6 +6461,8 @@ int intel_connector_init(struct intel_connector *connector)
if (!connector_state)
return -ENOMEM;

+ connector_state->connector = &connector->base;
+
connector->base.state = connector_state;
return 0;
}
--
2.1.0