From patchwork Tue Jun 20 11:29:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 11035 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3615741vqr; Tue, 20 Jun 2023 05:11:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WrWiufpVOqy+8VI0SxrqjzDEy52Gr/rTqM9PIUWmRHvNtwr8Y3HcyjUC22qAYXnqmO3hd X-Received: by 2002:a17:902:d345:b0:1b0:3224:e53a with SMTP id l5-20020a170902d34500b001b03224e53amr13922377plk.20.1687263062199; Tue, 20 Jun 2023 05:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687263062; cv=none; d=google.com; s=arc-20160816; b=N69gVdMq0j4mu4/K3yphUtORA5e2UTiCgV4PVaDtYy3iQpfREJMDtp5GSDXUYv4J2w 2BIpo+/3hl6OK+invRGONOQanFdg8WeNhpzMCkdbNKz5Dv6XGRZvjU8k9FdyaC8zHE9I insgJGQICOtx6HfILY9y/ondVB8xI5sNFbWcV3JqVEHYjQjp1+WxdF269KPB4H0O2YID p0+oGfuEIOdxk6eUefbcNjyEKL1Rb2sp6a/o2V0FiRmOh7vKvLEtxtbG+2cKvF5QYINx gFeCFKa3g5fiVlFGkeSszihASBTVVRPl2UPYA9VK9SHW43VUS0NuXblgBknTEBJxj62g HQNA== 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=S29GAOwwZU/UObQHm7K1yfmLnNLJ0R5m3hwbW5Fh5rM=; b=nwfOSBNYvwdEDExqGK6qZWgkhT2OrBQWCVGGT4La7/wb08ugEt5IDUJYxi1ip2/ZCD U1Cghganz8KdQMvRuVCDd6auw/6bSYcxPizSj7Umt9r39/g3CohHCTo1wvLu+lJ2pDEw +kMoE0NixT308xsAyyAk4XwuujDoY+zgDWXZ2UPPX2Kh1UdQTrAYX4qdSgS3G68o7GjK 2fbyGZFud18nxKLhlnCLcDqZ6aDJGRg3CTOCMlU4jxuUwN0RmI8IdGwTW5ddw7S7/3SX aoh21QAQM/hesIds1QWP2CkBhkcRz7GIP62ylBrGHYcKz4G+kiDKdxjNwwoqzthr6c4m S6jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bTHzG1h+; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij24-20020a170902ab5800b001b0473abd39si1765682plb.483.2023.06.20.05.10.46; Tue, 20 Jun 2023 05:11:02 -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=@linaro.org header.s=google header.b=bTHzG1h+; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232139AbjFTLaX (ORCPT + 99 others); Tue, 20 Jun 2023 07:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232695AbjFTLaT (ORCPT ); Tue, 20 Jun 2023 07:30:19 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21B9B10D5 for ; Tue, 20 Jun 2023 04:30:12 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4f122ff663eso5980817e87.2 for ; Tue, 20 Jun 2023 04:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687260602; x=1689852602; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=S29GAOwwZU/UObQHm7K1yfmLnNLJ0R5m3hwbW5Fh5rM=; b=bTHzG1h+kD6J4+vhZGTHsDyQ7K9hsvawjTM8WE0Y53ykw8hcvb33uM/nwcsw9F1zeq 9Qm4mrsxdOXq4zyXtZ13fmn+xqzbMBpL7QcIdWZMFb8mFPO2f8/xfle2z8/Vneebn5js aypBK6IFASC/87S/DLQjnkLRr2dkPMxE6P6ppFcR5sXRoZwijyQjqSikNtcoHWtAB7Fr lr1fhfjnnkJPyKCylS+BVb+BxD3trYNhV+B9hplhpSMFhwnZvZJP631l4UPfLlogvATX eLfeZUgszbL4qoQM1uwF5Yc511j7pNni5TVMP5sWq3C3167ZSvJVa8avuVDIz889LByE bdWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687260602; x=1689852602; 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=S29GAOwwZU/UObQHm7K1yfmLnNLJ0R5m3hwbW5Fh5rM=; b=ZLz5mF+/UwF4hWHOOHwSojbVVB0MXfJDRYdPnljVUcU4esoaNxp5DqWzwzlVODNCJi ijF5PJkBPWvbyXh2wkO6NHJoE0kHpM8odQ0PvVLKjQjnb/bISH9WfNAgrBQFXc28Eivx nfGUqz0t0Jp4+q2A5EjOoCZJdFGihetbWvZ5Kvl5vMLKQQCcu+Nbg7/KUBOV0TdM1ZxY meypfViZEKrxINa00rdlKwNqdi4taEGhAd++VR/6/U8TStOvIZX4bLWeEc5zaWqdk4Vt 5Ko9bgve4UN87FWfEhj/Yq3zPW1pp5DpWf31D8AJvjmRzZQXjv3Ygstmbm13Nc9Zmpb9 griQ== X-Gm-Message-State: AC+VfDxRtku7TsgtdQ/iIQHI3mMNLXPdg/ymJeUPmp0oqQowAAS0HkwZ A3Js1PLck8e+5reVbnDGjg3lGA== X-Received: by 2002:a19:5055:0:b0:4f6:14d1:596d with SMTP id z21-20020a195055000000b004f614d1596dmr6541924lfj.61.1687260602313; Tue, 20 Jun 2023 04:30:02 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id 8-20020ac24828000000b004eed8de597csm335709lft.32.2023.06.20.04.30.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 04:30:02 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] DSIPHY RPM Date: Tue, 20 Jun 2023 13:29:57 +0200 Message-Id: <20230620-topic-dsiphy_rpm-v1-0-446a7fd0ce43@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALWNkWQC/x2N0QrCMAwAf2Xk2UBXRcVfEZG0jTYwu5KoKGP/b vDxDo5bwFiFDU7DAspvMZmbw7gZIFdqd0YpzhBD3IZ9DPicu2QsJr1+r9ofyLQ7jodEhSiBZ4m MMSm1XD1sr2ly2ZVv8vl/zpd1/QHd37O+dwAAAA== To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687260601; l=636; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=wCUG/R9HXWMnAwuGxYhXrhmjszSC6nEVuCGugxXUvag=; b=oLojyqv8R2Yxb/4Bx0OPl53gbOYVtZGEvfDiYfytg8gFL3uXbs/agnHkUqk3yiONeq1e1qWA5 xXDfhniDSFOBXQOoH7SqEunzIznVpy6eWLBLQDUMiYekoP0h3tuhm+y X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,SUBJ_ALL_CAPS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769221967106288606?= X-GMAIL-MSGID: =?utf-8?q?1769223552587045378?= Some recent SoCs use power rails that we model as GENPDs to power the DSIPHY. This series attempts to make such configurations suspendable. Tested on SM6375. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks drm/msm/dsi: Enable runtime PM drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- base-commit: 9dbf40840551df336c95ce2a3adbdd25ed53c0ef change-id: 20230620-topic-dsiphy_rpm-ea4817badaab Best regards,