Re: Call for an EDID parsing library

2021-04-08 Thread Hans Verkuil
On 07/04/2021 12:31, Jani Nikula wrote: > On Wed, 07 Apr 2021, Hans Verkuil wrote: >> It is the most complete EDID parser I know based on the various standards. > > Does it support pure DisplayID in addition to DisplayID blocks embedded > to EDID extension blocks? I thin

Re: Call for an EDID parsing library

2021-04-08 Thread Hans Verkuil
Hi Pekka, On 07/04/2021 10:44, Pekka Paalanen wrote: > Hi all, > > with display servers proliferating thanks to Wayland, and the Linux > kernel exposing only a very limited set of information based on EDID > (rightfully so!), the need to interpret EDID blobs is spreading even > more. I would

Re: [ANN] edid-decode maintenance info

2018-08-13 Thread Hans Verkuil
On 13/08/18 08:13, Daniel Stone wrote: > Hi, > > On Sun, 12 Aug 2018 at 21:53, Alan Coopersmith > wrote: >> On 06/22/18 01:12 AM, Hans Verkuil wrote: >>> Thank you for this information. I looked through all the bug reports and >>> 100607, 100340 and 93366 w

Re: [ANN] edid-decode maintenance info

2018-06-22 Thread Hans Verkuil
On 06/22/2018 01:36 AM, Alan Coopersmith wrote: > On 06/21/18 01:59 AM, Hans Verkuil wrote: >> Hi all, >> >> As Adam already announced earlier this week I'm taking over maintenance of >> the edid-decode utility. >> >> Since I am already maintaining other

[ANN] edid-decode maintenance info

2018-06-21 Thread Hans Verkuil
also know that some patches for edid-decode were posted to xorg-devel that were never applied. I will try to find them, but to be safe it is best to repost them to linux-media. Regards, Hans Verkuil ___ xorg-devel@lists.x.org: X.Org development

[PATCHv3 13/12] edid-decode: Speaker location typo

2017-09-12 Thread Hans Verkuil
TpFH -> TpFR Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index 92dbfcf1..5592227d 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -1693,7 +1693,7 @@ sta

[PATCHv3 06/12] edid-decode: add DCI-P3 support in colorimetry block

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This bit was added in CTA-861-G. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index 074cb821..2727fd18 100644 --- a/edid-decode.

[PATCHv3 12/12] edid-decode: add support for the HDMI Audio Data Block

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This was introduced in HDMI 2.0. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 70 ++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/edi

[PATCHv3 05/12] edid-decode: add new CTA-861-G VIC codes

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 93 +++ 1 file changed, 81 insertions(+),

[PATCHv3 07/12] edid-decode: support HLG, decode luminance values

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- Makefile | 2 +- edid-d

[PATCHv3 02/12] edid-decode: update Audio Block with CEA-861.2

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for extended audio formats and report the format specific information. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 51 --- 1 file changed, 44 inse

[PATCHv3 01/12] edid-decode: fix broken bit tests

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[PATCHv3 08/12] edid-decode: add HDR Dynamic Metadata Data Block

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support this CTA-861-G data block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index b2b116

[PATCHv3 09/12] edid-decode: sync cea_block data block names with standard

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The names where a bit irregular, sync them up with the CTA-861-G standard. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/e

[PATCHv3 03/12] edid-decode: update Speaker Allocation data block

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> More bits are now in use, implement support for those. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/edi

[PATCHv3 04/12] edid-decode: add support for Room/Speaker data blocks

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the Room Configuration Data Block and the Speaker Location Data Block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 112 -- 1 file changed, 10

[PATCHv3 10/12] edid-decode: rename CEA/cea to CTA/cta

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The Consumer Electronics Association was renamed to Consumer Technology Association. Update all cea references to cta. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-de

[PATCHv3 00/12] edid-decode: support new blocks, fix bad bit tests

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This second round of patches adds support for new post-CTA-861-F EDID additions. The first patch fixes three badly broken bit-tests. Arnaud Vrac caught one of those three as well: https://patchwork.freedesktop.org/patch/174655/ But this patch

[PATCHv3 11/12] edid-decode: add support for InfoFrame data block

2017-09-09 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support this CTA-861 block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 32 1 file changed, 32 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index 550c2d58..c61

Re: [PATCHv2 5/8] edid-decode: add new CTA-861-G VIC codes

2017-09-08 Thread Hans Verkuil
On 09/08/17 15:13, walter harms wrote: > > > Am 08.09.2017 12:32, schrieb Hans Verkuil: >> From: Hans Verkuil <hans.verk...@cisco.com> >> >> The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. >> >> Signed-off-by: Hans Verkuil <

Re: [PATCHv2 4/8] edid-decode: add support for Room/Speaker data blocks

2017-09-08 Thread Hans Verkuil
On 09/08/17 15:05, walter harms wrote: > > > Am 08.09.2017 12:32, schrieb Hans Verkuil: >> From: Hans Verkuil <hans.verk...@cisco.com> >> >> Support the Room Configuration Data Block and the Speaker Location >> Data Block. >> >>

[PATCHv2 5/8] edid-decode: add new CTA-861-G VIC codes

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 93 +++ 1 file changed, 81 insertions(+),

[PATCHv2 8/8] edid-decode: add HDR Dynamic Metadata Data Block

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support this CTA-861-G data block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index b2b116

[PATCHv2 6/8] edid-decode: add DCI-P3 support in colorimetry block

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This bit was added in CTA-861-G. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index 074cb821..2727fd18 100644 --- a/edid-decode.

[PATCHv2 7/8] edid-decode: support HLG, decode luminance values

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- Makefile | 2 +- edid-d

[PATCHv2 2/8] edid-decode: update Audio Block with CEA-861.2

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for extended audio formats and report the format specific information. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 51 --- 1 file changed, 44 inse

[PATCHv2 1/8] edid-decode: fix broken bit tests

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[PATCHv2 4/8] edid-decode: add support for Room/Speaker data blocks

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the Room Configuration Data Block and the Speaker Location Data Block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 112 -- 1 file changed, 10

[PATCHv2 0/8] edid-decode: support new blocks, fix bad bit tests

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This second round of patches adds support for new post-CEA-861-F EDID additions. The first patch fixes three badly broken bit-tests. Arnaud Vrac caught one of those three as well: https://patchwork.freedesktop.org/patch/174655/ But this patch

[PATCHv2 3/8] edid-decode: update Speaker Allocation data block

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> More bits are now in use, implement support for those. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/edi

Re: [PATCH 2/8] edid-decode: update Speaker Allocation data block

2017-09-08 Thread Hans Verkuil
On 09/08/17 10:50, walter harms wrote: > > > Am 07.09.2017 20:03, schrieb Hans Verkuil: >> From: Hans Verkuil <hans.verk...@cisco.com> >> >> More bits are now in use, implement support for those. >> >> Signed-off-by: Hans Verkuil <hans.

Re: [PATCH 7/8] edid-decode: add HDR Dynamic Metadata Data Block

2017-09-08 Thread Hans Verkuil
On 09/08/17 10:22, walter harms wrote: > > > Am 07.09.2017 20:03, schrieb Hans Verkuil: >> From: Hans Verkuil <hans.verk...@cisco.com> >> >> Support this CTA-861-G data block. >> >> Signed-off-by: Hans Verkuil <hans.

Re: [PATCH 6/8] edid-decode: support HLG, decode luminance values

2017-09-08 Thread Hans Verkuil
On 09/08/17 10:28, walter harms wrote: > > > Am 07.09.2017 20:03, schrieb Hans Verkuil: >> From: Hans Verkuil <hans.verk...@cisco.com> >> >> Add support for the new CTA-861-G Hybrid Log-Gamma transfer >> function. >> >> Also decode the luminan

Re: [PATCH 0/8] edid-decode: support new blocks, fix bad bit tests

2017-09-08 Thread Hans Verkuil
On 09/07/2017 08:03 PM, Hans Verkuil wrote: > From: Hans Verkuil <hans.verk...@cisco.com> > > This second round of patches adds support for new post-CEA-861-F > EDID additions. The last patch fixes three badly broken bit-tests. > > Arnaud Vrac caught one of those t

[PATCH 9/8] edid-decode: increase indentation for audio properties

2017-09-08 Thread Hans Verkuil
When printing the audio properties of an audio format, indent the text a bit further to the right to make it easier to see where each audio format starts and to which audio format the properties belong. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 12 ++---

Re: [PATCH 00/27] edid-decode: fixes and new features and checks

2017-09-07 Thread Hans Verkuil
On 09/07/2017 06:47 PM, Adam Jackson wrote: > On Thu, 2017-09-07 at 08:53 +0200, Hans Verkuil wrote: > >> Just wondering who will pick this up and (hopefully) merge it and >> when? >> I have more edid-decode patches pending and I was wondering whether I >> shou

[PATCH 5/8] edid-decode: add DCI-P3 support in colorimetry block

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This bit was added in CTA-861-G. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index caf35907..d0da48e2 100644 --- a/edid-decode.

[PATCH 6/8] edid-decode: support HLG, decode luminance values

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- Makefile | 2 +- edid-d

[PATCH 4/8] edid-decode: add new CTA-861-G VIC codes

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 93 +++ 1 file changed, 81 insertions(+),

[PATCH 0/8] edid-decode: support new blocks, fix bad bit tests

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This second round of patches adds support for new post-CEA-861-F EDID additions. The last patch fixes three badly broken bit-tests. Arnaud Vrac caught one of those three as well: https://patchwork.freedesktop.org/patch/174655/ But this patch

[PATCH 2/8] edid-decode: update Speaker Allocation data block

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> More bits are now in use, implement support for those. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/edi

[PATCH 3/8] edid-decode: add support for Room/Speaker data blocks

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the Room Configuration Data Block and the Speaker Location Data Block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 79 --- 1 file changed, 76 inse

[PATCH 8/8] edid-decode: fix broken bit tests

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[PATCH 1/8] edid-decode: update Audio Block with CEA-861.2

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for extended audio formats and report the format specific information. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 45 + 1 file changed, 41 insertions(+),

[PATCH 7/8] edid-decode: add HDR Dynamic Metadata Data Block

2017-09-07 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support this CTA-861-G data block. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 33 + 1 file changed, 33 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index effcf7

Re: [PATCH 00/27] edid-decode: fixes and new features and checks

2017-09-07 Thread Hans Verkuil
Hi all, On 08/31/2017 01:40 PM, Hans Verkuil wrote: > From: Hans Verkuil <hans.verk...@cisco.com> > > This edid-decode patch series has been sitting in my git repo for > way too long, so it is time to upstream this. > > We (that is Cisco Systems Norway) have been using t

[PATCH 26/27] edid-decode: calculate hfreq and clock from CVT

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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

[PATCH 24/27] edid-decode: check Max TMDS Rates

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 22 ++

[PATCH 08/27] edid-decode: fix "Supports CVT standard blanking"

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The wrong bit was tested. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index 4105700f..5a162b14 100644 --- a/e

[PATCH 02/27] edid-decode: print the chromaticities

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Also warn if the sRGB bit is set but the chromaticities do not match sRGB. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 38 -- 1 file changed, 36 insertions(+), 2 deletions(-)

[PATCH 15/27] edid-decode: SVDs in the 4:2:0 Data Block have half the pixclk

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 9 + 1 fil

[PATCH 27/27] edid-decode: show correct EDID version in string

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@

[PATCH 19/27] edid-decode: fix 1.3/1.4 differences in Model Year and Feature Support

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hansv...@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 <hansv...@cisco.com> --- edid-decode.c | 43 +-- 1 file changed, 21 inser

[PATCH 22/27] edid-decode: allow for comma separated hex values

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hansv...@cisco.com> Useful when the hex dump comes from source code. Signed-off-by: Hans Verkuil <hansv...@cisco.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index d38d2a3d..ea4

[PATCH 03/27] edid-decode: report picture aspect ratio

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 296 +++--- 1 file changed, 157 insertions(+), 139 deletions(-) diff --git a/edid-decode.c b/edid-decode.c in

[PATCH 01/27] edid-decode: add HDMI Forum VSDB support

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-d

[PATCH 17/27] edid-decode: fix has_preferred_timing handling for 1.4

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 9 +

[PATCH 23/27] edid-decode: allow the year to be one year in the future

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hansv...@cisco.com> Prototypes may have a year that is in the future, so give this a bit more slack. Signed-off-by: Hans Verkuil <hansv...@cisco.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-de

[PATCH 25/27] edid-decode: check if HDMI VICs are also in the VSB

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Issue a warning if that is not the case. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/edid-decode.c b/e

[PATCH 06/27] edid-decode: bit 0, byte 0x18 has been renamed for EDID 1.4

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --

[PATCH 16/27] edid-decode: YCbCr 4:2:0 Capability Map support

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 17 + 1 file changed, 17 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index 0ae465f2..c1503366 100644 --- a/edid-decode.c +++ b/e

[PATCH 05/27] edid-decode: verify 640x480p60 is defined for CEA-861

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support for this format is required by the CEA-861 spec. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index e40a33

[PATCH 13/27] edid-decode: add horizontal freq and pixelclock

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add the horizontal frequency and pixelclock information to the established timings and VIC codes. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 381 +++--- 1

[PATCH 07/27] edid-decode: fix CVT version

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Parenthesis are needed to correctly report the CVT version. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c in

[PATCH 10/27] edid-decode: add Display Color Management support

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Print the contents of the DCM definition. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index 3ea3cb

[PATCH 09/27] edid-decode: add support for the "More standard timings" block

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support display descriptor tag 0xFA which reports more standard timings. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 88 +++ 1 file changed, 46 inser

[PATCH 12/27] edid-decode: add support for Established Timings III

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 66 +-- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/edid-decode.c b/edid-decode.c in

[PATCH 04/27] edid-decode: add check for both serial number and string

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@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.verk...@cisco.com> --- edid-decode.c | 9 + 1 file changed, 9 insertions(+) diff

[PATCH 21/27] edid-decode: improve the hex dump parser to be more generic

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hansv...@cisco.com> Allow for spaces and '0x' prefixes. Signed-off-by: Hans Verkuil <hansv...@cisco.com> --- edid-decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index 58dc1c13..d38d2a3d 10064

[PATCH 00/27] edid-decode: fixes and new features and checks

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This edid-decode patch series has been sitting in my git repo for way too long, so it is time to upstream this. We (that is Cisco Systems Norway) have been using this to verify both our own and others EDIDs. So besides adding support for ne

[PATCH 18/27] edid-decode: fix week/year interpretation.

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Correctly interpret the week/year bytes. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- edid-decode.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index 38cd72b6..ed7