[Mesa-dev] [PATCH] intel: tools: Fix uninitialized variable warnings in intel_dump_gpu.
Rafael Antognolli
rafael.antognolli at intel.com
Sat Jul 14 00:07:36 UTC 2018
Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
On Thu, Jul 12, 2018 at 11:46:12AM -0700, Eric Anholt wrote:
> ---
> src/intel/tools/intel_dump_gpu.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c
> index 1201fa35ae0c..766ba662d910 100644
> --- a/src/intel/tools/intel_dump_gpu.c
> +++ b/src/intel/tools/intel_dump_gpu.c
> @@ -728,6 +728,8 @@ aub_dump_execlist(uint64_t batch_offset, int ring_flag)
> status_reg = EXECLIST_STATUS_BCSUNIT;
> control_reg = EXECLIST_CONTROL_BCSUNIT;
> break;
> + default:
> + unreachable("unknown ring");
> }
>
> mem_trace_memory_write_header_out(ring_addr, 16,
> --
> 2.18.0
>
> _______________________________________________
> 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