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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Nov 24 01:34:28 PST 2015


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

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at 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



More information about the Intel-gfx mailing list