Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1194074pxb; Thu, 16 Sep 2021 01:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo9KOPItMiE4IPeHSsnaCgZVYB9wYrPMJ1WlFhudf9zkJNqhF4KI509aQ61egVNJoUfnyy X-Received: by 2002:a17:907:3e21:: with SMTP id hp33mr5027689ejc.205.1631781997614; Thu, 16 Sep 2021 01:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631781997; cv=none; d=google.com; s=arc-20160816; b=vR37NVFn2Sg6eLPaT44cf9UYPozPa1gtWuDUfx0ASR+Wv8triVATbFfUYqcdHWtEnG HyP+SKj51NvYTpWks8itfo21wAthnRj7iq9lFTRkQtakDiVP4fQfHes+KqCjl6vsE+Lw K6b9fbo5IFQsd4IIT0AsoBih813PVazVCPtUfo1O1FEnp1XyEmEHeNA0a3z4E7SexA9P cDZxxxaJUOc2ht8Uls+X8ntXLFjuHxoW4CU7BBzxKsMc9q2krGaXwMn7812jILoUDgH1 wfNnRpGKDKooR/QU2j+UdnzBheN7s6+y0Ewnl8CrCQMwIPbtp5C9+vksZC+GabRZshBY 4Rkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=QUTWxHInEA71ZhKUsmdjPl5+GBFnRgbN+WHGuwMzcag=; b=fvsmJirlap/rHPUs20oF9PPfRdYhMfbWN3515h2ndzifUXvQ7i0nuN0o+FOX6OdHmd m2n4uFSfzEi3uIHby95cieCNIQzuqgBj+xnXVY6sbilfLr2Cb+u5r/G2r42/E3G52xi9 aPcSPiesWL7im4Q8x1DN2A3RbIqxA0PEWRCqhsQmzCUMXm+n63i/w0nvmWSdanUo4DSm zBSsyekCGdbNYChpBuIW8KLEmt+rdtrVqWebc9n3AzMoz+ktOhvHPYvOGmRFiOwJXDHh Ryd27/t+GFeNNUmGD/2/N5PQ285etvXwW27bhGb1qmXiuMaI3bI/zXIhFIYvg/x8im5q 9erA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si2490666edc.81.2021.09.16.01.46.14; Thu, 16 Sep 2021 01:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235253AbhIPIpw (ORCPT + 99 others); Thu, 16 Sep 2021 04:45:52 -0400 Received: from mga09.intel.com ([134.134.136.24]:59804 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235219AbhIPIpv (ORCPT ); Thu, 16 Sep 2021 04:45:51 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10108"; a="222557457" X-IronPort-AV: E=Sophos;i="5.85,297,1624345200"; d="scan'208";a="222557457" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 01:44:31 -0700 X-IronPort-AV: E=Sophos;i="5.85,297,1624345200"; d="scan'208";a="516703015" Received: from ipoconno-mobl3.ger.corp.intel.com (HELO [10.213.234.111]) ([10.213.234.111]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 01:44:27 -0700 Subject: Re: 5.15-rc1 i915 blank screen booting on ThinkPads To: Hugh Dickins , intel-gfx@lists.freedesktop.org Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Vinay Belgaumkar , Michal Wajdeczko , Sujaritha Sundaresan , John Harrison , Daniele Ceraolo Spurio , Matt Roper , Lucas De Marchi , Matthew Brost , Dave Airlie , Daniel Vetter , Pavel Machek , linux-kernel@vger.kernel.org References: <9e1a6f3b-5e64-be91-ba54-9b5d135ef638@google.com> From: Tvrtko Ursulin Organization: Intel Corporation UK Plc Message-ID: <9e4c1c68-8d1e-ee2c-99bf-320046130775@linux.intel.com> Date: Thu, 16 Sep 2021 09:44:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <9e1a6f3b-5e64-be91-ba54-9b5d135ef638@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 16/09/2021 05:37, Hugh Dickins wrote: > Two Lenovo ThinkPads, old T420s (2011), newer X1 Carbon 5th gen (2017): > i915 working fine on both up to 5.14, but blank screens booting 5.15-rc1, > kernel crashed in some way. T420s could be SandyBridge and X1 Carbon KabyLake. > I wanted to say what i915 generations these are, but don't know where > to look - I don't see it in dmesg, even when DRM_I915_DEBUG enabled. > > Possibly relevant: builtin kernels, CONFIG_MODULES off, no initrd. > > On the older laptop: > > First bisection showed first bad commit > 41e5c17ebfc2 "drm/i915/guc/slpc: Sysfs hooks for SLPC" > > But reverting that still crashed boot with blank screen (and > reverting the two related commits after it made no difference). > > Second bisection, starting from 5.15-rc1 bad and 41e5c17ebfc2 "good", > but patching it out each time before building, showed first bad commit > 3ffe82d701a4 "drm/i915/xehp: handle new steering options" > > That one did not revert cleanly from 5.15-rc1, but reverting > 927dfdd09d8c "drm/i915/dg2: Add SQIDI steering" then > 1705f22c86fb "drm/i915/dg2: Update steering tables" then > 768fe28dd3dc "drm/i915/xehpsdv: Define steering tables" then > 3ffe82d701a4 "drm/i915/xehp: handle new steering options" > worked (there was one very easy fixup needed somewhere). > > And 5.15-rc1 with those five reversions boots and runs fine... > on that older laptop. But reverting those from the kernel on the > newer laptop did not help at all, still booting with blank screen > (or no more lines shown after the switch from VGA). Put them back. Bisect results sound suspicious since the steering patches do not come into play on SandyBridge. > On the newer laptop, bisection showed first bad commit > 62eaf0ae217d "drm/i915/guc: Support request cancellation" > > And 5.15-rc1 with that reverted boots and runs fine on the newer. But not on the older laptop? Given bisect points to this, it may be worth trying to build both kernels with CONFIG_DRM_I915_REQUEST_TIMEOUT=0 (no reverts) to see what happens. But first the logs which I'll ask next. > I am hoping that there will be some i915 fixups to come in a later rc! > May be nothing more than uninitialized variables or NULL pointers. > You'll probably want more info from me: please ask, but I'm slow. Kernel logs with drm.debug=0xe, with the broken black screen state, would probably answer a lot of questions if you could gather it from both machines? Regards, Tvrtko