Re: [PATCH] glx: remove unused systemTimeExtension

2017-09-08 Thread Eric Anholt
Emil Velikov writes: > On 23 August 2017 at 18:08, Eric Anholt wrote: >> Emil Velikov writes: >> >>> Not even a single DRI2/DRISW driver in mesa ever used this. Appears to be a >>> dri1 artefact copy/pasted in the dri2/drisw

Re: [PATCH libpciaccess] linux: support 32 bit PCI domains (v2)

2017-09-08 Thread Eric Anholt
Adam Jackson writes: > From: Stephen Hemminger > > The PCI domain may be larger than 16 bits on Microsoft Azure and other > virtual environments. PCI busses reported by ACPI are limited to 16 > bits, but in Azure the domain value for pass through

[PATCH libICE 2/2] make IceProtocolShutdown() more readable

2017-09-08 Thread walter harms
I found IceProtocolShutdown() hard to read only to find that was it does it aktually very simple. So i rearranged the code to make it more readable. Signed-off-by: Walter Harms --- src/shutdown.c | 47 --- 1 file changed, 20

[PATCH libICE 1/2] free() can handle NULL so remove the check

2017-09-08 Thread walter harms
free() can handle NULL so remove the check Signed-off-by: Walter Harms --- src/authutil.c | 24 src/misc.c | 3 +-- src/process.c | 41 +++-- src/shutdown.c | 44 +++- 4

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 >> >> The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. >> >> Signed-off-by: Hans Verkuil >> --- >> edid-decode.c |

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 >> >> Support the Room Configuration Data Block and the Speaker Location >> Data Block. >> >> Signed-off-by: Hans Verkuil >> --- >>

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

2017-09-08 Thread walter harms
Am 08.09.2017 12:32, schrieb Hans Verkuil: > From: Hans Verkuil > > The CTA-861-G standard (successor to CEA-861-F) adds new VIC codes. > > Signed-off-by: Hans Verkuil > --- > edid-decode.c | 93 >

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

2017-09-08 Thread walter harms
Am 08.09.2017 12:32, schrieb Hans Verkuil: > From: Hans Verkuil > > Support the Room Configuration Data Block and the Speaker Location > Data Block. > > Signed-off-by: Hans Verkuil > --- > edid-decode.c | 112 >

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

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

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil Support this CTA-861-G data block. Signed-off-by: Hans Verkuil --- edid-decode.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index b2b116f3..0fe126cd

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil This bit was added in CTA-861-G. Signed-off-by: Hans Verkuil --- 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.c +++

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil 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 --- Makefile | 2 +- edid-decode.c | 15

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil Add support for extended audio formats and report the format specific information. Signed-off-by: Hans Verkuil --- edid-decode.c | 51 --- 1 file changed, 44 insertions(+), 7

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil '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 --- edid-decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil Support the Room Configuration Data Block and the Speaker Location Data Block. Signed-off-by: Hans Verkuil --- edid-decode.c | 112 -- 1 file changed, 109 insertions(+),

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

2017-09-08 Thread Hans Verkuil
From: Hans Verkuil 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 fixes

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

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

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 >> >> More bits are now in use, implement support for those. >> >> Signed-off-by: Hans Verkuil >> --- >> edid-decode.c | 38

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

2017-09-08 Thread walter harms
Am 07.09.2017 20:03, schrieb Hans Verkuil: > From: Hans Verkuil > > More bits are now in use, implement support for those. > > Signed-off-by: Hans Verkuil > --- > edid-decode.c | 38 ++ > 1 file changed, 22

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

2017-09-08 Thread walter harms
Am 07.09.2017 20:03, schrieb Hans Verkuil: > From: Hans Verkuil > > Support the Room Configuration Data Block and the Speaker Location > Data Block. > > Signed-off-by: Hans Verkuil > --- > edid-decode.c | 79 >

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 >> >> Support this CTA-861-G data block. >> >> Signed-off-by: Hans Verkuil >> --- >> edid-decode.c | 33

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 >> >> 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

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

2017-09-08 Thread walter harms
Am 07.09.2017 20:03, schrieb Hans Verkuil: > From: Hans Verkuil > > 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

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

2017-09-08 Thread walter harms
Am 07.09.2017 20:03, schrieb Hans Verkuil: > From: Hans Verkuil > > Support this CTA-861-G data block. > > Signed-off-by: Hans Verkuil > --- > edid-decode.c | 33 + > 1 file changed, 33 insertions(+) > > diff

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 > > 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: > >

[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 --- edid-decode.c | 12 ++-- 1