projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea84aa7
)
drm/i915: Only dump dp_m2_n2 configuration when drrs is used
author
Tvrtko Ursulin
<
[email protected]
>
Thu, 17 Nov 2016 15:44:09 +0000
(15:44 +0000)
committer
Tvrtko Ursulin
<
[email protected]
>
Fri, 18 Nov 2016 10:48:27 +0000
(10:48 +0000)
Otherwise it is just an useless empty line.
Signed-off-by: Tvrtko Ursulin <
[email protected]
>
Suggested-by: Maarten Lankhorst <
[email protected]
>
Cc: Maarten Lankhorst <
[email protected]
>
Reviewed-by: Maarten Lankhorst <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 58fc78702e2b25dad79d997eeff517a18ffac2ec..0c8c8e5d4bd99477b7863f3e5cec6b26dfd34fe8 100644
(file)
--- 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,
if (intel_crtc_has_dp_encoder(pipe_config)) {
intel_dump_m_n_config(pipe_config, "dp m_n",
pipe_config->lane_count, &pipe_config->dp_m_n);
- intel_dump_m_n_config(pipe_config, "dp m2_n2",
- pipe_config->lane_count,
- &pipe_config->dp_m2_n2);
+ if (pipe_config->has_drrs)
+ intel_dump_m_n_config(pipe_config, "dp m2_n2",
+ pipe_config->lane_count,
+ &pipe_config->dp_m2_n2);
}
DRM_DEBUG_KMS("audio: %i, infoframes: %i\n",