[Mesa-dev] [PATCH] ddebug: fix parsing of the pipelined mode
Marek Olšák
maraeo at gmail.com
Tue Jul 11 22:40:39 UTC 2017
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Fri, Jul 7, 2017 at 9:52 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list