Commit d806e682 authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

drm/i915: Only dump dp_m2_n2 configuration when drrs is used

Otherwise it is just an useless empty line.
Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479397449-27085-1-git-send-email-tvrtko.ursulin@linux.intel.com
parent ea84aa77
...@@ -12751,6 +12751,7 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, ...@@ -12751,6 +12751,7 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
if (intel_crtc_has_dp_encoder(pipe_config)) { if (intel_crtc_has_dp_encoder(pipe_config)) {
intel_dump_m_n_config(pipe_config, "dp m_n", intel_dump_m_n_config(pipe_config, "dp m_n",
pipe_config->lane_count, &pipe_config->dp_m_n); pipe_config->lane_count, &pipe_config->dp_m_n);
if (pipe_config->has_drrs)
intel_dump_m_n_config(pipe_config, "dp m2_n2", intel_dump_m_n_config(pipe_config, "dp m2_n2",
pipe_config->lane_count, pipe_config->lane_count,
&pipe_config->dp_m2_n2); &pipe_config->dp_m2_n2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment