Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3642164rwi; Wed, 12 Oct 2022 05:05:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MQe8b1e/KaacBwLg53+OFr+T4yAWHANDCYBR8Sml1pm62iXPpbMQCotfUVd++chYHQI0A X-Received: by 2002:a17:907:6d27:b0:78d:46f6:c59e with SMTP id sa39-20020a1709076d2700b0078d46f6c59emr22649757ejc.30.1665576350342; Wed, 12 Oct 2022 05:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665576350; cv=none; d=google.com; s=arc-20160816; b=gvqHq/7JYs/0I3+zEQ7AHlbuo212oLtZ4R7uOUZNrdcuiNnVCFO1wAc/Z05O3sMVOW 3GMPt6ULCgNpBLg6xp4FK/9R6j91on0JV2IWOZjCiPqOxNRCeXvGKkuL7VH1p3pcnETV oCEpWTBwgfJS6zoP51Sk4/WSgOM3yfFxzd+EL56THvOn22kSA+Wr+N5gD9SzTGzJg/wK mVqDpz+r5OGyEvdPrz2Uddeduz8k4ZwXoAqo6f0EmgUGdOj9e8EK/kTqS2UMD8q2ttSp +Rh5RoSRuMy4Gf2VUf50iObL8ZfayoOOYNIbg+bv68Xi2nLHn0JJunStaSVKnpH0Ae6C 24cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=5jYkfw8uF0wZhEX4SYCnpSA6qaL02kJLYhcKVZvnBOU=; b=CyGWoFI/yPxRysxmKF/YIb3yCFmFdY9wBpKXVsNH4NBrjXz8avcu7luZOusU9UJFOP WpFqFDjAuK0uhlpZYr3scTWxXJ0Vk8Aun7GTrZzGP6o345i/nwB1DNqaR7oHssIPxSFV YIqQDksAhY7TtXHkxl4H/E1DUy0vTZJiORrfva8Wgesd41WkxXi08vX2wwZlNN1wQILR Eo1PWlhnxytNeOo+n45/ZgYFhNg6wjCUXNBoOezPRuOyTC2DXFehMdcq5f7etbimngBz VYSCv+h4i4Kdvots+TOqMKR53BV/0gqtZgMu6bPyULXi0dWF2Ldrin7GSh1giMqoiDNf w+tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DB1GyY78; 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 v5-20020a056402348500b00458cf31627bsi16299998edc.266.2022.10.12.05.05.12; Wed, 12 Oct 2022 05:05:50 -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=DB1GyY78; 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 S229799AbiJLMD1 (ORCPT + 99 others); Wed, 12 Oct 2022 08:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbiJLMC5 (ORCPT ); Wed, 12 Oct 2022 08:02:57 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4582A7ABC; Wed, 12 Oct 2022 05:02:55 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29CAofXC019416; Wed, 12 Oct 2022 12:02:53 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; s=qcppdkim1; bh=5jYkfw8uF0wZhEX4SYCnpSA6qaL02kJLYhcKVZvnBOU=; b=DB1GyY78fXqDyzVcywz6lTBKXPIPfl278Lv/f6F4rnvIqYwLv2GgHky++fET0zhLw9f4 NisoCCf2pri0inddVxdftHSfIqjmlc9ZhZeq7sq4jv2I8SsPHLpOOzhBky87pzazV4ru X1EdN3JreT8dSBOxEz2iyQAo6n0fDTVx+qc7Z8OOkgM5oVuUnIYmktPqKEbv4AA4lRP6 mYrAoahweGD/rPmVLbHZQWNdve4/p26Htre2HtfowkIlnwYWt/fPe+MOClCZV+0IF6cc 4p4GgXZ6xIdVgVrtJBXL+qn6lrldefxcvM0fHNZ5jrhYrJaVnQvAiqd3RfbJ9LwwntcN Eg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k5e7fjbsk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Oct 2022 12:02:53 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 29CC2mtT026937; Wed, 12 Oct 2022 12:02:50 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3k3jpu0t2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Oct 2022 12:02:49 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29CC2mwd026911; Wed, 12 Oct 2022 12:02:48 GMT Received: from vpolimer-linux.qualcomm.com (vpolimer-linux.qualcomm.com [10.204.67.235]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 29CC2mNp026872; Wed, 12 Oct 2022 12:02:48 +0000 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 700113F05; Wed, 12 Oct 2022 17:32:47 +0530 (IST) From: Vinod Polimera To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Vinod Polimera , linux-kernel@vger.kernel.org, robdclark@gmail.com, dianders@chromium.org, swboyd@chromium.org, quic_kalyant@quicinc.com, dmitry.baryshkov@linaro.org, quic_khsieh@quicinc.com, quic_vproddut@quicinc.com, quic_bjorande@quicinc.com, quic_aravindh@quicinc.com, quic_abhinavk@quicinc.com, quic_sbillaka@quicinc.com Subject: [PATCH v8 15/15] drm/msm/disp/dpu: clear active interface in the datapath cleanup Date: Wed, 12 Oct 2022 17:32:39 +0530 Message-Id: <1665576159-3749-16-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1665576159-3749-1-git-send-email-quic_vpolimer@quicinc.com> References: <1665576159-3749-1-git-send-email-quic_vpolimer@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: G9BcDfnJhs3mfkKTF0IyF7VKrcaqlS4G X-Proofpoint-GUID: G9BcDfnJhs3mfkKTF0IyF7VKrcaqlS4G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-12_06,2022-10-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 impostorscore=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 adultscore=0 mlxscore=0 priorityscore=1501 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210120079 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 Clear interface active register from the datapath for a clean shutdown of the datapath. Signed-off-by: Vinod Polimera --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 9f4f4e5..ab44016 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -2069,6 +2069,9 @@ void dpu_encoder_helper_phys_cleanup(struct dpu_encoder_phys *phys_enc) if (phys_enc->hw_pp->merge_3d) intf_cfg.merge_3d = phys_enc->hw_pp->merge_3d->idx; + if (phys_enc->hw_intf) + intf_cfg.intf = phys_enc->hw_intf->idx; + if (ctl->ops.reset_intf_cfg) ctl->ops.reset_intf_cfg(ctl, &intf_cfg); -- 2.7.4