mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 05:50:12 +01:00
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>
This commit is contained in:
parent
dfd00c6250
commit
13691f5266
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue