drm/i915/bios: log about presence of DSI sequences we do not run
authorJani Nikula <jani.nikula@intel.com>
Mon, 19 Sep 2016 12:02:29 +0000 (15:02 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 19 Sep 2016 15:38:02 +0000 (18:38 +0300)
Leave behind some debugging clues in case some panels don't work
properly.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/b36302b24676af511f4bbf702be21cc7e8f987c2.1474286487.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c

index c6e69e4cfa8314a051277797bed0ec1fbcceb3ea..83667e8cdd6b68b5a5c01007f557841d39fc5869 100644 (file)
@@ -996,6 +996,10 @@ parse_mipi_sequence(struct drm_i915_private *dev_priv,
                        goto err;
                }
 
+               /* Log about presence of sequences we won't run. */
+               if (seq_id == MIPI_SEQ_TEAR_ON || seq_id == MIPI_SEQ_TEAR_OFF)
+                       DRM_DEBUG_KMS("Unsupported sequence %u\n", seq_id);
+
                dev_priv->vbt.dsi.sequence[seq_id] = data + index;
 
                if (sequence->version >= 3)