Skip to contentSkip to conversation

drm/i915: tune down DIDL warning about too many outputs

PATCH Applied Daniel Vetter 4 participants 5 messages Jun 24, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: tune down DIDL warning about too many outputs

Nothing the user (nor we) really can do about this, but upsets a nice quiet boot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65988

---
 drivers/gpu/drm/i915/intel_opregion.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +4 -4
index 79be7cf..cfb8fb6 100644
@@ -311,8 +311,8 @@ 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 via ACPI\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs detected via ACPI\n");
 			return;
 		}
 		status =
@@ -338,8 +338,8 @@ blind_set:
 	list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 		int output_type = ACPI_OTHER_OUTPUT;
 		if (i >= 8) {
-			dev_printk(KERN_ERR, &dev->pdev->dev,
-				   "More than 8 outputs in connector list\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs in connector list\n");
 			return;
 		}
 		switch (connector->connector_type) {
Signature · 1 line
1.7.10.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Daniel Vetter

Nothing the user (nor we) really can do about this, but upsets a nice quiet boot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65988

Signature · 1 line
Damien
Quoted 37 lines
---
 drivers/gpu/drm/i915/intel_opregion.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +4 -4
index 79be7cf..cfb8fb6 100644
@@ -311,8 +311,8 @@ 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 via ACPI\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs detected via ACPI\n");
 			return;
 		}
 		status =
@@ -338,8 +338,8 @@ blind_set:
 	list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 		int output_type = ACPI_OTHER_OUTPUT;
 		if (i >= 8) {
-			dev_printk(KERN_ERR, &dev->pdev->dev,
-				   "More than 8 outputs in connector list\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs in connector list\n");
 			return;
 		}
 		switch (connector->connector_type) {
Signature · 6 lines
1.7.10.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 8 lines · Damien Lespiau
Quoted 5 lines · Daniel Vetter

Nothing the user (nor we) really can do about this, but upsets a nice quiet boot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65988

Queued for -next (with slightly amended commit message to clarify the question from Paulo), thanks for the review.
-Daniel

Quoted 41 lines
Signature · 2 lines
-- 
Damien
Quoted 37 lines
---
 drivers/gpu/drm/i915/intel_opregion.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +4 -4
index 79be7cf..cfb8fb6 100644
@@ -311,8 +311,8 @@ 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 via ACPI\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs detected via ACPI\n");
 			return;
 		}
 		status =
@@ -338,8 +338,8 @@ blind_set:
 	list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 		int output_type = ACPI_OTHER_OUTPUT;
 		if (i >= 8) {
-			dev_printk(KERN_ERR, &dev->pdev->dev,
-				   "More than 8 outputs in connector list\n");
+			dev_dbg(&dev->pdev->dev,
+				"More than 8 outputs in connector list\n");
 			return;
 		}
 		switch (connector->connector_type) {
Signature · 6 lines
1.7.10.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#3 lore raw
In reply to Daniel Vetter

2013/6/24 Daniel Vetter <[email protected]>:

Quoted 5 lines

Nothing the user (nor we) really can do about this, but upsets a nice quiet boot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65988

What exactly is the impact of this problem? What happens when we detect this? If we don't know which problems could happen when we reach this condition, then I really don't think we should tune down the message. If we know what is the impact of that message, then I think we should add a nice comment explaining that, and only then maybe tune down the message.

By the way, this message is seen on all Haswell machines I checked.

Quoted 37 lines
---
 drivers/gpu/drm/i915/intel_opregion.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +4 -5
index 79be7cf..cfb8fb6 100644
@@ -311,8 +311,8 @@ 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 via ACPI\n");
+                       dev_dbg(&dev->pdev->dev,
+                               "More than 8 outputs detected via ACPI\n");
                        return;
                }
                status =
@@ -338,8 +338,8 @@ blind_set:
        list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
                int output_type = ACPI_OTHER_OUTPUT;
                if (i >= 8) {
-                       dev_printk(KERN_ERR, &dev->pdev->dev,
-                                  "More than 8 outputs in connector list\n");
+                       dev_dbg(&dev->pdev->dev,
+                               "More than 8 outputs in connector list\n");
                        return;
                }
                switch (connector->connector_type) {
--

1.7.10.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Signature · 1 line
Paulo Zanoni
#4 lore raw
Quoted 7 lines · Paulo Zanoni

2013/6/24 Daniel Vetter <[email protected]>:

Quoted 5 lines

Nothing the user (nor we) really can do about this, but upsets a nice quiet boot.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65988

Quoted 8 lines

What exactly is the impact of this problem? What happens when we detect this? If we don't know which problems could happen when we reach this condition, then I really don't think we should tune down the message. If we know what is the impact of that message, then I think we should add a nice comment explaining that, and only then maybe tune down the message.

By the way, this message is seen on all Haswell machines I checked.

It means that the BIOS set up more outputs than what OpRegion supports. Tends to happen a lot with SDVs. Afaik there's nothing we can do when this happens.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch