Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp156794rwl; Thu, 23 Mar 2023 14:07:39 -0700 (PDT) X-Google-Smtp-Source: AKy350Y16woJPnC13SiHr560sl17x1Dt2p+h+mcnaJVrsX9shgmfxvSmGQk4wKzGwNFOoQ3iFgUR X-Received: by 2002:a17:902:ccd2:b0:1a2:7d:17f2 with SMTP id z18-20020a170902ccd200b001a2007d17f2mr210334ple.69.1679605658855; Thu, 23 Mar 2023 14:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679605658; cv=none; d=google.com; s=arc-20160816; b=d+JUjgHWmLGmNJCJpIuxgBwsHIPr7D1AwpS9yUzXQenuRgDNL2UPX83CH0zDVj5eCh 5uDOal9B5dUefwVXUrUpzJxJRpzRcoElNblBQBxQ3tVc4yiP4qHT67xdUjVPtC3+UoBp 2NF4MWVvRd5xgmtv30yPbxDUBQL141N6IJFf8Lk14EUWu8pCPce4yNhaVcfoVMTu9zHY +92kCFpiYQR7uhB0Fou0tyd6OZLrqse1h3fqj8+75HEuEtUabznQnFXuAos0LsxQQZch Rh2zvtXdnAVA3TbCLiMHYbP9Fw9853jINfrXoYTfA6Tcempn/UmMRVC/pz5RCtAUkQcZ vrqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uXG2m3AhU8tFazET94PFq/bMhgtfxarcttWvDXsnJsI=; b=oCMiGsXaCPCQJRA1FTLvCU+XDTzqsXF5yfPkiYhkOp21VZZvsrB1Qp9h/ZVTQ1nBAM 57j84fW1G5IWkLP57ubxsrgX+FmQFsdMazoi9c172pyZmDT2Mar9b461NSKrokDqqWOu niB6m9FtHHTRQ3nftJmYWrC0bXTLkSDLgkBhKk90J4CY4gl77BcyUiPnXN5edX+OZhxV AL+ZzINLrktUxh1vz9tw3ntNXHdwxz89J6xQmDgkI8QrvI8iqndloTCihNGmZXrrBgOn c8hIDaLq+0Ow5CDg17U5drTPkXZc8mLJ470NyhX+vFDiS1bDSReKuO2huVKUSaexbGcO igaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NpUUIM1J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170902b18400b0019f3064da41si18866945plr.383.2023.03.23.14.07.26; Thu, 23 Mar 2023 14:07:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NpUUIM1J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231422AbjCWU66 (ORCPT + 99 others); Thu, 23 Mar 2023 16:58:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231501AbjCWU6q (ORCPT ); Thu, 23 Mar 2023 16:58:46 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A9532E53 for ; Thu, 23 Mar 2023 13:58:31 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-53d277c1834so416526557b3.10 for ; Thu, 23 Mar 2023 13:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679605109; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uXG2m3AhU8tFazET94PFq/bMhgtfxarcttWvDXsnJsI=; b=NpUUIM1JGopohZ2thu3r504DXU6g6dF0rDoiLjw1E/OsjkZBca2tfGJnJoZz9RjnTF AFg2eAYkqmAXQm5QsdBPniI1HaomOESb5Sau8496tnOHthVbUngL+g10l7IPesfHwHe5 Im/eofIkFz1HbzpvmbPWzq1LznRxw4R5NouCU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679605109; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uXG2m3AhU8tFazET94PFq/bMhgtfxarcttWvDXsnJsI=; b=A33bsrfCn29OTJbi+H15dh4NcN+opqTYTgHM642SAB26tzvZSl/bwibA94LarGV3RU YAvOO4iMjY5lvhO2zH+Dpx3Np69D/JllJciQLfmn+wQXupUXWRWG1jU8bo+l6YA/3ce/ zpbEJu/Oa9vHJ0Q3QUFBSswia2BlwDUAWWweMNFE2qKBjrDRSUfgI5UOBb8PWhvxVNlM jdzqE7D0TiScLuL5msDnqPbZP07pHD47CMmtGt86dGW6DgLDrNNBq1Yx4MpqFbW3xH0r cco6iLxKkaYfRuNisGf/GTEQyRT8rEYewjww2SF4rPMbgpf0+9Lz79IQ6tEWwTlbkinO /QLA== X-Gm-Message-State: AAQBX9eu8Ruwws4O+IDXq3xAl1FHSY/fX2vaOgQvUYuqcBkiCjVIEGt+ YbZCnPKTJPVoPQ6yPMROHfKB9CPTvrV6Fv0/wuE= X-Received: by 2002:a81:8416:0:b0:53c:5b6f:f5e6 with SMTP id u22-20020a818416000000b0053c5b6ff5e6mr5140557ywf.12.1679605108787; Thu, 23 Mar 2023 13:58:28 -0700 (PDT) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com. [209.85.128.174]) by smtp.gmail.com with ESMTPSA id o19-20020a81ef13000000b00545a0818500sm38546ywm.144.2023.03.23.13.58.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 13:58:26 -0700 (PDT) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-5418d54d77bso416101177b3.12 for ; Thu, 23 Mar 2023 13:58:26 -0700 (PDT) X-Received: by 2002:a81:b149:0:b0:544:b7ff:b0df with SMTP id p70-20020a81b149000000b00544b7ffb0dfmr2598921ywh.2.1679605105763; Thu, 23 Mar 2023 13:58:25 -0700 (PDT) MIME-Version: 1.0 References: <20230315035508.2874915-1-treapking@chromium.org> In-Reply-To: <20230315035508.2874915-1-treapking@chromium.org> From: Doug Anderson Date: Thu, 23 Mar 2023 13:58:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] drm/bridge: ps8640: Skip redundant bridge enable To: Pin-yen Lin Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Enric Balletbo i Serra Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Mar 14, 2023 at 8:55=E2=80=AFPM Pin-yen Lin wrote: > > Skip the drm_bridge_chain_pre_enable call when the bridge is already > pre_enabled. This make pre_enable and post_disable (thus > pm_runtime_get/put) symmetric. > > Fixes: 46f206304db0 ("drm/bridge: ps8640: Rework power state handling") > Signed-off-by: Pin-yen Lin > Reviewed-by: Robert Foss > Reviewed-by: Douglas Anderson > --- > > (no changes since v1) > > drivers/gpu/drm/bridge/parade-ps8640.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Even though this could go in drm-misc-fixes, doing so would cause a conflict with patch #2 in this series which is not a fix. Since I don't believe this is massively urgent, I've landed both in drm-misc-next to avoid needing to involve more senior folks to do fancy stuff: 845e730eaf36 drm/bridge: ps8640: Skip redundant bridge enable