Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32607993rwd; Fri, 7 Jul 2023 17:34:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlFS+5I1h6s4YRBB3M0Tg3l7QkEfyOlemTW9D38ypr/hapRgX6seJjf2IGpcq3fexGLVC2YQ X-Received: by 2002:a05:6358:3a1b:b0:134:c7ef:406d with SMTP id g27-20020a0563583a1b00b00134c7ef406dmr8683869rwe.31.1688776474784; Fri, 07 Jul 2023 17:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688776474; cv=none; d=google.com; s=arc-20160816; b=tVWv/9toYTNZT/g/WQwupxNBpTdktHnn/gSLyjaG7Yr7pkwEJiYq2zc8lPma4z9Pm1 tKc5kLaVfFX53r3ZkNdB0WOn4+zdLTt8rKVFaQN2YqNAguF2U2hyeZYbRwbJlDKX/5i7 MRURD9i1mipS8LnWZjSXVx/9W12YyO7jLFDR9Ou0pmqHXAo2LqCq24WXgwKdAmwLdsdR /SvEuI4JMLtM0sS6rez33tJk8SVIJAtAsnV29X4iVkY3t/4c2+Z+jc2HVzLXGh8GYwF4 1jBgYCunndfEvihiDqlIapA+y+yLJl+GoksxuwgmxIhfR+X1eoScdwc2VLE8DfbD+Prr yedQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=55d8wxJHD2skusoB0AWCsKRiDOr/r6uKT7GO26qxChw=; fh=iLBDXtppA26XbUzg3OoIf+Xf8T8VNt57htQsV5BwKSs=; b=EKlQmwyR9hctCllc/R90zowJRS/+5stXs0FU+diiqysoEy/+sLuqjMXlESibP+7XT1 wynRlQxuLv4GCSmz6+F6AKE6t4cxZre3nc+enYVa/TpbBILyYokRUsIeFEeTTbpEOX+W R2EDQGp10x3xf0FN35fUQTt0SrwCijvrZ7ZLyYwy+JfMn6olbBmhT03KX9MfKF+XsQMb IQP3V0+rdE2QEZJQHvIN2JscRMt+ssMZ6BQHeH7oUtjAH3FatD9xLQESMGBcT9hKFtZd eSfMYAopKA/M+a/6q4VOqsbxD5PUDbTxdra3G5aNbx9xrL8WA1qpIKnbGWj8U5QIzq06 31iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gM8rSBI7; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay7-20020a1709028b8700b001b88997ababsi4421318plb.412.2023.07.07.17.34.21; Fri, 07 Jul 2023 17:34:34 -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=@quicinc.com header.s=qcppdkim1 header.b=gM8rSBI7; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231316AbjGGXxH (ORCPT + 99 others); Fri, 7 Jul 2023 19:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbjGGXxF (ORCPT ); Fri, 7 Jul 2023 19:53:05 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F51B2114; Fri, 7 Jul 2023 16:53:04 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 367MIGE3032639; Fri, 7 Jul 2023 23:52:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=55d8wxJHD2skusoB0AWCsKRiDOr/r6uKT7GO26qxChw=; b=gM8rSBI7C9hyDfUqgcJW6RXXxwabZuYRW2Ndblu4C2KistsCP5TCIdmD301/WI5wTxgO WJHrL22hcki8yBDnsPYSkQkToWGC0G63ncgp8KAdyFQzryq03Vics5Fob/Enkq5v6Cco ZOUcZiICUoy8wxxvTEPPg+Gl/BafvIz1Il9SgFDckn5FjRcgV9subDI9xJhPQPLO81vR q8J86VVDvWkG1cN6n5AcKbi86ePuoMqqa8J94YUEL5ZqyOHjDG0eaosKTud67eOTaTnD OlcGCu7EPbzS6u9IgnZkR63/K4zhMXD0ZELX41aYXAoivXGIKzQC8Qa0H/wUbW612Rl2 4w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rpfyw9tqh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jul 2023 23:52:55 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 367NqsG4008802 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Jul 2023 23:52:54 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.30; Fri, 7 Jul 2023 16:52:54 -0700 From: Kuogee Hsieh To: , , , , , , , , , , CC: Kuogee Hsieh , , , , , , , Subject: [PATCH v1 3/5] drm/msm/dp: delete EV_HPD_INIT_SETUP Date: Fri, 7 Jul 2023 16:52:21 -0700 Message-ID: <1688773943-3887-4-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688773943-3887-1-git-send-email-quic_khsieh@quicinc.com> References: <1688773943-3887-1-git-send-email-quic_khsieh@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: oAtebzOVZ2foSUlDRxXU_LTI0GByz4lO X-Proofpoint-ORIG-GUID: oAtebzOVZ2foSUlDRxXU_LTI0GByz4lO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-07_14,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 adultscore=0 malwarescore=0 bulkscore=0 mlxscore=0 clxscore=1015 mlxlogscore=999 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307070217 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 EV_HPD_INIT_SETUP flag is used to trigger the initialization of external DP host controller. Since external DP host controller initialization had been incorporated into pm_runtime_resume(), this flag become obsolete. Lets get rid of it. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 2c5706a..44580c2 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -55,7 +55,6 @@ enum { enum { EV_NO_EVENT, /* hpd events */ - EV_HPD_INIT_SETUP, EV_HPD_PLUG_INT, EV_IRQ_HPD_INT, EV_HPD_UNPLUG_INT, @@ -1119,9 +1118,6 @@ static int hpd_event_thread(void *data) spin_unlock_irqrestore(&dp_priv->event_lock, flag); switch (todo->event_id) { - case EV_HPD_INIT_SETUP: - dp_display_host_init(dp_priv); - break; case EV_HPD_PLUG_INT: dp_hpd_plug_handle(dp_priv, todo->data); break; @@ -1483,15 +1479,7 @@ void __exit msm_dp_unregister(void) void msm_dp_irq_postinstall(struct msm_dp *dp_display) { - struct dp_display_private *dp; - - if (!dp_display) - return; - - dp = container_of(dp_display, struct dp_display_private, dp_display); - if (!dp_display->is_edp) - dp_add_event(dp, EV_HPD_INIT_SETUP, 0, 0); } bool msm_dp_wide_bus_available(const struct msm_dp *dp_display) -- 2.7.4