Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp358202rdg; Tue, 10 Oct 2023 12:19:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGd2WKyl64VZz/J3SS3S0XIPFBtxP2OSAo2Ee/e5AU74nnFp5s1mM7UKSIYJUGRoLfHwn6D X-Received: by 2002:a17:90a:f195:b0:273:e64c:f22e with SMTP id bv21-20020a17090af19500b00273e64cf22emr14922029pjb.29.1696965582945; Tue, 10 Oct 2023 12:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696965582; cv=none; d=google.com; s=arc-20160816; b=yJGrX1ZI8bbbqeUBmspICbfUllEb0bxk0cZKEXtS/Ib0wUKa9X3OW1QiWxr3xDQKQT 5ptQBV+wAiUiSlzc4Tp29Bh+QqYMkrAuGxFxGSDQyLprUC4v62FRFFk94i1Tkiz382D1 6ureQskDCFLr/YZ2SO5aVlV0SeMyonKYm5CK+H2Gupz+tS+NwxT98XcUohVS1+75Qnus H0nBFYyLnq8NmEGAPqAUn/wT+IhIVxUiDcffIZI/AdYx7K09JkJHlRZbI0A/3ZtjPDJ4 bE3qs8BhBkb4+NihSKJpPYeTi4wmkirvwKclC22QUUBfLwoz3R3554qpYrbGwUkileGJ i+Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=AvjZzz7pnTqNFU2kq8efpY866MOjCfg9gpj/PxH4/+k=; fh=HC16fqK+KDMPV6k2ZT+4u10F9ZzM4WEj7n1VIbqj0KM=; b=mKUjkN0WJNfmwaGcjLWkt1Z0DoHA0manKYYY2OB2MbrIBXHUp9XsjHVn47If0KqkuQ rcWHbfcQkw+zNnLR9uiniJKVSw7n2nSuAdVik9eBio2irEJW83917IHd2HQZ/FMamXll fTR6OXcTHtHLMcLXibHmVebaZAwdAVCHKt2HQHJgoiPFtQqNvcJ72ao8nSYakmeBS9Bg Vu1xDiZ02ET6lZUNn6f1vVVjfhNBrt8e9ty1phzo4oMXZh1R7U15QnOKu1ZY7urZSy1g nO+fu0uVu/orYMovpjqVtDJWafMmgLNlthqxN7i1ZR9Ojca3/gcahg7IxlQsmjXWnLBc m5SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=n+XQu0m7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id z8-20020a17090a1fc800b002746f65d4c3si12228136pjz.137.2023.10.10.12.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 12:19:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=n+XQu0m7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E1CFC80CA0A6; Tue, 10 Oct 2023 12:19:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233759AbjJJTTX (ORCPT + 99 others); Tue, 10 Oct 2023 15:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjJJTTW (ORCPT ); Tue, 10 Oct 2023 15:19:22 -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 4E28B93 for ; Tue, 10 Oct 2023 12:19:21 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50567477b29so7863751e87.3 for ; Tue, 10 Oct 2023 12:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696965559; x=1697570359; darn=vger.kernel.org; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=AvjZzz7pnTqNFU2kq8efpY866MOjCfg9gpj/PxH4/+k=; b=n+XQu0m7VOoFw+XDKPQpK4CUKt+osR1RtzWJXf7Wybv2DOD4r5L0z4wq9kS4a/ETU/ 6EALYpL1haL1aHsfwhDWB5zZDkXkHlkX3fMULi+UKyJ8A6rUQWCHEyLSBF3VUS7HOAb7 96TS5IKMIMbRHnWwhEMn57T21loh755ezwwZI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696965559; x=1697570359; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AvjZzz7pnTqNFU2kq8efpY866MOjCfg9gpj/PxH4/+k=; b=sVeL9fTD6PmS6j7RlVScmzkvZye9LbxK6DTor/rVeKuhSpOK8q6MkjzcYz4mKN/c20 eKVDDBfswcK+KF+Cf9FoNRbow2i+XYlo8Bm0u3acQCzb8Lt+knaBJLVUdRJYHMUeTn8t 3RbUEsNT9bqm3AkZt746BBjm9yoSWIlcaaRvjekuSL8Ifebp2jxMBVHiSIG8DpxbEgTq YQNhlhpGhSy5GIRNO6Hcr3D7lI5Fz0RSBxF39TV3AN7FH0HxU+Zagg+YI5ljnFiBMpSb m22+dfB0y1zcjLrYNN8CSZ+91hMoPw+8BxgrEjkL81l24GvxmYuhVIh19cAsCu0Wmq73 X4wA== X-Gm-Message-State: AOJu0Yz5whGZxc6CEHOvfjxzcXE9FU6LfbCbuIJ6SqpUVYMfn9BptHbz Fb0T/I3noNkorp8pxJ6Kr0XlQnHKfGdi7dBWoS1lSg== X-Received: by 2002:a05:6512:ac5:b0:500:8f66:5941 with SMTP id n5-20020a0565120ac500b005008f665941mr19661687lfu.50.1696965559028; Tue, 10 Oct 2023 12:19:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 10 Oct 2023 19:19:18 +0000 MIME-Version: 1.0 In-Reply-To: <1696632910-21942-1-git-send-email-quic_khsieh@quicinc.com> References: <1696632910-21942-1-git-send-email-quic_khsieh@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Tue, 10 Oct 2023 19:19:18 +0000 Message-ID: Subject: Re: [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up To: Kuogee Hsieh , agross@kernel.org, airlied@gmail.com, andersson@kernel.org, daniel@ffwll.ch, dianders@chromium.org, dmitry.baryshkov@linaro.org, dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, vkoul@kernel.org Cc: quic_abhinavk@quicinc.com, quic_jesszhan@quicinc.com, quic_sbillaka@quicinc.com, marijn.suijten@somainline.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 12:19:33 -0700 (PDT) X-Spam-Level: ** Quoting Kuogee Hsieh (2023-10-06 15:55:03) > The purpose of this patch series is to incorporate pm runtime framework > into MSM eDP/DP driver so that eDP panel can be detected by DRM eDP panel > driver during system probe time. During incorporating procedure, original > customized pm realted fucntions, such as dp_pm_prepare(), dp_pm_suspend(), > dp_pm_resume() and dp_pm_prepare(), are removed and replaced with functions > provided by pm runtiem framework such as pm_runtime_force_suspend() and > pm_runtime_force_resume(). In addition, both eDP aux-bus and irq handler > are bound at system probe time too. > > Kuogee Hsieh (7): > drm/msm/dp: tie dp_display_irq_handler() with dp driver > drm/msm/dp: rename is_connected with link_ready > drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes > drm/msm/dp: move parser->parse() and dp_power_client_init() to probe > drm/msm/dp: incorporate pm_runtime framework into DP driver > drm/msm/dp: delete EV_HPD_INIT_SETUP > drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe() > > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4 - > drivers/gpu/drm/msm/dp/dp_aux.c | 39 +++- > drivers/gpu/drm/msm/dp/dp_display.c | 333 ++++++++++++-------------------- Tested-by: Stephen Boyd # Trogdor.Lazor I ran some suspend cycles too with the lid open and closed.