diff options
author | Eric Anholt <[email protected]> | 2018-07-12 11:45:27 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-16 10:58:40 -0700 |
commit | 360714bfa56c0d7539cb3a8372beffdf7bdbaf10 (patch) | |
tree | 06453b1ce7268c59054f1f57dc3f1b6e5d5b55f0 /src/intel | |
parent | 5e030deaf226a355f49647daeb60af33783fc0b7 (diff) |
intel: tools: Fix uninitialized variable warnings in intel_dump_gpu.
Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/tools/intel_dump_gpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c index 1201fa35ae0..766ba662d91 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, |