Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp112710rwb; Tue, 4 Oct 2022 01:09:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MTxVFbrCw1NAFGdEWHxrx15p8ZMDfS6DaALfodHlsZP2mw+IEhf5U1PXIjc2WNTSmnBdS X-Received: by 2002:a17:90b:388d:b0:202:be54:1691 with SMTP id mu13-20020a17090b388d00b00202be541691mr16670926pjb.31.1664870987808; Tue, 04 Oct 2022 01:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664870987; cv=none; d=google.com; s=arc-20160816; b=k/jEHSDpH0KX6K/k/1K/pmvE8GGcO6oi11l5v2aQtO2Bz/lEvqsY8EckW7K73/0WlX zMjcNzVTMR0nGLdI65P3hFH/piOvfF9tMgvWzDGCEnboPKvoeqxR1CKHLz0XdR4LkJ4n RzsP7gQRZ0BpF+ll584wYpd7v7TwUzCMB1EPXj6jpXC/cxOtQqKoHcTt3AsNGjoOdDwQ WCjvwb/8etZZ6cFnXedMxWeq+aPLE9BINyxyiVk/gwi+TNrvLbzdCB+102Fwsh/7lAkI 6MsdM+qEclFqUreRKjjvXCu2E2ziXir0EgSJ4uffqfTWQ+qfhfPiAxrshI1MadACDzDa 11Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PQ4BUqU2OqcZkvVWabZHMaHjSErFUSgt9A805h7jseo=; b=hKCtDrjugDAzyHy5fFiCI/XmFZ/+SyFkw7fODuC9KOtBmIStVMcxpWVFQIOacX0ozq Qe+Q42gY11jiG5Lrqqcod19hDpFl4ZXkq1tXEgPx2ULV6eWrpKcCcTwbhtsquGtPqBiS /xtOoChjlwGLdr2iwfgZVZP12ZqeLKQVrNgxTNBTTzNLmxEN2OjXib3UMwUlaZaBzxky E6b694Xtl0semWxtm8QiS3xMv+aAIL6VnkbItxumtA+pccsUBJSBfj7YPYwFC38I8drd 2jpQ72v+wXapuz4clDgXfAvR8u/X2miM1AA/OEvIJYdr1r/LsssPDgen+tZyF0KElCRS s6vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=V0ZShRd4; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a170902ecc900b0016d7639681dsi14454118plh.493.2022.10.04.01.09.35; Tue, 04 Oct 2022 01:09:47 -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=@collabora.com header.s=mail header.b=V0ZShRd4; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbiJDIBC (ORCPT + 99 others); Tue, 4 Oct 2022 04:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbiJDIBB (ORCPT ); Tue, 4 Oct 2022 04:01:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C11B42D74C for ; Tue, 4 Oct 2022 01:00:59 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C4D546602294; Tue, 4 Oct 2022 09:00:57 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1664870458; bh=SDMWB8XjZ0n+CSi3wdjdLQk9+vNLQ8oA05TKi8n5FGM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=V0ZShRd4nsC+dmi0mCoEL+FS+iAH4oz4LzHi0OP/CAl5X3Y2+mvHiPU0f3+eebHMo b9KBHlZtV8Ip/dPU8QBZLeL0xAX1uE/kIWvEKKb8jHf+mmygg7MrHWCN3HrTZXpPEU 9J18m2Cjj9gGhhEEvHEg8u2UINIHnEwz9qzSwk3P2me4U7lsi5us7sK4dB3z0HIl5D L5dcLH7/v3gPY3cCVV92OrOjvy1ZNJEbbrBCDIjimusuNJSDIPHZ144KsARwSRod9Y jujP1dYICUBLTOcUd5+PQjJ6o1jyiVKE8av5No2MW1AbO5hEk2LJt5juc5K9vQSsTT 3XX/OPXgHHQ9w== Message-ID: Date: Tue, 4 Oct 2022 10:00:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v3 1/2] drm/bridge: it6505: Adapt runtime power management framework To: Pin-yen Lin , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter Cc: Hsin-Yi Wang , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Hermes Wu , Allen Chen References: <20221004044943.2407781-1-treapking@chromium.org> <20221004044943.2407781-2-treapking@chromium.org> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20221004044943.2407781-2-treapking@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Il 04/10/22 06:49, Pin-yen Lin ha scritto: > Use pm_runtime_(get|put)_sync to control the bridge power, and add > SET_SYSTEM_SLEEP_PM_OPS with pm_runtime_force_(suspend|resume) to it6505 > driver. Without SET_SYSTEM_SLEEP_PM_OPS, the bridge will be powered on > unnecessarily when no external display is connected. > > Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver") > Signed-off-by: Pin-yen Lin > Reviewed-by: AngeloGioacchino Del Regno