di-edid-decode: print preferred flag for type I timing

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-10-03 14:14:45 +02:00
parent cad7de92c7
commit eea7215002
2 changed files with 6 additions and 6 deletions

View file

@ -1065,7 +1065,10 @@ print_displayid_type_i_timing(const struct di_displayid_type_i_timing *t)
printf("undefined");
else
printf("%d:%d", horiz_ratio, vert_ratio);
printf(", %s)\n", displayid_type_i_timing_stereo_3d_name(t->stereo_3d));
printf(", %s", displayid_type_i_timing_stereo_3d_name(t->stereo_3d));
if (t->preferred)
printf(", preferred");
printf(")\n");
horiz_back_porch = t->horiz_blank - t->horiz_sync_width - t->horiz_offset;
printf(" Hfront %4d Hsync %3d Hback %4d Hpol %s",

View file

@ -89,7 +89,7 @@
Video Timing Modes Type 1 - Detailed Timings Data Block:
DTD: 5120x2880 59.999614 Hz 16:9 179.579 kHz 933.810000 MHz (aspect 16:9, no 3D stereo)
Hfront 8 Hsync 32 Hback 40 Hpol P
@@ -179,16 +152,14 @@
@@ -179,14 +152,12 @@
DTD: 5120x2880 47.951594 Hz 16:9 179.531 kHz 933.560000 MHz (aspect 16:9, no 3D stereo)
Hfront 8 Hsync 32 Hback 40 Hpol P
Vfront 850 Vsync 8 Vback 6 Vpol N
@ -102,11 +102,8 @@
Version: 1.2
- Extension Count: 0
Video Timing Modes Type 1 - Detailed Timings Data Block:
- DTD: 6016x3384 59.999899 Hz 16:9 210.960 kHz 1286.010000 MHz (aspect 16:9, no 3D stereo, preferred)
+ DTD: 6016x3384 59.999899 Hz 16:9 210.960 kHz 1286.010000 MHz (aspect 16:9, no 3D stereo)
DTD: 6016x3384 59.999899 Hz 16:9 210.960 kHz 1286.010000 MHz (aspect 16:9, no 3D stereo, preferred)
Hfront 8 Hsync 32 Hback 40 Hpol P
Vfront 118 Vsync 8 Vback 6 Vpol N
DTD: 6016x3384 59.939891 Hz 16:9 210.928 kHz 1285.820000 MHz (aspect 16:9, no 3D stereo)
@@ -203,30 +174,13 @@
DTD: 6016x3384 47.951798 Hz 16:9 210.940 kHz 1285.890000 MHz (aspect 16:9, no 3D stereo)
Hfront 8 Hsync 32 Hback 40 Hpol P