[Mesa-dev] [PATCH] intel: tools: Fix uninitialized variable warnings in intel_dump_gpu.
Eric Anholt
eric at anholt.net
Thu Jul 12 18:46:12 UTC 2018
---
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
More information about the mesa-dev
mailing list