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 D29CCCA0FE7 for ; Tue, 26 Aug 2025 17:45:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23CA510E6A8; Tue, 26 Aug 2025 17:45:01 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.b="SfKd+GfV"; 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 F095A10E6A8 for ; Tue, 26 Aug 2025 17:44:59 +0000 (UTC) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 57QDLO7C007851 for ; Tue, 26 Aug 2025 17:44:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=Fo1/9Ip6/4Cnz50sym4R0+zd sohgsrtps0QIg0lGkcM=; b=SfKd+GfVGy8xCvuGCGOvIj5jNVwjV4HE7/RKfpyy V0BQCWKndvp1G/yRrXqPDmnB+T7L2ulJyIajRk7Yubf3pD8RLLLFuMschKiNMo9X +oUkU9fPk2y+oOxhzbJoiXdadeS0kuOppSq51pT/IcJHDJwVapwSwJlTGDMdWwGU Wdho7eX2MfubXdAJHcYcSQILGGnoDtpvEU1SE4n8+RV33oOaAgmstJGRNRoZGeOg X9UyB+7pbha40sDq2IwR0kSg/qwP1oDvHeJXROmhvMrck+aAUL78RVbCAmNQ2HR1 U2FlXdz0WGfpw00kVOLjhSPT4gzbAIXaauzZh0dAeAmxCA== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48q5xpt19p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 26 Aug 2025 17:44:59 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-70dd6d25992so15653156d6.2 for ; Tue, 26 Aug 2025 10:44:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756230298; x=1756835098; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Fo1/9Ip6/4Cnz50sym4R0+zdsohgsrtps0QIg0lGkcM=; b=wyEdzphPkitS/cjmukupmxkMhim7UFxPIieK/2OsIrCYHZMWl8/RQlAR3egiTzSF64 PUg7Rj6k2vU/QE7Lp+ATeQdDjBWu4Om5smfpB5VeQlqTImb9UCtfbmSMOnL6+XPKlkd5 8ydIzM95+M/RP8lOUX5gULeddo3ZW5XhKUx6Hdhl3mN/4fIdp7Orca599mxO/x1jrX2V +ooFRF9smpWj4OezxLggjCX0bmflHUZ+PKEVT+io+M8pjNDJhxI/ywVLqu80SwlL16WX QG61KeElDTSuud69yhK4bN5IyCHJDeDgjEcTlwNQPQqSuQVvQ7/OgoeMDMgVdxcJ26U+ G69w== X-Forwarded-Encrypted: i=1; AJvYcCU3wYYaJrv0ku8fSix5+F6hWgEvTvKrdLYbUA7vNuGoLSrK5EKBdlzW6C+XW034HwI4qGh3Lz3JZSs=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yy/UCMlkFtPu4t3hR1wSNdhqsz8VpSVo/dXiDDKAZTo0rUYA6Jn FmfhRu0z81RHLRnx8F/qUUvWPfC2+q+YUx58qt+z8Gdb1gZMZdhmVD06aZM6jGCwVVkk1PGtlh8 T6qOt9eWBqKBfTrc92CzybJCRde7ZJtBZo1VNewM4NFD9dirEExa1YVqAZZVwcwmiJXUk0/I= X-Gm-Gg: ASbGnct9wsd0/7tYyKGrfc/fYIjd0QxlHLu2iCHtACyFcIaWUHEyRMNRTE5G//dUn1s aJDgKAacU28MEGadSiqlMABXNhGUWCaidpLCU895784M2GlO2YrAKPVAAHskGpEFwJJfxkMYuZ2 oKDTl2SkSRP7rD1qKV8Td/2uyuX4GUvtgl/6sACuVXhULvZpH7nYWqzD6iKvFzEsqKEBE16iEjW qdoD56rj96x2MbWO0VIwp/eHwEzj31WuWnjTWgwGFy6Bg9/9HxtRD1g5yaZ8Zpj1v/hMVApSZix RMj2ri15PMKWh4r89KT5fsXbiiVoLkq5N6T3WgcljQGwAySlJaBX041cUQxEmoUetl+/uCf5pjI 4m4LK2TuAiJoa/YRaLEGkLuCmA6OMVjG6mvPM6jcY298lajy4opKn X-Received: by 2002:a05:6214:5283:b0:70d:ae3c:b712 with SMTP id 6a1803df08f44-70dae3cba60mr119353606d6.26.1756230298123; Tue, 26 Aug 2025 10:44:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqr7erg1723NCR76J53tDrWLPj6Q4rsJqNLBT87HEUC8VXg2JCngL3ZutGor5JaNkJQe0UUw== X-Received: by 2002:a05:6214:5283:b0:70d:ae3c:b712 with SMTP id 6a1803df08f44-70dae3cba60mr119353156d6.26.1756230297529; Tue, 26 Aug 2025 10:44:57 -0700 (PDT) Received: from umbar.lan (2001-14ba-a0c3-3a00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-55f3f260c7asm1945645e87.126.2025.08.26.10.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Aug 2025 10:44:56 -0700 (PDT) Date: Tue, 26 Aug 2025 20:44:54 +0300 From: Dmitry Baryshkov To: Yongxing Mou Cc: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 29/38] drm/msm/dp: add MST atomic check to msm_atomic_check() Message-ID: References: <20250825-msm-dp-mst-v3-0-01faacfcdedd@oss.qualcomm.com> <20250825-msm-dp-mst-v3-29-01faacfcdedd@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250825-msm-dp-mst-v3-29-01faacfcdedd@oss.qualcomm.com> X-Authority-Analysis: v=2.4 cv=KOlaDEFo c=1 sm=1 tr=0 ts=68adf29b cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=2OwXVqhp2XgA:10 a=EUspDBNiAAAA:8 a=AVsrb5vlp7rL4eKdMZ8A:9 a=CjuIK1q_8ugA:10 a=iYH6xdkBrDN1Jqds4HTS:22 X-Proofpoint-GUID: vNeekyEIXpqdueayDkp3tmEwkVyCrgfL X-Proofpoint-ORIG-GUID: vNeekyEIXpqdueayDkp3tmEwkVyCrgfL X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODIzMDAzMyBTYWx0ZWRfX6p+XLQp/i5ry uvR2yybZjeUlGLTdXkO4KrIhVfNK31vt6vVfIGI+umDbMl9yx+EDlWpyJZ07N1lJHI72oZ69T+P kdLiweKpBF/CK7bR2nfQ/fiGVhFeDyF+sOyJtEJOO5XxlkXi2zFZJmHFUVaVLRV/dYL3cxgfD0b 7mVtWJzq/YP+9h1KZsNIsS8dAUXANPsNaFq9MC2R7yJbBYT/5N5rILstJIPlN4hQOAdGtuPs7jD ZdPmdJK/BI703WX2ThuzPoh8SAn4GmaHxGDYnORzsK+yNpDKN6jVhxwO3mvVBQNkzcErcS+A9xw D89wI0RMoo60s64T9LcXTJfeP4XV8b2dBdao1Zx1IuaTpMSBU8Psw9JWTeUyvezcaHx7x4F58GQ Jq4MOMmb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-08-26_02,2025-08-26_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 bulkscore=0 adultscore=0 phishscore=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508230033 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 Mon, Aug 25, 2025 at 10:16:15PM +0800, Yongxing Mou wrote: > Add a call to drm_dp_mst_atomic_check() within msm_atomic_check() to ensure > proper validation of atomic state changes related to DisplayPort > Multi-Stream Transport (MST). > > This complements the existing drm_atomic_helper_check() and allows the MST > framework to perform its own consistency checks during atomic updates, > such as validating connector states and topology changes. > > Signed-off-by: Yongxing Mou > --- > drivers/gpu/drm/msm/msm_atomic.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry