Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixed edid-decode warnings in these test EDIDs.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
If the EDID file is 0 bytes, then say so instead of saying
'unknown format'.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Detailed Timing Descriptors often are identical to a VIC or
DMT. But sometimes they are off a little bit, either due to
slightly different porches or sync widths, or due to different
polarities.
Warn if this is the case, since it is probably a bug in the EDID.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
If the CTA-861 block is absent, then edid-decode would still show
the preferred and native timings 'if Block 0 and CTA-861 Blocks are
parsed'. Fix this.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This option only shows the hex dump of the EDID and doesn't do
any parsing.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Report the physical address in hex, so it will look like f.f.f.f instead
of 15.15.15.15.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Added "Microsoft EDID extension for head-mounted and specialized
monitors, Version 3".
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Format the container IDs consistently.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Add support for parsing VSDBs documented in Microsoft's "EDID extension
for head-mounted and specialized monitors" [1].
[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/display/specialized-monitors-edid-extension
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This is currently a warning, but it should be a failure.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Improve checks for the audio/video latency values in the HDMI
H14b VSDB according to the HDMI 2.0b spec.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This is consistent with the other code.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The 'VIC 97 is the preferred timing, overriding the first detailed
timings. Is this intended?' message is confusing if the VIC and the
first DTD have matching timings. In that case change the message to
'For improved preferred timing interoperability, set 'Native detailed
modes' to 1.'.
Also downgrade the 'Set Selectable YCbCr Quantization to avoid interop
issues.' message to a warn(). Too many EDIDs do not set this, and the
interop risks are a lot lower compared to RGB Quantization.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This makes it a bit easier to map an established timing to a
specific bit.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
EDID 1.3 and 1.4 have conflicting definitions about how to
interpret borders and blanking in a DTD. And actual EDIDs interpret
different from both specs.
Follow what EDIDs do, and add a warning that non-zero borders in a
DTD is not recommended.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Add new options to show all Established Timings, DMTs, VICs and
HDMI VICs.
Add new options to show the timings for specific Standard Timing codes,
or DMT, VIC and HDMI VIC codes.
Add new options to calculate GTF and CVT timings, fully implementing the
GTF and CVT standards, including interlaced, overscan, reduced blanking
and support for the GTF Secondary Curve.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Update DMT 4 and 5 accordingly, and add the borders to the
horizontal and vertical blanking calculations.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The calculation of the min/max pixelclock had a 32 bit overflow.
Cast the factor 1000 to unsigned long long (1000ULL).
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
1) Add units where applicable for the sec. curve params.
2) Show only one decimal for C and J
3) Remove check if x[13] or x[17] > 127: this is wrong since
x[13] is C / 2, not C.
4) Add check if the sec curve block is all 0, even though
support for the sec curve is signaled in the EDID.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The print_timings() function skips the validation checks if
!do_checks. But it should also skip the setting of min/max
state variables used to determine whether any timings are out
of range. I.e., if do_checks is false, just show the timings
without any side-effects.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
1) Warn if a 1.4 EDID supports GTF instead of CVT (GTF is deprecated)
2) If a 1.4 EDID only supports GTF, then do not report Standard Timings
as CVT.
3) Drop the check that GTF and/or CVT support must be present if an
explicit GTF or CVT timing is supported: GTF/CVT support indicates
that any GTF/CVT timings within the Display Range Limits is accepted,
but explicitly indicated GTF/CVT timings are always assumed to be
supported as discrete timings.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Explicitly state that all DTD image sizes fit inside 255x255cm.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
1) when print_timings is called to show preferred and/or native
timings, skip any checks. Those have been done already when these
timings were first parsed, and doing it again results in duplicate
messages.
2) if the display size is 0x0 and the max image size > 2559x2559mm, then
do not fail since the display size can only report sizes smaller than
that.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Selectable RGB/YCbCr Quantization is now required as per CTA-861-H,
so make it a fail if it is 0.
Also add an S_PT check: should be 0 if it is equal to S_IT and S_CE.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The DisplayID 1.3 reporting of the native format was off by 1.
Also check if the resolution is either all 0 (no native format
specified) or all non-0.
Finally check for consistency with the reported native resolution
by the CTA block.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The precision is only 4 decimals, so change %.6f to %.4f.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
The pixelclock min/max values were off by one.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
Show actual luminance values instead of just the bytes.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
T4-T6 are Min values only, not ranges.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
CTA-861-H explicitly stated which Data Blocks are allowed
to have multiple instances. Fail if duplicate Data Blocks
are found where only a single instance is allowed.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
CTA-861-H more clearly described the relationship between the
RCDB and SLDB Data Blocks, so implement new checks that verify
the correctness of these DBs.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This is all based on educated guesses since no freely available
specification for this is available.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Added support for Display Device Theme Preference.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Check if a T7VTDB can also be represented by a DTD or a T10VTDB.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
CVT Reduced Blanking version 2 was never implemented, do this
now. Also add support for the new version 3.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
It's now up to date for CTA-861-H.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The VFPDB now supports references to VTDBs as well. Add support for
this.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Add support for DisplayID Types VII, VIII and X to the CTA parser.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
This function will be needed in the CTA parser as well, so make
this a method of edid_state.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
If only Dolby TrueHD is supported, then don't check bit 1 regarding
the hash calculation, since that applies only to object audio PCM or
channel-based PCM.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: SweetLow <sweetlow@tut.by>
|
|
If 3D_Detail_X was 0 for side-by-side, then nothing was reported about
the subsampling, i.e. 'nothing' just implied that any subsampling was
supported. Make this explicit and now report 'any subsampling'.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
Added support for this VSDB.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The MAT audio format has two bits in the Audio Format Code dependent
value, show those.
For other audio formats that have an AFCdv, show this value.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
This bit was inverted, fix that.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: val.zapod.vz@gmail.com
|
|
This option gave a breakdown of the first block like this:
Extracted contents:
header: 00 ff ff ff ff ff ff 00
serial number: 22 f0 08 28 01 01 01 01 19 12
version: 01 04
basic params: a5 2f 1e 78 ee
chroma info: ce 50 a3 54 4c 99 26 0f 50 54
established: a5 6b 80
standard: 81 40 81 80 95 00 b3 00 a9 00 01 01 01 01 01 01
descriptor 1: 21 39 90 30 62 1a 27 40 68 b0 36 00 d6 2c 11 00 00 1c
descriptor 2: 00 00 00 fd 00 30 55 1e 5d 11 04 11 50 d2 f8 58 f0 00
descriptor 3: 00 00 00 fc 00 48 50 20 4c 50 32 32 37 35 77 0a 20 20
descriptor 4: 00 00 00 ff 00 43 4e 43 38 32 35 30 47 53 53 0a 20 20
extensions: 00
checksum: 63
This option was kept for backwards compatibility with the old
edid-decode utility, but I never saw the point of such a breakdown.
Remove this option.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Make sure the message formatting is consistent. Most fail/warn
messages ended with a period, but not all.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
edid_cvt_mode() assigns t.vsync twice. Drop the first assignment.
Reported by val.zapod.vz@gmail.com.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
The edid_hdmi_mode_map array access is off by one, fix this.
Reported by val.zapod.vz@gmail.com.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
256-blocks.test, blockmap-128.test and blockmap-255.test
all contain a CVT video format of 1920x1079, that should
be 1920x1080. Fix this.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
If this option is used, then all serial numbers in the human
readable output are placed by ...
Note that they can still be extracted via the hex dump at the
start, but at least it is not easily readable anymore.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|