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
Chia-I Wu 2023-08-18 15:48:31 -07:00 committed by Dmitry Baryshkov
parent dfd00c6250
commit 13691f5266
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ static void dump_in_formats(struct device *dev, uint32_t blob_id)
printf(": ");
}
printf(" %s", modifier_to_string(iter.mod));
printf(" %s(0x%"PRIx64")", modifier_to_string(iter.mod), iter.mod);
}
printf("\n");