Simon Ser
6879d24379
build: update edid-decode to new repository
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2024-12-20 20:12:46 +01:00
Pekka Paalanen
12341a70b8
test: di_info_get_default_gamma()
...
Notifies us if the result ever changes.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2024-06-12 16:26:33 +03:00
Pekka Paalanen
0de6fd5f10
test: di_info_get_supported_signal_colorimetry()
...
Notifies us if the result ever changes.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2024-06-12 16:26:33 +03:00
Pekka Paalanen
6bc398e6db
test: di_info_get_hdr_static_metadata()
...
Makes sure the results won't change unnoticed.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2024-06-12 16:26:33 +03:00
Pekka Paalanen
ef69f6276c
test: di_info_get_default_color_primaries()
...
Notifies us if the result ever changes.
The 3 decimal precision is taken from E-EDID 1.4 spec which says that
the numbers have that precision.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2024-06-12 16:26:33 +03:00
Sebastian Wick
fbd0022272
build: build edid-decode as subproject
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-06-07 17:05:47 +02:00
Sebastian Wick
c0c0c8acc5
cta: HDMI Audio: Add a failure when NonMixed is supported without MS
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-06-06 10:58:48 +02:00
Sebastian Wick
08a4d543c8
cta: Add support for the HDMI Audio Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-05-29 11:29:37 +02:00
Sebastian Wick
8f4b0f768f
edid: Change error messages and di-edid-decode printing
...
Following the changes in edid-decode.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-21 15:47:34 +01:00
Sebastian Wick
dda7c12642
test: Bump edid-decode to newer version
...
It has updated the calculation of the PQ level for Dolby Video.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-21 15:44:53 +01:00
Sebastian Wick
0eb10bda9e
cta: Parse DisplayID Type VII Video Timing Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-19 17:13:30 +01:00
Simon Ser
8d221c1d3d
di-edid-decode: don't print manufacture week if unspecified
...
Fixes philips-ftv-2017.
Signed-off-by: Simon Ser <contact@emersion.fr>
2024-02-15 14:12:18 +01:00
Sebastian Wick
1388f16e71
cta: add support for Video Format Preference
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-02-15 11:02:47 +01:00
Christian Meissl
ebee35935d
di-edid-decode: fix rgb quantization output
...
the output accidentally used the ycc range for
testing support of rgb quantization
Signed-off-by: Christian Meissl <meissl.christian@gmail.com>
2023-12-03 16:23:10 +01:00
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
Simon Ser
924f59f6dc
test: add QEMU EDID
...
Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/issues/38
2023-11-05 10:12:47 +00:00
Simon Ser
303484081d
test: add ayaneo-wxga
...
Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/issues/36
2023-10-31 12:43:55 +01:00
Simon Ser
af7af6090a
info: ignore empty model/serial descriptors
...
Some EDIDs (e.g. goldstar-e2441) contain string descriptors for
model/serial which happen to be empty. Skip them.
Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3599
2023-02-27 10:32:12 +01:00
Simon Ser
5e7bb09937
test/data: add goldstar-e2441
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-02-27 10:31:58 +01:00
Sebastian Wick
eed3e1e0f8
test: remove edid-decode as a test dependency
...
by storing the reference edid-decode output in the repository. It is now
only a dependency for the gen-test-data target. The CI checks that the
reference output in the repository matches the one generated from a
specific checkout of edid-decode.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-02-23 20:50:13 +01:00
Sebastian Wick
506925a66b
cta: add support for InfoFrame Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-31 14:58:50 +01:00
Sebastian Wick
23be3830c0
test: Bump edid-decode to newer version
...
The InfoFrame printing has changed and is compared against in the next
commit.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-31 14:50:49 +01:00
Sebastian Wick
d299c4716a
edid: Sync On Green Signal only is set if the bit is 0 and not 1
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-30 17:10:40 +01:00
Sebastian Wick
4698004913
cta: Add new data blocks from CTA-861.6
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-30 16:53:47 +01:00
Sebastian Wick
ddb32dafdb
cdi-edid-decode/cta: Take interlacing into account when printing VICs
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-30 15:04:06 +01:00
Sebastian Wick
883f469577
test: Document where each EDID blob is from
...
Also make sure we don't add new blobs without documenting the source
with a check in the CI.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-20 18:25:55 +01:00
Sebastian Wick
05f9450913
di-edid-decode/cta: align VIC aspect ratio names
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-13 18:57:38 +01:00
Simon Ser
1f3913f76d
di-edid-decode/cta: print detailed info for VICs
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-13 02:37:01 +01:00
Sebastian Wick
5c2255047b
cta: add support for YCbCr 4:2:0 Capability Map
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 22:02:20 +00:00
Sebastian Wick
f7bd527557
cta: add support for YCbCr 4:2:0 Video
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 21:21:27 +01:00
Simon Ser
2ebc104594
cta: add support for speaker allocation data block
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-11 21:04:48 +01:00
Sebastian Wick
a55e759f7c
cta: parse HDR Dynamic Metadata Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 19:11:37 +00:00
Simon Ser
67b5d67a64
cta: add support for VESA DDDB
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-10 12:23:38 +00:00
Simon Ser
fc13fb4d53
displayid: add support for tiled display topology data block
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-09 22:49:01 +00:00
Sebastian Wick
4a8684d1b0
edid: add support for CVT timing code descriptors
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-04 02:12:22 +01:00
Sebastian Wick
8fbc366c7c
cta: parse short audio descriptors
...
Co-authored-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2022-12-14 15:19:27 +01:00
Simon Ser
4e0fd2c979
di-edid-decode: print DMT reduced blanking flag
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
671c8d78d3
di-edid-decode: print full established timings III
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
5b81e0b578
di-edid-decode: add special case for 16:10 aspect ratio
...
The mathematical aspect ratio is 8:5 but people use 16:10.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
6b8bdb5b3b
ci: upgrade edid-decode
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:28 +01:00
Simon Ser
85d6a3a1db
test: fix default path for di-edid-decode
...
Since a001cab480
("build: split off di-edid-decode into separate
file"), di-edid-decode is located in a subdirectory.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 11:12:24 +01:00
Simon Ser
e19ee5d1bc
build: add gen-test-data run target
...
This makes it easier to re-generate the test diffs. The build system
will properly set DI_EDID_DECODE/DI_EDID_PRINT (and will rebuild
these tools if they are out-of-date).
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-17 22:10:08 +01:00
Pekka Paalanen
ac857e8985
info: use PNP ID database for manufacturer names
...
The three character PNP ID is a key to manufacturer name database. It
may be desirable to report the manufacturer's real name than just PNP ID
which can be misleading, e.g. MSI refers to Microstep and not MSI GmbH.
This builds the PNP ID database into libdisplay-info to avoid having to
find and parse files at runtime.
tool/gen-search-table.py started as a copy of Wayland 1.21.0's
src/embed.py and took influence from
10945c4ed8/conv.py
However, our script parses the text file shipped in hwdata package in
Debian (and presumably other distributions) rather than the original
CSV.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-11-11 13:09:18 +02:00
Pekka Paalanen
00b446d5db
test: make edid-decode-diff.sh easier to run
...
Having to define just DI_EDID_DECODE was tolerable when REF_EDID_DECODE
does not need setting, but now that there are two built tools, it is
getting inconvenient.
Change the defaults to match the build directory structure and add a new
overridable for the build directory.
Now I only need to set BUILDDIR for this to work. My build dirs are
completely elsewhere, but if someone uses the usual 'meson build'
incantation, the default value for BUILDDIR should be fine.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-11-09 14:18:04 +02:00
Pekka Paalanen
f70fa58441
test: add high-level API test
...
This new test exercises all existing high-level API to make sure the
output does not change unexpectedly.
Unlike with edid-decode tests, these new print tests do not have an
externally defined groundtruth. They are only to detect changes and
exercise code paths.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-11-09 14:18:04 +02:00
Simon Ser
4af5b96140
di-edid-decode/cta: round VESA transfer characteristics
...
Fixes the differences with edid-decode.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-20 08:07:22 +00:00
Simon Ser
b7d0793a03
edid-decode/cta: align data block names with edid-decode
...
We were diverging here.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-20 08:07:22 +00:00
Simon Ser
c930f13457
test: add custom-uncommon-cta-vesa
...
This is a hand-crafted EDID taken from edid-decode (test/cta-vesa.test).
It contains uncommon blocks: VESA Display Transfer Characteristics Data
Block and VESA Video Display Device Data Block in the CTA-861 extension.
While it's not as good as a real-world EDID, it can still improve our
test coverage and ensure we behave like edid-decode.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-20 08:07:22 +00:00
Simon Ser
eea7215002
di-edid-decode: print preferred flag for type I timing
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-03 14:14:45 +02:00
Simon Ser
cad7de92c7
displayid: add support for display parameters data block
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-03 08:56:03 +02:00