The decode for A8 is incomplete and died with a segfault. First hide the
segfault, latter fix the pretty printing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
else if (dword & (1 << 1))
tiling = dword & (1 << 0) ? "Y" : "X";
type = " BAD";
+ format = "BAD";
switch ((dword>>7) & 0x7) {
case 1:
type = "8b";
switch ((dword>>3) & 0xf) {
case 7: format = " argb8888"; break; }
break;
- default:
- format = "BAD";
}
dword = data[i];
instr_out(data, hw_offset, i++, "map %d MS3 [width=%d, height=%d, format=%s%s, tiling=%s%s]\n",