ddebug: fix parsing of the pipelined mode
Trivial. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user