]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: distinguish between error messages in DIDL initialization
authorJani Nikula <jani.nikula@intel.com>
Wed, 5 Jun 2013 18:55:29 +0000 (21:55 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Jun 2013 19:14:03 +0000 (21:14 +0200)
Two exactly same error messages on different error paths makes debugging
difficult. Clarify the messages and distinguish them from each other.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c

index 5c2d6939600e553998ed41fbfa3ed9001fe07002..79be7cfd315265d6177b602f5a100dd18c42b4ab 100644 (file)
@@ -312,7 +312,7 @@ static void intel_didl_outputs(struct drm_device *dev)
        list_for_each_entry(acpi_cdev, &acpi_video_bus->children, node) {
                if (i >= 8) {
                        dev_printk(KERN_ERR, &dev->pdev->dev,
-                                   "More than 8 outputs detected\n");
+                                  "More than 8 outputs detected via ACPI\n");
                        return;
                }
                status =
@@ -339,7 +339,7 @@ blind_set:
                int output_type = ACPI_OTHER_OUTPUT;
                if (i >= 8) {
                        dev_printk(KERN_ERR, &dev->pdev->dev,
-                                   "More than 8 outputs detected\n");
+                                  "More than 8 outputs in connector list\n");
                        return;
                }
                switch (connector->connector_type) {