Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Mmm, PIE.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
TpFH -> TpFR
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This was introduced in HDMI 2.0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support this CTA-861 block.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The Consumer Electronics Association was renamed to Consumer Technology
Association. Update all cea references to cta.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The names where a bit irregular, sync them up with the CTA-861-G
standard.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support this CTA-861-G data block.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Add support for the new CTA-861-G Hybrid Log-Gamma transfer
function.
Also decode the luminance values in the static metadata block to
cd/m^2 values.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This bit was added in CTA-861-G.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support the Room Configuration Data Block and the Speaker Location
Data Block.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
More bits are now in use, implement support for those.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Add support for extended audio formats and report the format
specific information.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
'if (x[0] >> i)' is not how you test if bit i is set.
'if (x[0] & (1 << i))' works a lot better!
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Show correct EDID version in a string. Also turn the monitor range
check into a warning for EDID 1.4 (an 1.4 Errata says that explicitly
mentioned timings supersede the monitor range definition).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support CVT 3 byte codes and calculate the horizontal frequencies
and max clock from them. Use this to improve the range checking.
Also always print the hfreq and clock for the timings to help
figuring out which timings are out of the monitor range.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Issue a warning if that is not the case.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The max TMDS rate in the HDMI VSDB is 340 MHz and the max TMDS
rate in the HDMI Forum VSDB is 0 or in the range 341-600 MHz.
Check for this.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Prototypes may have a year that is in the future, so give this a bit more
slack.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
Useful when the hex dump comes from source code.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
Allow for spaces and '0x' prefixes.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
Commit e12845d9 accidentally commented out the return 1 when no edid was found.
Uncomment it and also use stderr for the error message.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
The Model Year is only available in 1.4. And in 1.3 bits 4-3 are always
for the Display Type.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
|
|
Correctly interpret the week/year bytes.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The meaning of the preferred timing bit changed in 1.4. In that case
there is always a preferred timing, but how it is interpreted depends
on this bit.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
SVDs in the 4:2:0 Capability Data Block run at half the normal
pixelclock. Take that into consideration when updating the max
pixelclock.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Calculate the minimum and maximum required frequencies given the list
of timings. Check this against the listed monitor frequencies.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Add the horizontal frequency and pixelclock information to the
established timings and VIC codes.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support the Color Point Descriptor Definition (tag 0xfb).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Print the contents of the DCM definition.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support display descriptor tag 0xFA which reports more standard timings.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The wrong bit was tested.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Parenthesis are needed to correctly report the CVT version.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This bit was "Supports GTF timings within operating range", but for
EDID 1.4 it has been renamed to "Display is continuous frequency".
Update the text accordingly.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support for this format is required by the CEA-861 spec.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
According to CEA-861-F if the serial string is provided in the detailed
block, then the serial number should be 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Also warn if the sRGB bit is set but the chromaticities do not
match sRGB.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Besides printing the contents of that data block, also check
that the HF VSDB comes immediately after the HDMI VSDB as per the
spec.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
|
|
I don't think I've ever seen a block map in the wild, and at least
data/dell-up2715k-dp has the value 2 here and seems otherwise cromulent,
so let's stop calling this a problem.
|
|
Sample for HDR metadata.
|
|
Test data for DisplayID extension parsing.
|
|
Reviewed-by: Adam Jackson <ajax@redhat.com>
|
|
DisplayID, unlike EDID and CEA, is a variable length structure.
Allow for reuse of do_checksum by adding a length parameter.
Return a boolean to allow the caller to record failure.
Reviewed-by: wharms@bfs.de
|
|
This was mishandling spaces before the terminating newline, the result
would be truncated and we'd falsely consider the block to be incorrectly
terminated.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
|