Re: nouveau "eDP-1: EDID is invalid" regression after 4.11 with HP ZBook 15 G3

From: Tommi Rantala
Date: Sun May 14 2017 - 11:10:44 EST


Hi,

Bisected this to:

commit df8dc97cd17269474344d73cc02739532c468d04
Author: Ben Skeggs <bskeggs@xxxxxxxxxx>
Date: Wed Mar 1 09:42:04 2017 +1000

drm/nouveau/kms/nv50: use drm core i2c-over-aux algorithm

I'm not entirely sure NVKM needs to support this now, but I haven't
removed it as of yet just in case it's needed from DEVINIT scripts
where DRM isn't available.

Signed-off-by: Ben Skeggs <bskeggs@xxxxxxxxxx>


dmesg after boot with drm.debug enabled:

v4.10-10409-g5c68d91 (still works):
http://termbin.com/b0is

v4.10-10410-gdf8dc97 (failure):
http://termbin.com/j6lq


Tommi


2017-05-10 11:24 GMT+03:00 Tommi Rantala <tt.rantala@xxxxxxxxx>:
> Hi,
>
> The HP ZBook 15 G3 laptop builtin display (eDP-1) does not work
> correctly with v4.11-11413-g2868b25.
>
> When booting the laptop, the resolution seems to be limited to
> 1024x768, and gnome-session segfaults.
>
> Up to 4.11 the display works just fine in 1920x1080 mode.
>
> I'm seeing this in the kernel logs:
>
> nouveau 0000:01:00.0: eDP-1: EDID is invalid:
> [00] BAD 00 ff ff ff ff ff ff 00 ff ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff 84 53 54
> [00] BAD 66 69 50 55 57 66 74 49 48 ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> [00] BAD ff ff ff ff ff ff ff ff ff ff ff 00 00 ff 00 ff
> nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for eDP-1
> [drm] Cannot find any crtc or sizes - going 1024x768
>
>
> $ lspci | grep NVIDIA
> 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro
> M2000M] (rev a2)
>
> Any ideas, or should I bisect?
>
> 4.11 dmesg & xrandr output:
> https://pastebin.com/raw/P9LGP7e1
>
> 4.11-11413-g2868b25 dmesg:
> https://pastebin.com/raw/QBT9mMua
>
> -Tommi