Message ID | 20231128-revert-panel-fix-v1-0-69bb05048dae@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3531097vqx; Mon, 27 Nov 2023 15:10:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkKgqGn3kmAC9mBeovZqsOcyAG5FcJZCT9OyZsXBJrYbyr/qVBqIYyCQDxIXFhacM6LYgn X-Received: by 2002:a9d:7613:0:b0:6d7:d386:e528 with SMTP id k19-20020a9d7613000000b006d7d386e528mr5818091otl.5.1701126653857; Mon, 27 Nov 2023 15:10:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701126653; cv=none; d=google.com; s=arc-20160816; b=Q+g+wPQvvisrNnxXHMrJpSowzUctbNBGeNCUP+MU2/p3PSO5C1SOlXYg0P7BCWRyoZ AxnOCP+walpZGFMoQNqufbdJH2EbssanOnaR/J0zYEPAOVFijbdtY+6Y8uL8gBrezcAq 0WZpKUGu6RPUlLsva9z1xmcRFFqPbJUMvgsQGwOL6q4cT55XGn0HhvqbJDzBX5N2LH6C 0k+7FO3HdBjcKGHhNFe0Qc78aIJFWuvFlm0Cdfn1iRew33sNEAKkVxvCVlvQbcfuY7jT mkqpx+Ok7pza+ETpjQaCUF/eFGuVg7AZjkVd4GTVQwQm2pFOi0YDyijQ+O+tx6gTU8dk UQNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=aArr4Zo3fOK6qHGsqiAv8zLE+MevB0/MPL6lNLgo6oI=; fh=+YLsS4/XZSIZ0J2i1OPQBvVnWXXKWaGfe4EoWIBKM/g=; b=hmqQ7ZqLtxBy0TdJrKqLXI4mmzuyP1pfa+/2ucPSBLGJmmT2YtVno1U4TLYhn/CYGz r/e8ZLI+CELUMOn3WVG25cL/injU1Jr87G6/352/jfICW60jXbK4X+ZnPOjOCli+G8E7 YxVwOJfz4awUKjo0JCQS3G6nHc/WcvT8tUkmjxIdqdWDwmcIjfTmqmsZAfRAaJy0Ko73 02x1Aq6LQ7ZNwfHiZMb87OS4jpQ3oNbpfxyFzwvRmBxIt8Us+qGiPgtEYdV07BJA3XJV Sw39M7ciozS9+hAQSpoSDQpTjdE5pE7e54OkV0aMuwwSC8g1mLTQR+bJLPyW4o0o+CwB YaDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LjOEXu3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id az20-20020a056830459400b006d6569c41cfsi4315628otb.106.2023.11.27.15.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 15:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LjOEXu3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B4A568097293; Mon, 27 Nov 2023 15:10:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233657AbjK0XKW (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 18:10:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjK0XKV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 18:10:21 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5AE019D for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 15:10:26 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50aab3bf71fso6594479e87.3 for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 15:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701126625; x=1701731425; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=aArr4Zo3fOK6qHGsqiAv8zLE+MevB0/MPL6lNLgo6oI=; b=LjOEXu3mcmBAMtZiVjbWFT7Dsp819n8ueh6V/PY9YCtntyLybQQBa9u7IY0CyvGWR8 Dj760iG/QtAnV+oxFsQPHQnJhA8YarwO38Z0xpqGn7LLvpzehTogR2mJhNcWGyH9/h+7 ImrbTuGJuF264IDJ+Cqar0Br/OSSxIY+1BBYnXzoLw0xeptqjBjgzFlSrJom55/Sbizr osxskChL/emAZY6mxV5d7e8MPto2EEA7lOVt94I0V3pNUmz9wuPNQOkHiJRd2w6/EAqn yCRyoEYcOyHWl8P4HifJmrRkynS8PHYkJFZF2Jjz11hB+48iqRSfyMJJRCJKKNkeQ7Yb X7VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701126625; x=1701731425; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aArr4Zo3fOK6qHGsqiAv8zLE+MevB0/MPL6lNLgo6oI=; b=f8XCO44ca3OEwiZzea02JZFFQbjLpAo7wgYMUekFIL7gyQkMATq/HU0OcBvMSDyGO+ UYJREJ0NL+pCeuNeJMLNih+D4VTm7rA3ZTe1NN2f/+5HXx/QcGE6rREj2nVPQlnoeJ/g J4hsaJ0NxZxxak07Ni1XLvefNpj1ovUIjfHx+4YJT3ERgeLmRbsDfxOqQJUDHvEe4Zck pt+86QmVyzcezunqoGs55l5nggyG7plbqHfO/oJ2ooPX+HVwglNYiVgfg8BONHWLiLXP 3HAd9eGdtbfP2fJWhiKYerCEE/9X+ZvxZRvWO3hbrTLyJOvsvayuoEhmXiUP425pKk0V 3atQ== X-Gm-Message-State: AOJu0YxHY8dr43VnFlrpJnt7P9Zaxt4z3yZ7X24Z26851isL0tuRxbFH eaVyB5AyYKoet+rQ7rYmS1AWBQ== X-Received: by 2002:a05:6512:3d9e:b0:50b:aa9a:903b with SMTP id k30-20020a0565123d9e00b0050baa9a903bmr6515322lfv.30.1701126624836; Mon, 27 Nov 2023 15:10:24 -0800 (PST) Received: from [192.168.1.2] (c-21d3225c.014-348-6c756e10.bbcust.telenor.se. [92.34.211.33]) by smtp.gmail.com with ESMTPSA id cf17-20020a056512281100b0050aa94e6d15sm1636877lfb.9.2023.11.27.15.10.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 15:10:24 -0800 (PST) From: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 0/3] Revert panel fixes and original buggy patch Date: Tue, 28 Nov 2023 00:10:18 +0100 Message-Id: <20231128-revert-panel-fix-v1-0-69bb05048dae@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANohZWUC/x2MQQqAMAwEv1JyNmCqIPgV8VB01YBUaUUE6d8NH meZnZcykiJT715KuDXrEQ2kcjRtIa5gnY3J174R8R2bhHTxGSJ2XvRhtHNoIIIutGS3M8HmPzm MpXy4o/4IYgAAAA== To: Liu Ying <victor.liu@nxp.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <rfoss@kernel.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Jonas Karlman <jonas@kwiboo.se>, Jernej Skrabec <jernej.skrabec@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 15:10:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783760581988514882 X-GMAIL-MSGID: 1783760581988514882 |
Series | Revert panel fixes and original buggy patch | |
Message
Linus Walleij
Nov. 27, 2023, 11:10 p.m. UTC
This series reverts the attempts to fix the bug that went
into v6.7-rc1 in commit 199cf07ebd2b
"drm/bridge: panel: Add a device link between drm device and panel device"
and then it reverts that patch as well.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (3):
Revert "driver core: Export device_is_dependent() to modules"
Revert "drm/bridge: panel: Check device dependency before managing device link"
Revert "drm/bridge: panel: Add a device link between drm device and panel device"
drivers/base/core.c | 1 -
drivers/gpu/drm/bridge/panel.c | 26 --------------------------
2 files changed, 27 deletions(-)
---
base-commit: 95ba893c9f4feb836ddce627efd0bb6af6667031
change-id: 20231127-revert-panel-fix-e4da3e11e7a4
Best regards,
Comments
Hi Linus, On Tue, Nov 28, 2023 at 12:10:18AM +0100, Linus Walleij wrote: > This series reverts the attempts to fix the bug that went > into v6.7-rc1 in commit 199cf07ebd2b > "drm/bridge: panel: Add a device link between drm device and panel device" > and then it reverts that patch as well. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > Linus Walleij (3): > Revert "driver core: Export device_is_dependent() to modules" > Revert "drm/bridge: panel: Check device dependency before managing device link" > Revert "drm/bridge: panel: Add a device link between drm device and panel device" To preserve bisectability, you should revert in the opposite order. > > drivers/base/core.c | 1 - > drivers/gpu/drm/bridge/panel.c | 26 -------------------------- > 2 files changed, 27 deletions(-) > --- > base-commit: 95ba893c9f4feb836ddce627efd0bb6af6667031 > change-id: 20231127-revert-panel-fix-e4da3e11e7a4
On Tue, Nov 28, 2023 at 12:25 AM Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > On Tue, Nov 28, 2023 at 12:10:18AM +0100, Linus Walleij wrote: > > This series reverts the attempts to fix the bug that went > > into v6.7-rc1 in commit 199cf07ebd2b > > "drm/bridge: panel: Add a device link between drm device and panel device" > > and then it reverts that patch as well. > > > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > > --- > > Linus Walleij (3): > > Revert "driver core: Export device_is_dependent() to modules" > > Revert "drm/bridge: panel: Check device dependency before managing device link" > > Revert "drm/bridge: panel: Add a device link between drm device and panel device" > > To preserve bisectability, you should revert in the opposite order. You mean apply patch 2, then 1, then 3 so the kernel builds after each revert? Yeah that's a good idea, I don't know if I should apply these though, better someone else do it since I screwed up too much. Another option is to just squash the reverts into one, that bisects too :/ Yours, Linus Walleij
On Tue, Nov 28, 2023 at 12:36:15AM +0100, Linus Walleij wrote: > On Tue, Nov 28, 2023 at 12:25 AM Laurent Pinchart wrote: > > On Tue, Nov 28, 2023 at 12:10:18AM +0100, Linus Walleij wrote: > > > This series reverts the attempts to fix the bug that went > > > into v6.7-rc1 in commit 199cf07ebd2b > > > "drm/bridge: panel: Add a device link between drm device and panel device" > > > and then it reverts that patch as well. > > > > > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > > > --- > > > Linus Walleij (3): > > > Revert "driver core: Export device_is_dependent() to modules" > > > Revert "drm/bridge: panel: Check device dependency before managing device link" > > > Revert "drm/bridge: panel: Add a device link between drm device and panel device" > > > > To preserve bisectability, you should revert in the opposite order. > > You mean apply patch 2, then 1, then 3 so the kernel builds after each > revert? > > Yeah that's a good idea, I don't know if I should apply these though, better > someone else do it since I screwed up too much. > > Another option is to just squash the reverts into one, that bisects too :/ I thought the commits have been applied to drm-misc in a bisectable order in the first place, but that doesn't seem to be the case :-( Reverting "driver core: Export device_is_dependent() to modules" last seems to be the best option in this case. I wouldn't squash them.
On Tue, Nov 28, 2023 at 01:52:44AM +0200, Laurent Pinchart wrote: > On Tue, Nov 28, 2023 at 12:36:15AM +0100, Linus Walleij wrote: > > On Tue, Nov 28, 2023 at 12:25 AM Laurent Pinchart wrote: > > > On Tue, Nov 28, 2023 at 12:10:18AM +0100, Linus Walleij wrote: > > > > This series reverts the attempts to fix the bug that went > > > > into v6.7-rc1 in commit 199cf07ebd2b > > > > "drm/bridge: panel: Add a device link between drm device and panel device" > > > > and then it reverts that patch as well. > > > > > > > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > > > > --- > > > > Linus Walleij (3): > > > > Revert "driver core: Export device_is_dependent() to modules" > > > > Revert "drm/bridge: panel: Check device dependency before managing device link" > > > > Revert "drm/bridge: panel: Add a device link between drm device and panel device" > > > > > > To preserve bisectability, you should revert in the opposite order. > > > > You mean apply patch 2, then 1, then 3 so the kernel builds after each > > revert? > > > > Yeah that's a good idea, I don't know if I should apply these though, better > > someone else do it since I screwed up too much. > > > > Another option is to just squash the reverts into one, that bisects too :/ > > I thought the commits have been applied to drm-misc in a bisectable > order in the first place, but that doesn't seem to be the case :-( > Reverting "driver core: Export device_is_dependent() to modules" last > seems to be the best option in this case. I wouldn't squash them. Agreed, don't squash, just revert in the opposite order they were applied in originally, that way the tree can always build. thanks, greg k-h
Hi Linus, On 28/11/2023 00:36, Linus Walleij wrote: > On Tue, Nov 28, 2023 at 12:25 AM Laurent Pinchart > <laurent.pinchart@ideasonboard.com> wrote: >> On Tue, Nov 28, 2023 at 12:10:18AM +0100, Linus Walleij wrote: >>> This series reverts the attempts to fix the bug that went >>> into v6.7-rc1 in commit 199cf07ebd2b >>> "drm/bridge: panel: Add a device link between drm device and panel device" >>> and then it reverts that patch as well. >>> >>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> >>> --- >>> Linus Walleij (3): >>> Revert "driver core: Export device_is_dependent() to modules" >>> Revert "drm/bridge: panel: Check device dependency before managing device link" >>> Revert "drm/bridge: panel: Add a device link between drm device and panel device" >> >> To preserve bisectability, you should revert in the opposite order. > > You mean apply patch 2, then 1, then 3 so the kernel builds after each > revert? > > Yeah that's a good idea, I don't know if I should apply these though, better > someone else do it since I screwed up too much. > > Another option is to just squash the reverts into one, that bisects too :/ You can apply them now, or tell me if you want me to apply them. Neil > > Yours, > Linus Walleij
On Tue, Nov 28, 2023 at 9:30 AM Neil Armstrong
<neil.armstrong@linaro.org> wrote:
> You can apply them now, or tell me if you want me to apply them.
Please apply them Neil (to drm-misc-fixes) order 2, 1, 3 for bisectability.
Yours,
Linus Walleij
On 28/11/2023 10:34, Linus Walleij wrote: > On Tue, Nov 28, 2023 at 9:30 AM Neil Armstrong > <neil.armstrong@linaro.org> wrote: > >> You can apply them now, or tell me if you want me to apply them. > > Please apply them Neil (to drm-misc-fixes) order 2, 1, 3 for bisectability. Sure, doing it right now. Neil > > Yours, > Linus Walleij
Hi, On Tue, 28 Nov 2023 00:10:18 +0100, Linus Walleij wrote: > This series reverts the attempts to fix the bug that went > into v6.7-rc1 in commit 199cf07ebd2b > "drm/bridge: panel: Add a device link between drm device and panel device" > and then it reverts that patch as well. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes) [3/3] Revert "drm/bridge: panel: Add a device link between drm device and panel device" https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9b6a59e5db87c2c6b3ca0391176ed4358623d5e4
On 28/11/2023 11:12, Neil Armstrong wrote: > Hi, > > On Tue, 28 Nov 2023 00:10:18 +0100, Linus Walleij wrote: >> This series reverts the attempts to fix the bug that went >> into v6.7-rc1 in commit 199cf07ebd2b >> "drm/bridge: panel: Add a device link between drm device and panel device" >> and then it reverts that patch as well. >> >> > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes) > > [3/3] Revert "drm/bridge: panel: Add a device link between drm device and panel device" > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9b6a59e5db87c2c6b3ca0391176ed4358623d5e4 > b4 got really confused that I picked the patches in the wrong order, but I applied the 3 patched in the 2, 1, 3 order. Neil
On Tue, Nov 28, 2023 at 11:13 AM Neil Armstrong <neil.armstrong@linaro.org> wrote: > On 28/11/2023 11:12, Neil Armstrong wrote: > > Hi, > > > > On Tue, 28 Nov 2023 00:10:18 +0100, Linus Walleij wrote: > >> This series reverts the attempts to fix the bug that went > >> into v6.7-rc1 in commit 199cf07ebd2b > >> "drm/bridge: panel: Add a device link between drm device and panel device" > >> and then it reverts that patch as well. > >> > >> > > > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes) > > > > [3/3] Revert "drm/bridge: panel: Add a device link between drm device and panel device" > > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9b6a59e5db87c2c6b3ca0391176ed4358623d5e4 > > > > b4 got really confused that I picked the patches in the wrong order, but I applied > the 3 patched in the 2, 1, 3 order. Special mistakes requires special fixes, sorry for the mess :( Thanks a lot Neil! Yours, Linus Walleij
On Tue, Nov 28, 2023 at 11:16:23AM +0100, Linus Walleij wrote: > On Tue, Nov 28, 2023 at 11:13 AM Neil Armstrong > <neil.armstrong@linaro.org> wrote: > > On 28/11/2023 11:12, Neil Armstrong wrote: > > > Hi, > > > > > > On Tue, 28 Nov 2023 00:10:18 +0100, Linus Walleij wrote: > > >> This series reverts the attempts to fix the bug that went > > >> into v6.7-rc1 in commit 199cf07ebd2b > > >> "drm/bridge: panel: Add a device link between drm device and panel device" > > >> and then it reverts that patch as well. > > >> > > >> > > > > > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes) > > > > > > [3/3] Revert "drm/bridge: panel: Add a device link between drm device and panel device" > > > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9b6a59e5db87c2c6b3ca0391176ed4358623d5e4 > > > > > > > b4 got really confused that I picked the patches in the wrong order, but I applied > > the 3 patched in the 2, 1, 3 order. > > Special mistakes requires special fixes, sorry for the mess :( > > Thanks a lot Neil! Thanks to both of you for the quick handling :) Maxime