From: Mihai =?UTF-8?B?RG9uyJt1?= Subject: Re: i915: screen flicker Date: Wed, 27 Apr 2016 20:36:13 +0300 Message-ID: <20160427203613.7c394878@mdontu-l> References: <20160427004639.53a15c35@mdontu-l> <877ffjle8j.fsf@intel.com> <20160427130755.3f9d9c53@mdontu-l> <87k2jjjq59.fsf@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/sj2XfSRZuu6+czP2OYNfK8+" Return-path: Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 655AA6EBBE for ; Wed, 27 Apr 2016 17:37:27 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id r12so15389478wme.0 for ; Wed, 27 Apr 2016 10:37:27 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Rodrigo Vivi Cc: dri-devel@lists.freedesktop.org, Daniel Vetter , "Pandiyan, Dhinakaran" List-Id: dri-devel@lists.freedesktop.org --MP_/sj2XfSRZuu6+czP2OYNfK8+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 27 Apr 2016 08:28:20 -0700 Rodrigo Vivi wrote: > Hi Mihai, >=20 > What platform do you have? HSW or BDW? I have an i7, Haswell CPU. > If you don't know please provide lspci -nn I have attached the output of lspci, just in case. :-) > What happens if you boot with i915.enable_psr=3D2? I'll try now. > In case it helps, could you please boot with default > i915.enable_psr=3D-1 appying this patch to your kernel to know what your > VBT recommends: > diff --git a/drivers/gpu/drm/i915/intel_psr.c > b/drivers/gpu/drm/i915/intel_psr.c > index c3abae4..68bc405 100644 > --- a/drivers/gpu/drm/i915/intel_psr.c > +++ b/drivers/gpu/drm/i915/intel_psr.c > @@ -798,6 +798,8 @@ void intel_psr_init(struct drm_device *dev) > /* For new platforms let's respect VBT back again */ > dev_priv->psr.link_standby =3D > dev_priv->vbt.psr.full_link; >=20 > + DRM_ERROR("PSR: VBT recommends link_standby %d, using %d\n", > dev_priv->vbt.psr.full_link, dev_priv->psr.link_standby); > + > /* Override link_standby x link_off defaults */ > if (i915.enable_psr =3D=3D 2 && !dev_priv->psr.link_standby) { > DRM_DEBUG_KMS("PSR: Forcing link standby\n"); >=20 I applied your patch and booted with enable_psr=3D-1 [ 0.763651] [drm:intel_psr_init] *ERROR* PSR: VBT recommends link_standb= y 0, using 0 --=20 Mihai Don=C8=9Bu --MP_/sj2XfSRZuu6+czP2OYNfK8+ Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=lspci.txt 00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b) 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) 00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b) 00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04) 00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04) 00:16.3 Serial controller [0700]: Intel Corporation 8 Series HECI KT [8086:9c3d] (rev 04) 00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I218-LM [8086:155a] (rev 04) 00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04) 00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4) 00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4) 00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04) 00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04) 00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04) 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04) 02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73) --MP_/sj2XfSRZuu6+czP2OYNfK8+ Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --MP_/sj2XfSRZuu6+czP2OYNfK8+--