[PATH edid-decode] Fix eotf map reading, each transfer function is encoded in 1 bit

2017-08-31 Thread Arnaud Vrac
Signed-off-by: Arnaud Vrac --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index ba710f0..ac1abd1 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -1126,7 +1126,7 @@ cea_hdr_metadata_block(unsigned char *x)

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

2017-08-31 Thread Alex Deucher
On Thu, Aug 31, 2017 at 7:40 AM, Hans Verkuil wrote: > From: Hans Verkuil > > 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

Re: [PATCH] modesetting: Add common 16by9 and 16by10 resolutions to mode list

2017-08-31 Thread Michael Cronenworth
Sorry for the delay. On 08/23/2017 03:14 PM, Adam Jackson wrote: No it doesn't? There exist non-4:3 modes in the xf86DefaultModes list, and nothing in the driver looks like it has any preference for 4:3 modes. How are you reaching this conclusion? I should have been specific. My VGA/DVI/HDMI

Re: [PATCH] glx: add GLX_ARB_create_context_no_error support

2017-08-31 Thread Adam Jackson
On Thu, 2017-08-03 at 20:07 +0200, Grigori Goronzy wrote: > Add the necessary bits to parse the attribute, convert the value > to DRI context flags where needed and enforce the rules outlined in > the specification. I'm a little hesitant to merge this. I think, if the server is running with

Re: [PATCH] render: Reset animated cursor timer when sprite changes.

2017-08-31 Thread Keith Packard
m...@suse.com writes: > From: Michal Srb > > Previously the timer would not reset if the sprite changed and timer from a > previous animated cursor was pending. That caused trouble with non-looped > animated cursors that use very long delay on the last frame to prevent > looping.

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

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

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil 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 --- edid-decode.c | 22 +++--- 1 file

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil The wrong bit was tested. Signed-off-by: Hans Verkuil --- 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/edid-decode.c +++

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

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

[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 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 --- edid-decode.c | 9 + 1 file changed, 5

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

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

[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 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 --- edid-decode.c | 43 +-- 1 file changed, 21 insertions(+), 22

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

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

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- edid-decode.c | 296 +++--- 1 file changed, 157 insertions(+), 139 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil 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 --- edid-decode.c | 45

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil 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 --- edid-decode.c | 9 - 1 file

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

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

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

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

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

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- 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/edid-decode.c @@

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Support for this format is required by the CEA-861 spec. Signed-off-by: Hans Verkuil --- edid-decode.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/edid-decode.c b/edid-decode.c index e40a33ff..693e29d8

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Add the horizontal frequency and pixelclock information to the established timings and VIC codes. Signed-off-by: Hans Verkuil --- edid-decode.c | 381 +++--- 1 file changed,

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

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

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

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

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Support display descriptor tag 0xFA which reports more standard timings. Signed-off-by: Hans Verkuil --- edid-decode.c | 88 +++ 1 file changed, 46 insertions(+), 42

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- edid-decode.c | 66 +-- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index

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

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

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

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

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

2017-08-31 Thread Hans Verkuil
From: Hans Verkuil 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 new data

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

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

[PATCH xserver] xwayland: Fix a segfault with pointer locking

2017-08-31 Thread Olivier Fourdan
Xwayland would crash in some circumstances while trying to issue a pointer locking when the cursor is hidden when there is no seat focus window set. The crash signature looks like: #0 zwp_pointer_constraints_v1_lock_pointer () #1 xwl_pointer_warp_emulator_lock () at xwayland-input.c:2584 #2

Re: [RFC dri3proto v2 1/10] Add modifier/multi-plane requests, bump to v1.1

2017-08-31 Thread Louis-Francis Ratté-Boulianne
Hi, On Wednesday, August 30, 2017 02:26 EDT, Michel Dänzer wrote: > On 30/08/17 01:45 PM, Louis-Francis Ratté-Boulianne wrote: > > From: Daniel Stone > > > > DRI3 version 1.1 adds support for explicit format modifiers, including > > multi-planar

[PATCH] render: Reset animated cursor timer when sprite changes.

2017-08-31 Thread msrb
From: Michal Srb Previously the timer would not reset if the sprite changed and timer from a previous animated cursor was pending. That caused trouble with non-looped animated cursors that use very long delay on the last frame to prevent looping. No animation played after such