libdisplay-info/test/data/qemu.diff
Simon Ser 8aa57fbed9 edid: turn range limits max pixel clock into an int64_t
An int32_t is not large enough:
MAX_UINT8 * 10 * 1000 * 1000 > MAX_INT32.

We already use int64_t for di_cta_video_format.pixel_clock.

Signed-off-by: Simon Ser <contact@emersion.fr>
Closes: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/issues/38
2023-11-05 10:12:47 +00:00

31 lines
984 B
Diff

--- ref
+++ di
@@ -60,26 +60,12 @@
VIC 89: 2560x1080 50.000000 Hz 64:27 56.250 kHz 185.625000 MHz
VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz
VIC 97: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz
- Detailed Timing Descriptors:
- Dummy Descriptor:
- Dummy Descriptor:
- Dummy Descriptor:
- Dummy Descriptor:
- Dummy Descriptor:
- Dummy Descriptor:
-Checksum: 0x2f Unused space in Extension Block: 8 bytes
+Checksum: 0x2f
----------------
-Warnings:
-
-Block 1, CTA-861 Extension Block:
- IT Video Formats are overscanned by default, but normally this should be underscanned.
- Video Data Block: VIC 125 is the preferred timing, overriding the first detailed timings. Is this intended?
-
Failures:
Block 1, CTA-861 Extension Block:
- Missing VCDB, needed for Set Selectable RGB Quantization to avoid interop issues.
-
+ Padding: Contains non-zero bytes.
EDID conformity: FAIL