diff mbox series

[i-g-t,2/2] tools/intel_error_decode: Correctly name the GuC CT buffer

Message ID 20230425201926.99086-3-John.C.Harrison@Intel.com (mailing list archive)
State New, archived
Headers show
Series Update intel_error_decode for Gen12 | expand

Commit Message

John Harrison April 25, 2023, 8:19 p.m. UTC
From: John Harrison <John.C.Harrison@Intel.com>

The buffer decoding code doesn't cope well with unknown buffers. So
add an entry for the GuC CTB so that it gets decoded correctly.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
---
 tools/intel_error_decode.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dixit, Ashutosh April 26, 2023, 9:49 p.m. UTC | #1
On Tue, 25 Apr 2023 13:19:26 -0700, John.C.Harrison@Intel.com wrote:
>
> From: John Harrison <John.C.Harrison@Intel.com>
>
> The buffer decoding code doesn't cope well with unknown buffers. So
> add an entry for the GuC CTB so that it gets decoded correctly.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>

>
> Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
> ---
>  tools/intel_error_decode.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/intel_error_decode.c b/tools/intel_error_decode.c
> index 99680bedc785..451608826be3 100644
> --- a/tools/intel_error_decode.c
> +++ b/tools/intel_error_decode.c
> @@ -617,6 +617,7 @@ read_data_file(FILE *file)
>				{ "user", "user", 0 },
>				{ "semaphores", "semaphores", 0 },
>				{ "guc log buffer", "GuC log", 0 },
> +				{ "guc ct buffer", "GuC CTB", 0 },
>				{ },
>			}, *b;
>			char *new_ring_name;
> --
> 2.39.1
>
diff mbox series

Patch

diff --git a/tools/intel_error_decode.c b/tools/intel_error_decode.c
index 99680bedc785..451608826be3 100644
--- a/tools/intel_error_decode.c
+++ b/tools/intel_error_decode.c
@@ -617,6 +617,7 @@  read_data_file(FILE *file)
 				{ "user", "user", 0 },
 				{ "semaphores", "semaphores", 0 },
 				{ "guc log buffer", "GuC log", 0 },
+				{ "guc ct buffer", "GuC CTB", 0 },
 				{ },
 			}, *b;
 			char *new_ring_name;