[Piglit] [PATCH] framework: Listen to 'info'-level dmesg as well.

Kenneth Graunke kenneth at whitecape.org
Mon Nov 3 16:09:00 PST 2014


i915 started only reporting GPU hangs at the 'info' log level at one
point in an attempt to silence IGT fake GPU hangs.  I believe Daniel
fixed this in newer kernels, but some people haven't upgraded and are
still hitting this.

I'm not sure this is worth upstreaming in Piglit, but people were
interested in the patch.
---
 framework/dmesg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Not tested at all.  I believe this is identical to a patch I wrote a month
ago, and used successfully, but I since threw it out.

diff --git a/framework/dmesg.py b/framework/dmesg.py
index 1a8faa2..b3f42ef 100644
--- a/framework/dmesg.py
+++ b/framework/dmesg.py
@@ -152,7 +152,7 @@ class LinuxDmesg(BaseDmesg):
     calls. It requires timestamps to be enabled.
 
     """
-    DMESG_COMMAND = ['dmesg', '--level', 'emerg,alert,crit,err,warn,notice']
+    DMESG_COMMAND = ['dmesg', '--level', 'emerg,alert,crit,err,warn,notice,info']
 
     def __init__(self):
         """ Create a dmesg instance """
-- 
2.1.2



More information about the Piglit mailing list