Skip to contentSkip to conversation

Change igt_log level from IGT_LOG_WARN to IGT_LOG_INFO

PATCH In review Jeevan B 2 participants 2 messages Sep 7, 2021 – Sep 8, 2021

lore
Share & tools
lore

Jeevan B

author
#0 lore raw

PATCH 1/1 Change igt_log level from IGT_LOG_WARN to IGT_LOG_INFO

change igt_warn to igt_info when unloading the snd module before unbinding i915 until WA is fixed.

---
 tests/core_hotunplug.c | 2 +-
 tests/device_reset.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/core_hotunplug.c +1 -1
index 2d73e27f..b3661668 100644
@@ -164,7 +164,7 @@ static void driver_unbind(struct hotunplug *priv, const char *prefix,
 			igt_lsof("/dev/snd");
 			igt_skip("Audio is in use, skipping\n");
 		} else {
-			igt_warn("Preventively unloaded snd_hda_intel\n");
+			igt_info("Preventively unloaded snd_hda_intel\n");
 		}
 	}
 
tests/device_reset.c +1 -1
index e6a468e6..982ba5ef 100644
@@ -201,7 +201,7 @@ static void driver_unbind(struct device_fds *dev)
 			igt_lsof("/dev/snd");
 			igt_skip("Audio is in use, skipping\n");
 		} else {
-			igt_warn("Preventively unloaded snd_hda_intel\n");
+			igt_info("Preventively unloaded snd_hda_intel\n");
 		}
 	}
 
Signature · 1 line
2.19.1
#1 lore raw
Quoted 4 lines · Jeevan B

change igt_warn to igt_info when unloading the snd module before unbinding i915 until WA is fixed.

Please submit per

https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/CONTRIBUTING.md#sending-patches

No one (not even CI) pick up igt patches submitted to dri-devel. -Daniel

Quoted 34 lines
---
 tests/core_hotunplug.c | 2 +-
 tests/device_reset.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/core_hotunplug.c +1 -1
index 2d73e27f..b3661668 100644
@@ -164,7 +164,7 @@ static void driver_unbind(struct hotunplug *priv, const char *prefix,
 			igt_lsof("/dev/snd");
 			igt_skip("Audio is in use, skipping\n");
 		} else {
-			igt_warn("Preventively unloaded snd_hda_intel\n");
+			igt_info("Preventively unloaded snd_hda_intel\n");
 		}
 	}
 
tests/device_reset.c +1 -1
index e6a468e6..982ba5ef 100644
@@ -201,7 +201,7 @@ static void driver_unbind(struct device_fds *dev)
 			igt_lsof("/dev/snd");
 			igt_skip("Audio is in use, skipping\n");
 		} else {
-			igt_warn("Preventively unloaded snd_hda_intel\n");
+			igt_info("Preventively unloaded snd_hda_intel\n");
 		}
 	}
 
Signature · 1 line
2.19.1
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch