From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D214C4320A for ; Thu, 19 Aug 2021 18:07:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4328560F5E for ; Thu, 19 Aug 2021 18:07:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4328560F5E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A817588647; Thu, 19 Aug 2021 18:07:32 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 675B288647; Thu, 19 Aug 2021 18:07:31 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="216346739" X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="216346739" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 11:07:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="424132370" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga006.jf.intel.com with SMTP; 19 Aug 2021 11:07:27 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 19 Aug 2021 21:07:26 +0300 Date: Thu, 19 Aug 2021 21:07:26 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Heiko Carstens Cc: Stanislav Lisovskiy , Dave Airlie , Rodrigo Vivi , Jani Nikula , Joonas Lahtinen , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [BUG - BISECTED] display not detected anymore Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Patchwork-Hint: comment X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Aug 18, 2021 at 01:20:54PM +0200, Heiko Carstens wrote: > On Sat, Aug 14, 2021 at 02:46:27PM +0200, Heiko Carstens wrote: > > Hello, > > > > I have Fedora 33 running, and with the Fedore kernel update from 5.11 > > series to 5.12 my external monitor was not detected anymore. Same is > > true with the Fedora supplied 5.13 kernel version. > > > > So I tried with vanilla kernel 5.11 and latest git head from Linus' > > tree. 5.11 works while latest git head does not. Bisecting the problem > > points to commit 32c3d9b0f51e ("Merge tag 'drm-intel-next-2021-01-27' > > of git://anongit.freedesktop.org/drm/drm-intel into drm-next"). > > > > Unfortunately it is a merge commit, so it looks like conflicting > > changes have been made in the parent branches. > > > > Hardware in use: > > > > - ThinkPad X1 Yoga 4th / Carbon 7th > > - Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz > > > > The Thinkpad is connected to a ThinkPad Thunderbolt 3 Dock with a > > Thunderbolt cable and a monitor (Eizo EV3285) is connected via > > Displayport to the docking station. > > > > The monitor is detected and works without any problems (4k@60HZ) > > before the above mentioned merge commit. With the commit and > > afterwards it is not detected anymore and only the Thinkpad builtin > > display can be used. > > > > Any idea what went wrong? I can provide more information, or test > > debug patches if wanted. Just let me know. > > So looks like I made a mistake when bisecting (it literally took me > two days due to the low power machine, even with a minimized kernel > config). Anyway, looking into it again the first bad commit is > > ef79d62b5ce5 ("drm/i915: Encapsulate dbuf state handling harder") > > With that commit the display is not detected anymore, one commit > before that it still works. So this one seems to be broken. > > Ville, Stanislav, any idea how to fix this? > > commit ef79d62b5ce53851901d6c1d21b74cbb9e27219b > Author: Ville Syrjälä > Date: Fri Jan 22 22:56:32 2021 +0200 > > drm/i915: Encapsulate dbuf state handling harder That has nothing to do with display detection, so very mysterious. Please file a bug at https://gitlab.freedesktop.org/drm/intel/issues/new boot with drm.debug=0xe with both good and bad kernels and attach the dmesg from both to the bug. -- Ville Syrjälä Intel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1793C4338F for ; Thu, 19 Aug 2021 18:07:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D69B60F5E for ; Thu, 19 Aug 2021 18:07:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4D69B60F5E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D33CC886F0; Thu, 19 Aug 2021 18:07:32 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 675B288647; Thu, 19 Aug 2021 18:07:31 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="216346739" X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="216346739" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 11:07:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="424132370" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga006.jf.intel.com with SMTP; 19 Aug 2021 11:07:27 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 19 Aug 2021 21:07:26 +0300 Date: Thu, 19 Aug 2021 21:07:26 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Heiko Carstens Cc: Stanislav Lisovskiy , Dave Airlie , Rodrigo Vivi , Jani Nikula , Joonas Lahtinen , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Patchwork-Hint: comment Subject: Re: [Intel-gfx] [BUG - BISECTED] display not detected anymore X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, Aug 18, 2021 at 01:20:54PM +0200, Heiko Carstens wrote: > On Sat, Aug 14, 2021 at 02:46:27PM +0200, Heiko Carstens wrote: > > Hello, > > > > I have Fedora 33 running, and with the Fedore kernel update from 5.11 > > series to 5.12 my external monitor was not detected anymore. Same is > > true with the Fedora supplied 5.13 kernel version. > > > > So I tried with vanilla kernel 5.11 and latest git head from Linus' > > tree. 5.11 works while latest git head does not. Bisecting the problem > > points to commit 32c3d9b0f51e ("Merge tag 'drm-intel-next-2021-01-27' > > of git://anongit.freedesktop.org/drm/drm-intel into drm-next"). > > > > Unfortunately it is a merge commit, so it looks like conflicting > > changes have been made in the parent branches. > > > > Hardware in use: > > > > - ThinkPad X1 Yoga 4th / Carbon 7th > > - Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz > > > > The Thinkpad is connected to a ThinkPad Thunderbolt 3 Dock with a > > Thunderbolt cable and a monitor (Eizo EV3285) is connected via > > Displayport to the docking station. > > > > The monitor is detected and works without any problems (4k@60HZ) > > before the above mentioned merge commit. With the commit and > > afterwards it is not detected anymore and only the Thinkpad builtin > > display can be used. > > > > Any idea what went wrong? I can provide more information, or test > > debug patches if wanted. Just let me know. > > So looks like I made a mistake when bisecting (it literally took me > two days due to the low power machine, even with a minimized kernel > config). Anyway, looking into it again the first bad commit is > > ef79d62b5ce5 ("drm/i915: Encapsulate dbuf state handling harder") > > With that commit the display is not detected anymore, one commit > before that it still works. So this one seems to be broken. > > Ville, Stanislav, any idea how to fix this? > > commit ef79d62b5ce53851901d6c1d21b74cbb9e27219b > Author: Ville Syrjälä > Date: Fri Jan 22 22:56:32 2021 +0200 > > drm/i915: Encapsulate dbuf state handling harder That has nothing to do with display detection, so very mysterious. Please file a bug at https://gitlab.freedesktop.org/drm/intel/issues/new boot with drm.debug=0xe with both good and bad kernels and attach the dmesg from both to the bug. -- Ville Syrjälä Intel