From patchwork Tue Jun 20 11:43:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13285734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 60541EB64D7 for ; Tue, 20 Jun 2023 11:43:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9BA310E132; Tue, 20 Jun 2023 11:43:30 +0000 (UTC) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2066A89261 for ; Tue, 20 Jun 2023 11:43:29 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4f86a7a5499so3639208e87.2 for ; Tue, 20 Jun 2023 04:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687261407; x=1689853407; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=yFjVYI1irYbFocslsO72gB812nuEuRnfPK62Pbok9EI=; b=XrLh4GtEgxMgS393kJtNt5OQY0aDhepU5WL09MdOh1LQOK3Oqi1HUyGdV2/Zq3Hs/V EkVP/iYzcHMeN5Vc4O0UrLNrp7scbfHeRTCxP2jBDBiwjslhDzlEeXTocH4J80ewj2fZ w4VEiWUGm2zvXlnimoWvD9WGDr4d2Ar0uB/8aVQ3hGUjiUiv/AJsD8bx7uF1ElMPYCWT DeORGnLHQ7L6TH0WqAVRfM0qTDo5Bz7WPwEiwLr+9m55wwS5chqny3z0si7MPMe7rNLc 650MSRPhll89NUc2DCwQD8fSElv5dyZSk3H1RExZAvsTFecGbaCxx2bjML8e5RrOKkdk dy2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687261407; x=1689853407; 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=yFjVYI1irYbFocslsO72gB812nuEuRnfPK62Pbok9EI=; b=bfhGHIfmOvtybO5ubsP5Bxmu+vwrjLV7q71Z8AbVID0zlofotIaDKpAzN4lRaM2+lI 12UxQZ2kswSDiFWn/pqO+l90IhGagqHDRI7cPBL64T2jgK6WZaNp/s6RW1Gqy+NQ+YYj sbL4isSSNHDl6vrN1GRN7aHzidEqI6Bf/3Ip3VQuTOmjfwiBypt8TlWNPxc3DWeQ44GM S0wtQ3iE5mfJSfpzcpRJvtuawGtpYBicdaKPCOjN7vGUPCDfJTQBseIca6Rss1fwLcRD O8HW8zB1zLRbsqeC/XTjEo/WYdGgoz7zneC8a8dPGC+EpU0LEY2NzNoQG2AKjJp1qoJL zxmQ== X-Gm-Message-State: AC+VfDwVnBkxPYD/rVVvBOTcVdIS/KrRkqIeutC3NZ4hxAiZn41G7nJo bMKoUSb7AqGR6aBLRu9xKwe8Xw== X-Google-Smtp-Source: ACHHUZ6/zbNT84dvZPx5FuH84yDbxzL+iq0IygijC8MFVxqnZykx300gyiMJNaSydsImlZbkT2CAlg== X-Received: by 2002:a19:7b02:0:b0:4f6:1b45:e8aa with SMTP id w2-20020a197b02000000b004f61b45e8aamr7160691lfc.50.1687261407277; Tue, 20 Jun 2023 04:43:27 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id v17-20020ac25591000000b004f640b0fb04sm324158lfg.212.2023.06.20.04.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 04:43:26 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 0/2] DSIPHY RPM Date: Tue, 20 Jun 2023 13:43:19 +0200 Message-Id: <20230620-topic-dsiphy_rpm-v2-0-a11a751f34f0@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANeQkWQC/32NQQqDMBAAv1JybkqMQUtP/UeRsklWXbBJ2Fipi H9v6gN6nIFhNpGRCbO4nTbBuFCmGAro80m4EcKAknxhoZWuVaOVnGMiJ32mNK5PTi+JYK5Va8E DWFEyCxmlZQhuLGF4T1ORibGnz/F5dIVHynPk9dgu1c/+OSyVVNKYBtreK4emvk8UgOMl8iC6f d+/fu/i+MYAAAA= To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687261406; l=831; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=FulnHTQVR5IFvYXocwRssbKvCfyBHt3fJGnSrpxUdHU=; b=RwTKpnvDySD7/pCybHeBMO9p+5NXfvNwuLdf4wG8fFac/2KFlHw/l9iCggnqrz+o9+fnosUEP i1M5ashWbOJDihGRvlR96hGHAgOFSGt6TUoJauT2lplP1ORUVca6mJi X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Konrad Dybcio , Marijn Suijten , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- Changes in v2: - Improve patch 1 commit message - Add return value checking in patch 1 - Link to v1: https://lore.kernel.org/r/20230620-topic-dsiphy_rpm-v1-0-446a7fd0ce43@linaro.org --- 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- base-commit: 9dbf40840551df336c95ce2a3adbdd25ed53c0ef change-id: 20230620-topic-dsiphy_rpm-ea4817badaab Best regards,