Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2015ybi; Thu, 11 Jul 2019 13:30:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqykTUZ7bQSpUyBe+VxQzERNKL522USrOTC4rdO7zmM/dkhn5LkmJLKmBygGvFoGL+f13IaB X-Received: by 2002:a17:90a:b011:: with SMTP id x17mr7014873pjq.113.1562877047915; Thu, 11 Jul 2019 13:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562877047; cv=none; d=google.com; s=arc-20160816; b=apTovIymaZaXJ6/kh0jcYnBK3vExOhyD3sP+aG+Dpawm6VDDXKFq1a25sM8aLx8Whb RNe0IguR2XmbshMxmSJLs5oHBuXlL1X7P2Uc0u+nHr11vw3dRH146YPtJtqyI2/c4h9N eZuuVKaotH8JyU12D/yd4KZ2nhP2jhaK5N96kRq1Cv5vtIRZo0dBb9CfDoVrwYMU2lGo 6/M4kCxi+gf6wN7lIINyIO9NK6MwmvzeCY0lqxDjdLdmK+P3v6eMdJfVP5hR5NWJ5FOS A2sb+GGXy9O989TvCJfGDDAKfkyMzeJ0IBu1IoHzO2Oy5UVBUzqP9HDllg0mRzMrm45t /O9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:dkim-signature; bh=ss/S8IHNbFJ9P/yuUnC9eTd3X7fn2m6fnXJot6fzPHo=; b=g9jFltoaIsB6OAGjvpT+Xluvi0KldhlncjeMFLvw89Q3EmKvrfQbvjcegI+CVtNeu7 bh4vf8A7SOL3xUNlLVEYkYjhSMyoQ2oeNiu/NqD8JsLOaZO5iKYjr8pBk5RiXb5LVepm pGu+WGJkksFFl3HH98WdH4QATMo4Rje7PUITg0wdAOIxjM5pgmtLZDP2gS0laguP6IU3 lPosrFeMCdRgqY0Uh7d/rlYe1ZTJNpSfNPdriEuDzd1Chbjfp7WxoyS4Jqamlv89yc0l 9xuGp5m2900yjeMWBWm3FLuaECydh8/3CU7iOI/ff8kJ9CXst5gtF6+G88MOmMHpjzFs qjNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=UGq3qb27; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=sLIy0+6b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w65si1526717pgb.20.2019.07.11.13.30.30; Thu, 11 Jul 2019 13:30:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=UGq3qb27; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=sLIy0+6b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730243AbfGKU2D (ORCPT + 99 others); Thu, 11 Jul 2019 16:28:03 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:40404 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728405AbfGKU2D (ORCPT ); Thu, 11 Jul 2019 16:28:03 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id EFEBE8EE2F6; Thu, 11 Jul 2019 13:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562876883; bh=tOhs8f4r8n99C7Dwe6jIkqXz79BuqGcsiAAftv+McgI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=UGq3qb27timwDHMLk7ncnVTghcfVqRM8uIJ2c3VXsxVzeBnSpJ05ifmuo/cKiE913 +FpMQJzIMwvxxIKr2j5htkqCBzF8LsYIgWLHgXLdRiqGII9tN1IesHtbBNO/psVeD0 8o+vVV/83poj8tSSKzyMEi9Mzf1C0ID+G9nLhe/w= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R5EAXpAep5mT; Thu, 11 Jul 2019 13:28:02 -0700 (PDT) Received: from jarvis.lan (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 82E568EE0C7; Thu, 11 Jul 2019 13:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1562876882; bh=tOhs8f4r8n99C7Dwe6jIkqXz79BuqGcsiAAftv+McgI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=sLIy0+6biRRec3aXnsHVZ67zVQyhZ9bymjkyNrSLJ003OZn6lNI8Xc8QPOnE4Tyb9 KSJt2Whj6igTcZacZIk6ByzN3UrGEexy0n8GPUg/qfRLZ+t8tHk36bBSTHt4Fw/G1+ ScL5oS9mz5yI1BYyRFDJPiFfYq9Dk9n+HKekW3z0= Message-ID: <1562876880.2840.12.camel@HansenPartnership.com> Subject: Re: [Intel-gfx] screen freeze with 5.2-rc6 Dell XPS-13 skylake i915 From: James Bottomley To: "Souza, Jose" , "intel-gfx@lists.freedesktop.org" , "chris@chris-wilson.co.uk" Cc: "linux-kernel@vger.kernel.org" Date: Thu, 11 Jul 2019 13:28:00 -0700 In-Reply-To: <27a5b2ca8cfc79bf617387a363ea7192acc4e1f0.camel@intel.com> References: <1561834612.3071.6.camel@HansenPartnership.com> <156283735757.12757.8954391372130933707@skylake-alporthouse-com> <1562875878.2840.0.camel@HansenPartnership.com> <27a5b2ca8cfc79bf617387a363ea7192acc4e1f0.camel@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-07-11 at 20:25 +0000, Souza, Jose wrote: > On Thu, 2019-07-11 at 13:11 -0700, James Bottomley wrote: > > On Thu, 2019-07-11 at 10:29 +0100, Chris Wilson wrote: > > > Quoting James Bottomley (2019-06-29 19:56:52) > > > > The symptoms are really weird: the screen image is locked in > > > > place. The machine is still functional and if I log in over > > > > the network can do anything I like, including killing the X > > > > server and the display will never alter. It also seems that > > > > the system is accepting keyboard input because when it freezes > > > > I can cat information to a file (if the mouse was over an > > > > xterm) and verify over the network the file contents. Nothing > > > > unusual appears in dmesg when the lockup happens. > > > > > > > > The last kernel I booted successfully on the system was 5.0, so > > > > I'll try compiling 5.1 to narrow down the changes. > > > > > > It's likely this is panel self-refresh going haywire. > > > > > > commit 8f6e87d6d561f10cfa48a687345512419839b6d8 > > > Author: José Roberto de Souza > > > Date: Thu Mar 7 16:00:50 2019 -0800 > > > > > > drm/i915: Enable PSR2 by default > > > > > > The support for PSR2 was polished, IGT tests for PSR2 was > > > added and > > > it was tested performing regular user workloads like > > > browsing, > > > editing documents and compiling Linux, so it is time to > > > enable it by > > > default and enjoy even more power-savings. > > > > > > Temporary workaround would be to set i915.enable_psr=0 > > > > It looks plausible. I have to say I was just about to mark a > > bisect containing this as good, but that probably reflects my > > difficulty > > reproducing the issue. > > Take at look of what PSR version is supported by your panel, it > likely that a notebook shipped with Skylake will have panel that > supports only PSR1 so that patch has no effect on your machine. > > sudo more /sys/kernel/debug/dri/0/i915_edp_psr_status > Sink support: yes [0x01] It says Sink support: yes [0x01] PSR mode: PSR1 enabled Source PSR ctl: enabled [0x81f00726] Source PSR status: IDLE [0x04010212] Busy frontbuffer bits: 0x00000000 I've also updated to the released 5.2 kernel and am running with the debug parameters you requested ... but so far no reproduction. James