Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2523473rdf; Mon, 6 Nov 2023 18:00:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIiPqzqpnEily2Hd0jnhbUC0Z5K2U8sqA1pU0HCKC0K962XoEL71g6dDtxqlvn9EcWIyEW X-Received: by 2002:a05:6a00:10d4:b0:690:c75e:25c8 with SMTP id d20-20020a056a0010d400b00690c75e25c8mr28299921pfu.7.1699322456684; Mon, 06 Nov 2023 18:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699322456; cv=none; d=google.com; s=arc-20160816; b=omaYUVOv4EwaBE5DhiSDFV/WFR+Tw6EPnR4mKCqcZcZtneFOdEE4jyrBeXQtFXDAWl Cde3d3XR+PGWutlrU6FA6+sKS7K6VqYghMnogcPRN1684K3UR+XotcIL3L5KHR91EfMD Q8Cgmaiqm5OZCbNRnGkIH21l6UIeKaFytGmF73HBlGtx7sz9tpPBI1ilpqH+N/qG/ncd MaihfA+lO3DIgymJoEQcLZ3n1tIARrMOOIO/YSTFUwojLImT057bIZo5RTDGNobKnADa TpuQNDmdyiiKb8JvnOkv5ouz3J+0nv+YajfMnA1ekAXO2CfrCC/4aJf+mR1OMjOwpNDr tAVA== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=qRdFl5udOcDDgpUUHFmtzTJy5y7ihwibQnaHgGQmu7k=; fh=Iu05yrOKhRyKBOIps2Mjvip7s5lelUzP4uL09HFczko=; b=O9g9ixzbvMA4fbIzGh6v+BBCL3drn0a2/Y7pPjMeyHAeiX1wHmJJ7I+IeGjk4z8gnX PUJ0Bk1BFspckrUVJemFVNWrspc0Uefyul0ndNs2AH9Esyl7264M17J6Sm/Rcqfx847l avnuAcim/iwD11I3i+d+L4rhJbYTn+KiE5P/idxlDE3LD2oP+2tfFX5M2HoIL6lCPNq+ e2LE9VK5gZnawMgKVo+o7p7v95gxox1qlz4mJTxZmbRAcD6rnefDPkHsUR9ODvt4jRtf 2/IS28jqp0jzunpQfPVI9kn8FrEjKJmE6fZ5RXc5xBj6JcwmZWYobcceYoWp2WQr8sVM 8n7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BZFblLgj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id i6-20020a636d06000000b005ac7b5e2357si996768pgc.378.2023.11.06.18.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 18:00:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BZFblLgj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 94DD280B79D5; Mon, 6 Nov 2023 18:00:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232527AbjKGB4L (ORCPT + 99 others); Mon, 6 Nov 2023 20:56:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbjKGB4K (ORCPT ); Mon, 6 Nov 2023 20:56:10 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E11111F for ; Mon, 6 Nov 2023 17:56:04 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-5b35579f475so60337817b3.3 for ; Mon, 06 Nov 2023 17:56:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699322163; x=1699926963; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qRdFl5udOcDDgpUUHFmtzTJy5y7ihwibQnaHgGQmu7k=; b=BZFblLgjjM8OPrYN1LQG8qQwUVwf1K6prfsGbAy4Bhzm8h+623wqk2iEmra2LeDRLe 0hIOjLbH+rlPSWP6psoPUqmwG/ubWml1CUtslEYTcFiiv8b5PYZSlBfIbdtVfRa0hsxm v2oymDSdKZXJuZH2AAB1/Ov2Uepwti+X7H++7YNazEaqbxY6vK2m2vTi4qvsMnunH+/j 9dbEMsxQpbgXCiIm2fPH6dBoCHU75yR9WJOLPHgwwFfPGkCrnhXPSr3idkcnD5hMqVxr pq5K4Qeq1R3AW2jMycFL1w58bExHzcxhpaD40E5JCMFY/TAOmKGNTUndfSYyPZse4Jzy yzVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699322163; x=1699926963; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qRdFl5udOcDDgpUUHFmtzTJy5y7ihwibQnaHgGQmu7k=; b=I2TBZ3vtizJnAV/Q2r7cow4lHuGVeIrETQ0sn7fqN/Q0zGVx91aYoBa77Zgngma5h5 8spnCVh09hepLANRTcmpki6Kak0ba3/VUWCPN7rqNMtw5LOc9ect9ONWWWVv0q3FRlSL wLTGn6ftbypEDfN8Luev6q6I2zjtuy6YKKEoyShFTHDk0lVYVR34Tgb5t39e4VWcbk5Y s2T3NbpCc0WB2KUcDUga2K6hPYzWlQ08v0fm4sRB+vfRVJnOobPHqFhrGyypVGPx/vqZ dZwGfQ1tybx3pb18HxtdE0X2vuefpoDS/H63wsGvXMoQ5raNYqbkDn9mKomg4b7ayKC9 ajfA== X-Gm-Message-State: AOJu0Yy6XGdnGARj2nU45CCeHHZTzZbDQnd/KN1SBYYWtjLo3/t3hbH/ z0YTz4VZxABWP8RaBkHSL3Aw2Huhz5i+XfSnXInn/w== X-Received: by 2002:a81:9a54:0:b0:5a7:fa8b:3fa6 with SMTP id r81-20020a819a54000000b005a7fa8b3fa6mr12601421ywg.9.1699322163303; Mon, 06 Nov 2023 17:56:03 -0800 (PST) MIME-Version: 1.0 References: <1696632910-21942-1-git-send-email-quic_khsieh@quicinc.com> In-Reply-To: <1696632910-21942-1-git-send-email-quic_khsieh@quicinc.com> From: Dmitry Baryshkov Date: Tue, 7 Nov 2023 03:55:51 +0200 Message-ID: Subject: Re: [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up To: Kuogee Hsieh Cc: dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, swboyd@chromium.org, dianders@chromium.org, vkoul@kernel.org, daniel@ffwll.ch, airlied@gmail.com, agross@kernel.org, andersson@kernel.org, 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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 18:00:51 -0800 (PST) On Sat, 7 Oct 2023 at 01:55, Kuogee Hsieh wrote: > > 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. With this patchset in place I can crash the board using the following sequence (SM8350-HDK): - plug the USBC DP dongle - run modetest at any mode, don't press Enter yet - unplug the dongle - press Enter to stop modetest => the board resets to Sahara. Please ping me if you need any additional information from my side. -- With best wishes Dmitry