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 09602C25B76 for ; Wed, 5 Jun 2024 23:34:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0896310E3D3; Wed, 5 Jun 2024 23:34:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="hNuGECa7"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E4E510E38F; Wed, 5 Jun 2024 23:34:18 +0000 (UTC) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 455MSGuE008235; Wed, 5 Jun 2024 23:34:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= WxArOI6VFwirbare/r+3IIc02a8u+UHZSpKihogLM3w=; b=hNuGECa7FMZMiex8 OlxawczQGOalu6sFrlZqup5iHMusTsxvRfnyL9I7nBIujdTLm9/bc9o5f9v4/fxu AzUfFt9JAHjKaVv7IDhRtKfo+8CPxQcg3OVEK7qRTExUx/rWcOA6daeZtef9Qy8a VWcHvaFZPIQJTHjx1Ad3ZHBD36Y8XymcohREkT48qrmfp28sJ0EGceXRDiLtj24o ID8+YwfbZqJywgchdBheGRx1d9lUyQKrI3T4oKrBV4o6zUG7KEVEeoupI78pmP6E 8SymxwP/WQUuyCFLXBF+zcXqHEaFr7baV6G92+y/g0DhMElgWn5zDjvMdx20Rgpn 8U2/cw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yj87rkdb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2024 23:34:11 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 455NYAMa030969 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jun 2024 23:34:10 GMT Received: from [10.71.110.249] (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.1544.9; Wed, 5 Jun 2024 16:34:07 -0700 Message-ID: <5e4f6e36-d9b3-a3dd-1f0d-22d4d7c287d3@quicinc.com> Date: Wed, 5 Jun 2024 16:34:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v4 07/13] drm/msm/dpu: move rot90 checking to dpu_plane_atomic_check_pipe() Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten CC: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , , , References: <20240314000216.392549-1-dmitry.baryshkov@linaro.org> <20240314000216.392549-8-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20240314000216.392549-8-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: 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: hmdy5qXjhUuecmyrr7dqGNOXmfmmkyOc X-Proofpoint-ORIG-GUID: hmdy5qXjhUuecmyrr7dqGNOXmfmmkyOc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-05_02,2024-06-05_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 spamscore=0 mlxlogscore=863 adultscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406050177 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 3/13/2024 5:02 PM, Dmitry Baryshkov wrote: > Move a call to dpu_plane_check_inline_rotation() to the > dpu_plane_atomic_check_pipe() function, so that the rot90 constraints > are checked for both pipes. Also move rotation field from struct > dpu_plane_state to struct dpu_sw_pipe_cfg. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 2 + > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 55 +++++++++++---------- > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h | 2 - > 3 files changed, 31 insertions(+), 28 deletions(-) > From the first glance, no major comments, I will give my R-b on this once its re-spun on msm-next.