Commit 6f02488e authored by Jesse Barnes's avatar Jesse Barnes Committed by Daniel Vetter

drm/i915: fixup messages in pipe_config_compare

Print out the flag that failed and fix up a mismatched paren.
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent ef86ddce
...@@ -8169,7 +8169,7 @@ intel_pipe_config_compare(struct drm_device *dev, ...@@ -8169,7 +8169,7 @@ intel_pipe_config_compare(struct drm_device *dev,
#define PIPE_CONF_CHECK_FLAGS(name, mask) \ #define PIPE_CONF_CHECK_FLAGS(name, mask) \
if ((current_config->name ^ pipe_config->name) & (mask)) { \ if ((current_config->name ^ pipe_config->name) & (mask)) { \
DRM_ERROR("mismatch in " #name " " \ DRM_ERROR("mismatch in " #name "(" #mask ") " \
"(expected %i, found %i)\n", \ "(expected %i, found %i)\n", \
current_config->name & (mask), \ current_config->name & (mask), \
pipe_config->name & (mask)); \ pipe_config->name & (mask)); \
...@@ -8245,7 +8245,7 @@ intel_pipe_config_compare(struct drm_device *dev, ...@@ -8245,7 +8245,7 @@ intel_pipe_config_compare(struct drm_device *dev,
if (!IS_HASWELL(dev)) { if (!IS_HASWELL(dev)) {
if (!intel_fuzzy_clock_check(current_config, pipe_config)) { if (!intel_fuzzy_clock_check(current_config, pipe_config)) {
DRM_ERROR("mismatch in clock (expected %d, found %d\n", DRM_ERROR("mismatch in clock (expected %d, found %d)\n",
current_config->adjusted_mode.clock, current_config->adjusted_mode.clock,
pipe_config->adjusted_mode.clock); pipe_config->adjusted_mode.clock);
return false; return false;
......
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