commit | 0a478c27db43ad6a0e229ff1b922a16d2eae9701 | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Tue Aug 09 17:04:05 2016 +0200 |
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Tue Aug 23 11:07:23 2016 +0200 |
tree | 5971648c7c7f1b91bb07981bf260d15812eca4fa | |
parent | fd6bbda9c7a46bec6462878787335d2ac6294040 [diff] [blame] |
drm/i915: Make encoder->compute_config take the connector state Some places iterate over connector_state to find the right connector, pass it along as argument. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470755054-32699-7-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 30cbc7e..9bf71f5 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1463,7 +1463,8 @@ bool intel_dp_compute_config(struct intel_encoder *encoder, - struct intel_crtc_state *pipe_config) + struct intel_crtc_state *pipe_config, + struct drm_connector_state *conn_state) { struct drm_device *dev = encoder->base.dev; struct drm_i915_private *dev_priv = to_i915(dev);