diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-11-17 10:44:09 -0500 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-11-18 05:48:27 -0500 |
commit | d806e6828be36ce21173340ba3d0078345bd12bc (patch) | |
tree | bc018caad7c9849021ea805e11b62056f5fdd17c | |
parent | ea84aa776fb996130662ac16f59218117a39a311 (diff) |
drm/i915: Only dump dp_m2_n2 configuration when drrs is used
Otherwise it is just an useless empty line.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479397449-27085-1-git-send-email-tvrtko.ursulin@linux.intel.com
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 58fc78702e2b..0c8c8e5d4bd9 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -12751,9 +12751,10 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc, | |||
12751 | if (intel_crtc_has_dp_encoder(pipe_config)) { | 12751 | if (intel_crtc_has_dp_encoder(pipe_config)) { |
12752 | intel_dump_m_n_config(pipe_config, "dp m_n", | 12752 | intel_dump_m_n_config(pipe_config, "dp m_n", |
12753 | pipe_config->lane_count, &pipe_config->dp_m_n); | 12753 | pipe_config->lane_count, &pipe_config->dp_m_n); |
12754 | intel_dump_m_n_config(pipe_config, "dp m2_n2", | 12754 | if (pipe_config->has_drrs) |
12755 | pipe_config->lane_count, | 12755 | intel_dump_m_n_config(pipe_config, "dp m2_n2", |
12756 | &pipe_config->dp_m2_n2); | 12756 | pipe_config->lane_count, |
12757 | &pipe_config->dp_m2_n2); | ||
12757 | } | 12758 | } |
12758 | 12759 | ||
12759 | DRM_DEBUG_KMS("audio: %i, infoframes: %i\n", | 12760 | DRM_DEBUG_KMS("audio: %i, infoframes: %i\n", |