Message ID | 1675091494-13988-2-git-send-email-quic_vpolimer@quicinc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-msm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A9CAC61DA4 for <linux-arm-msm@archiver.kernel.org>; Mon, 30 Jan 2023 15:12:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237979AbjA3PMG (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Mon, 30 Jan 2023 10:12:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237981AbjA3PMD (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 30 Jan 2023 10:12:03 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E890335245; Mon, 30 Jan 2023 07:12:02 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30UEOGdp006696; Mon, 30 Jan 2023 15:12:00 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=5541rvjzRalFGyRJy8gOGY+SwqZ2yBmR83pAe/IFHlM=; b=nT0lJZywJzHHGNSC/C9r7AM2hQmmTFvRTzzIBcBvRBOS0ewCDA101SylHeZmPAWOAZt0 KE8m5pQUx8BVY+lWk8ZpJwnarHkhp6pW69AnDpb0S0aqp58qSfZr6eO1khXbkZ6Q3Rf2 kpt98mJjlW4uO4cXH0ZbVSt4b4juvep2Ky32jfyF9L4klYXHcYvbN48bPqWad9zyx8K+ bbUOIN+ElgyjZ8fxKVKyv/BXVGwlqr2cOl5RX5a1bk8w25+DnzbmBGQPQf6Ec5jElSJH QnRHOarokYz4i1PdOmrESv/NMHgMMiSXDgwqZO0PiYt+Fvjl8EJsFQV2MmDGWeDI5Xkk UQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nefmfr30u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 15:11:59 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30UFBwjt019598 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 15:11:58 GMT Received: from vpolimer-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 30 Jan 2023 07:11:53 -0800 From: Vinod Polimera <quic_vpolimer@quicinc.com> To: <dri-devel@lists.freedesktop.org>, <linux-arm-msm@vger.kernel.org>, <freedreno@lists.freedesktop.org>, <devicetree@vger.kernel.org> CC: Vinod Polimera <quic_vpolimer@quicinc.com>, <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_abhinavk@quicinc.com>, <quic_sbillaka@quicinc.com> Subject: [PATCH v12 01/14] drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources Date: Mon, 30 Jan 2023 20:41:21 +0530 Message-ID: <1675091494-13988-2-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1675091494-13988-1-git-send-email-quic_vpolimer@quicinc.com> References: <1675091494-13988-1-git-send-email-quic_vpolimer@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 nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: etF3IqbG-5xNh6mW9foaDjVqSCC1SOkm X-Proofpoint-GUID: etF3IqbG-5xNh6mW9foaDjVqSCC1SOkm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_14,2023-01-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 priorityscore=1501 mlxlogscore=980 suspectscore=0 bulkscore=0 mlxscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301300147 Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
Add PSR support for eDP
|
expand
|
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 758261e..c237003 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -652,7 +652,7 @@ static int dpu_encoder_virt_atomic_check( if (drm_atomic_crtc_needs_modeset(crtc_state)) { dpu_rm_release(global_state, drm_enc); - if (!crtc_state->active_changed || crtc_state->active) + if (!crtc_state->active_changed || crtc_state->enable) ret = dpu_rm_reserve(&dpu_kms->rm, global_state, drm_enc, crtc_state, topology); }