modetest: print modifiers in hex as well
Print modifiers in hex in addtion to in strings returned by drmGetFormatModifierName. In some cases, hex numbers can be more easily compared visually. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Chia-I Wu <olvaffe@gmail.com>main
parent
dfd00c6250
commit
13691f5266
|
@ -330,7 +330,7 @@ static void dump_in_formats(struct device *dev, uint32_t blob_id)
|
||||||
printf(": ");
|
printf(": ");
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(" %s", modifier_to_string(iter.mod));
|
printf(" %s(0x%"PRIx64")", modifier_to_string(iter.mod), iter.mod);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
Loading…
Reference in New Issue