diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2013-07-01 13:19:09 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-01 13:39:56 -0400 |
commit | 6f02488e3a5cbd76974b9d56140b11f3aa012124 (patch) | |
tree | 76b248450f9d0d36c04719d91ff876c97a579377 /drivers/gpu/drm/i915/intel_display.c | |
parent | ef86ddced720fddc3835558447a7f594d3609c73 (diff) |
drm/i915: fixup messages in pipe_config_compare
Print out the flag that failed and fix up a mismatched paren.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 2ab34e57ba4a..6b0013cc962f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -8169,7 +8169,7 @@ intel_pipe_config_compare(struct drm_device *dev, | |||
8169 | 8169 | ||
8170 | #define PIPE_CONF_CHECK_FLAGS(name, mask) \ | 8170 | #define PIPE_CONF_CHECK_FLAGS(name, mask) \ |
8171 | if ((current_config->name ^ pipe_config->name) & (mask)) { \ | 8171 | if ((current_config->name ^ pipe_config->name) & (mask)) { \ |
8172 | DRM_ERROR("mismatch in " #name " " \ | 8172 | DRM_ERROR("mismatch in " #name "(" #mask ") " \ |
8173 | "(expected %i, found %i)\n", \ | 8173 | "(expected %i, found %i)\n", \ |
8174 | current_config->name & (mask), \ | 8174 | current_config->name & (mask), \ |
8175 | pipe_config->name & (mask)); \ | 8175 | pipe_config->name & (mask)); \ |
@@ -8245,7 +8245,7 @@ intel_pipe_config_compare(struct drm_device *dev, | |||
8245 | 8245 | ||
8246 | if (!IS_HASWELL(dev)) { | 8246 | if (!IS_HASWELL(dev)) { |
8247 | if (!intel_fuzzy_clock_check(current_config, pipe_config)) { | 8247 | if (!intel_fuzzy_clock_check(current_config, pipe_config)) { |
8248 | DRM_ERROR("mismatch in clock (expected %d, found %d\n", | 8248 | DRM_ERROR("mismatch in clock (expected %d, found %d)\n", |
8249 | current_config->adjusted_mode.clock, | 8249 | current_config->adjusted_mode.clock, |
8250 | pipe_config->adjusted_mode.clock); | 8250 | pipe_config->adjusted_mode.clock); |
8251 | return false; | 8251 | return false; |