Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp681303rdb; Fri, 6 Oct 2023 15:57:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7W6YRw+JWdbxuTRSOsf6OqRI4H0REf/ApSHpYwdJtl7PFYrXzx0wUhx/pUMXqv/iugDXP X-Received: by 2002:a05:6a20:3d02:b0:13d:1d14:6693 with SMTP id y2-20020a056a203d0200b0013d1d146693mr10365040pzi.45.1696633062707; Fri, 06 Oct 2023 15:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696633062; cv=none; d=google.com; s=arc-20160816; b=GYUU8IfBcozuH432aPw9SK9hSZtnpeXdljzVG76+MshOCt6dzjVxMDHbQBvTZz4ULh tW/pax6Jc4M1WFeiHRq2+VMfgaT51Px52htwOZwzj6AiEjtcy00ZHQlqK763c2T+izYe VRFwhqUgEieBuFDjxqldUOMfA6VB7nNMhZdsbByGNRJFKw1A5pwwjJZUl04mMJTjZ+TA wlwHV5d+qABO9pSeptMy4MUv4mRQB3QHfdA1KzfoJsp7lzesVzQZGcyQZ7qyMwtyCetM /qmwQvho17iRCrEzsmeCO+jdbFztid+eb98zgdH1skhEyaMyU7MvxgwbzCmCN7q3SaFe f3EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=Q9PPHN2HNOBKqCgDEcnTRJVaT1JYe9aZO9lc0Sf9V9o=; fh=WdvorNt9W2LCUPiGPsn75/bW5381IkpXRxF82JgZV7c=; b=Lu0GnF7rGHsaPC1m0z3dyuRr3mmerQRjDE+NTJ52Fl6PWGED9cbLabGd2/JvSL4WvV /oC1YTr01LJcgWMNGUc8ZHSTSwfFmMBQoXTpJKZ0BUX1Ki4wPnq/0AfYOEKg3xNbo3tn AB0KSKSLA3wk1GHXTEjT3BJVHEN2V7+cqE8L0ecmL08JQmync55jtNvbpOV8u94FZClO 5164SQZlHyHRoh288UIo70Bgwwzge/dG6TFbB3ZxCeZRD0nssWAMaUaWne9j3LBfmqZ2 Q2F7SgsVI1K7x0IueHfj6A/E/YtlhnElGZzRFDZTk+R2iPwwYojmu8zFhNikIt2Cr/p3 8UlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="G/73YNxg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id fh18-20020a056a00391200b0068a6eb3b548si2464852pfb.401.2023.10.06.15.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 15:57:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="G/73YNxg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1149C8044FD2; Fri, 6 Oct 2023 15:56:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233862AbjJFWzl (ORCPT + 99 others); Fri, 6 Oct 2023 18:55:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjJFWzk (ORCPT ); Fri, 6 Oct 2023 18:55:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F6D293; Fri, 6 Oct 2023 15:55:38 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 396M9Y25024790; Fri, 6 Oct 2023 22:55:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=Q9PPHN2HNOBKqCgDEcnTRJVaT1JYe9aZO9lc0Sf9V9o=; b=G/73YNxgViqbEphWEIAgSA3X/nOaiKpznDY4qqMfNuHRFwO7vS3VSnfqAA1xSlvdTUhn BNLY6maEUjklL7G7/HgL09BQ5eLPrDr4n4GMoa9DsPiu1r55NdXouG+ttY8Zgfh1uh7O AdQnfkveAUcVGZf5JA0tZ/NAqVcuE1hhBO0I5+YWpFoe2cw0gvgC+1DoLXj/mjiKYZ1T kikkPmUlTzJJ3CvMkjOu0eK5B12xGSslen/QURMO51XOXMtbw82q6aYjURRN+JxapviE SHoNx1x1sO1yr+wqDPOoky0huUTjGav0gk6M4SjAa8wqZ6taIOXWx5hLSTU0ftaYw0zm og== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tjnddgsuf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 22:55:21 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 396MtKiM015645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 22:55:20 GMT Received: from khsieh-linux1.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Fri, 6 Oct 2023 15:55:19 -0700 From: Kuogee Hsieh To: , , , , , , , , , , CC: Kuogee Hsieh , , , , , , , Subject: [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up Date: Fri, 6 Oct 2023 15:55:03 -0700 Message-ID: <1696632910-21942-1-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: oovOhBFh9Cc-a3EceXjPbrMqBeC2v4a4 X-Proofpoint-GUID: oovOhBFh9Cc-a3EceXjPbrMqBeC2v4a4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-06_15,2023-10-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 mlxscore=0 adultscore=0 bulkscore=0 mlxlogscore=762 spamscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310060177 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 15:56:17 -0700 (PDT) X-Spam-Level: ** 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 ++++++++++++-------------------- drivers/gpu/drm/msm/dp/dp_display.h | 3 +- drivers/gpu/drm/msm/dp/dp_drm.c | 14 +- drivers/gpu/drm/msm/dp/dp_power.c | 16 -- drivers/gpu/drm/msm/dp/dp_power.h | 11 -- drivers/gpu/drm/msm/msm_drv.h | 5 - 8 files changed, 161 insertions(+), 264 deletions(-) -- 2.7.4