[Mesa-dev] [PATCH] ddebug: fix parsing of the pipelined mode

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Jul 7 07:52:05 UTC 2017


Trivial.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/gallium/drivers/ddebug/dd_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c
index a5d2be1402..14e6f6b011 100644
--- a/src/gallium/drivers/ddebug/dd_screen.c
+++ b/src/gallium/drivers/ddebug/dd_screen.c
@@ -374,7 +374,7 @@ ddebug_screen_create(struct pipe_screen *screen)
 
       if (sscanf(option+8, "%u", &apitrace_dump_call) != 1)
          return screen;
-   } else if (!strncmp(option, "pipelined", 8)) {
+   } else if (!strncmp(option, "pipelined", 9)) {
       mode = DD_DETECT_HANGS_PIPELINED;
 
       if (sscanf(option+10, "%u", &timeout) != 1)
-- 
2.13.2



More information about the mesa-dev mailing list