From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10B98C74A44 for ; Tue, 14 Mar 2023 04:11:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3527D10E138; Tue, 14 Mar 2023 04:11:28 +0000 (UTC) Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A76310E091; Tue, 14 Mar 2023 04:11:26 +0000 (UTC) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32E3Xl3s017880; Tue, 14 Mar 2023 04:11:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Qp98eYtpWbZialJuPza9+EY4+57gDd+JTQNuwql+4II=; b=kCXvcreVZeFot27g5U6ahl8EbjUCaEZXlCCS09mp/bZuOAl4IWMJxu+6z1XLjGThFAp4 CT/RPaTW/fZCYZx9MSzd/MEBmEBNO4w73va9Kyat3khI3T6lGGdR8h60J5kaCCUQL6RM yVBkSirwxBGil6I+WWIoicd6txk06VGPLtpSUnOOJzFuewOpyW1tEoO6LBVDsgstl5t2 xPmz1XwA5K8o54BsQ7qJ/rJ8Sgn5wSiyfKAsJzE8zd4hf/+9K9vYBzPPpw/r27HvXW6A qfyHNXUTxtH0clW+XlGCJOpQm2juhssFkJIZM/4kIbQjvjnlnVdT8ZfLqslSPIbRjUoF xA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pa1qgtg4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 04:11:20 +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 32E4BKwk015486 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 04:11:20 GMT Received: from [10.110.64.241] (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.986.41; Mon, 13 Mar 2023 21:11:19 -0700 Message-ID: <6b3dc663-04d1-f29a-e040-fe0d2d4f1e5f@quicinc.com> Date: Mon, 13 Mar 2023 21:11:18 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH v5 20/32] drm/msm/dpu: add dpu_hw_sspp_cfg to dpu_plane_state Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul References: <20230310005704.1332368-1-dmitry.baryshkov@linaro.org> <20230310005704.1332368-21-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230310005704.1332368-21-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: mhVpInuFM6VOs1EoQCSiouHnXtNxRj3s X-Proofpoint-GUID: mhVpInuFM6VOs1EoQCSiouHnXtNxRj3s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-13_13,2023-03-13_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=592 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140036 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , dri-devel@lists.freedesktop.org, Stephen Boyd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 3/9/2023 4:56 PM, Dmitry Baryshkov wrote: > Now as all accesses to pipe_cfg and pstate have been cleaned, add > struct dpu_hw_sspp_cfg to struct dpu_plane_state, so that > dpu_plane_atomic_check() and dpu_plane_atomic_update() do not have a > chance to disagree about src/dst rectangles (currently > dpu_plane_atomic_check() uses unclipped rectangles, while > dpu_plane_atomic_update() uses clipped rectangles calculated by > drm_atomic_helper_check_plane_state()). > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7077EC74A44 for ; Tue, 14 Mar 2023 04:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbjCNELp (ORCPT ); Tue, 14 Mar 2023 00:11:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbjCNELj (ORCPT ); Tue, 14 Mar 2023 00:11:39 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A415900A3 for ; Mon, 13 Mar 2023 21:11:27 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32E3Xl3s017880; Tue, 14 Mar 2023 04:11:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Qp98eYtpWbZialJuPza9+EY4+57gDd+JTQNuwql+4II=; b=kCXvcreVZeFot27g5U6ahl8EbjUCaEZXlCCS09mp/bZuOAl4IWMJxu+6z1XLjGThFAp4 CT/RPaTW/fZCYZx9MSzd/MEBmEBNO4w73va9Kyat3khI3T6lGGdR8h60J5kaCCUQL6RM yVBkSirwxBGil6I+WWIoicd6txk06VGPLtpSUnOOJzFuewOpyW1tEoO6LBVDsgstl5t2 xPmz1XwA5K8o54BsQ7qJ/rJ8Sgn5wSiyfKAsJzE8zd4hf/+9K9vYBzPPpw/r27HvXW6A qfyHNXUTxtH0clW+XlGCJOpQm2juhssFkJIZM/4kIbQjvjnlnVdT8ZfLqslSPIbRjUoF xA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pa1qgtg4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 04:11:20 +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 32E4BKwk015486 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 04:11:20 GMT Received: from [10.110.64.241] (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.986.41; Mon, 13 Mar 2023 21:11:19 -0700 Message-ID: <6b3dc663-04d1-f29a-e040-fe0d2d4f1e5f@quicinc.com> Date: Mon, 13 Mar 2023 21:11:18 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH v5 20/32] drm/msm/dpu: add dpu_hw_sspp_cfg to dpu_plane_state Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul CC: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , , , References: <20230310005704.1332368-1-dmitry.baryshkov@linaro.org> <20230310005704.1332368-21-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230310005704.1332368-21-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: mhVpInuFM6VOs1EoQCSiouHnXtNxRj3s X-Proofpoint-GUID: mhVpInuFM6VOs1EoQCSiouHnXtNxRj3s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-13_13,2023-03-13_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=592 spamscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140036 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 3/9/2023 4:56 PM, Dmitry Baryshkov wrote: > Now as all accesses to pipe_cfg and pstate have been cleaned, add > struct dpu_hw_sspp_cfg to struct dpu_plane_state, so that > dpu_plane_atomic_check() and dpu_plane_atomic_update() do not have a > chance to disagree about src/dst rectangles (currently > dpu_plane_atomic_check() uses unclipped rectangles, while > dpu_plane_atomic_update() uses clipped rectangles calculated by > drm_atomic_helper_check_plane_state()). > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar