Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3154279lqt; Tue, 23 Apr 2024 11:47:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbLT4KQ+cnX11XX7WWGPaRHN7e1QcGRbywE7a5EO/XTYQM4pjzVHZ5dJDEv4JIvlgTOq0Lc2l/RZo6n0qDYtEgFbqeMYocu8W6yjbnhA== X-Google-Smtp-Source: AGHT+IG8lkMTlsxsdCN4KbjXZIfVXYjo49DyIcNJ6ZZ+lJOdsW3kKayILPW498B1jzmdGnUZSzdf X-Received: by 2002:a05:6e02:218d:b0:36b:ffc1:d1ad with SMTP id j13-20020a056e02218d00b0036bffc1d1admr491732ila.18.1713898028174; Tue, 23 Apr 2024 11:47:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713898028; cv=pass; d=google.com; s=arc-20160816; b=pdX6vJx8anq5tZfIucG0JEU/FUIBx3tCAs4XMLFOob01oDDObIdFZVywNbuxESIWP+ 6T/YpeNdXvnRgHnfctpLil0DuTqLXsYeYGNBMlV2STNpQ6MB4xYHkaFPoq2H5nirusSW TRIsNtKOGM+uYLdLNegOK0OiKgeojDL4IC9n2tK2HK2uu9jylSFUX0DPtinvRyHP10xq 3FC9W1LenECksN8rJckEERhX/nu4XX+S+xAuyhGIiykVFQo62ynAaSWTXlSFPouBxwDr hQ6zTxgs4pIj8tpFtTRxCfVvfEIf7a4ZZ6NJQFziHTD308n+tTLkD/8ilyTEKR0oh1pM BveA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fi+Yeyjbs3lHGzE5VRRS5LlzgImkm2F7nnTS/uUtKaU=; fh=k32JMfNy9ay3NsDup0o+4RZLAmf25EECBbQ8Ab5uacc=; b=j5ZbZiFLrLxo300/WRVDZ6QcDm27jBTKjfBuH4fuALzpfmZC9sMQLKsSkXdlE62FCk vbWc0QiagHcPiOjcAVQDRbWLYpvtX+fD17ZpzAotJi96b1J5pibyF46ALTSyILWNlWt+ 6pH1tOcFgt+U6qyucd73ZwdVxqJDTLHnBByscpuvBs8FsgSA7p5T929HI6uo8R+WuXM/ ha1r3MM8V6Qt1RUQu1dzp8CKBZsEdw0nTA0FbDraHHovMeJcasbwl7unpRUl9XreoVMe at2aH9eOGQkuqTaCAVXhKZDqjgPq97lvi9lg77OJj+e7mTDmxyLjf2sTnBng9ij5fZlX EbMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="kxAoW/EL"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-155761-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e21-20020a635015000000b006043a4aa84asi1179908pgb.324.2024.04.23.11.47.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 11:47:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155761-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="kxAoW/EL"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-155761-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9793E288CF0 for ; Tue, 23 Apr 2024 18:43:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B6F213FD7C; Tue, 23 Apr 2024 18:42:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kxAoW/EL" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D86413FD61; Tue, 23 Apr 2024 18:42:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713897770; cv=none; b=FxAMI2B63n4hC5k73qAu9KF4We4pT5GUToD17mqPOVNjFBXQT1kiJIdxvLNQWLN9AKRn6rZfeMfYKjEC9+3i60SpN3/Ww8mMtDlxs2RewXxlD9Ggf+EJDgFvFE3AJVLw04LHD3a8uTjxwc13XQJC09EdRSJwzD+OJdOWMVRf/os= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713897770; c=relaxed/simple; bh=g0Vv83DG4sqEBlU4WnqAEhu+6e0HEs/ZvIVf8KIJAzk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=k3RafVu25jPQca2rMkuyoadA7u3A00jLHARytU7s9clsRwiVwcuGCxNJJjX3v9Nb90O5BxBKWgzM6FZfVsXTEFjuSyDFd4qD1qS7MzWmNZmJHsJKGV+QQGHne8vIDQGP8Muo3pmb62zI88B5L1+URlAATTZ5nqLaF7kF+/Yi76s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=kxAoW/EL; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43N9pqQs009943; Tue, 23 Apr 2024 18:40:32 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=fi+Yeyjbs3lHGzE5VRRS5LlzgImkm2F7nnTS/uUtKaU=; b=kx AoW/EL/jbcXACnypdoEvCrf7BIid6wG7T/eQIEwJImlKXeqP/YjljVHheaa/VKUC jgSyDllLKtEX0XX3L5kKkRs0hTc7XkoQw33cPYHjSPVNBeWEnWbiMpfmDZ4fTExI V0fVeOgsnNuWrRl/+BelHTdnv7ZaGEdTrkwql1IQt2gWTdPuXyO9LxoHejCiLxry BcZN+PjmLyp0srAJsGhWWH0MzaXiiPcLd2ofxUwgxKl5NzlqsPwduht9OZFybt+h ZaObPQqR7yBsOCsdYvPHIHfhz+YI//VL03i2EPJUHxNUGGo48gvhgaikizp3N8XN ClHjK/Fas34RvQeZ3r+Q== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xpapmhhmp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 18:40:32 +0000 (GMT) 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 43NIeVV4022523 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 18:40:31 GMT Received: from [10.71.109.81] (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; Tue, 23 Apr 2024 11:40:30 -0700 Message-ID: <15f18424-834a-65dc-9c39-8c744abce0a6@quicinc.com> Date: Tue, 23 Apr 2024 11:40:30 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 3/7] drm/msm/dpu: Always flush the slave INTF on the CTL Content-Language: en-US To: Marijn Suijten , Rob Clark , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Archit Taneja , Chandan Uddaraju , Vinod Koul , Sravanthi Kollukuduru CC: , , , , Jordan Crouse , Rajesh Yadav , Jeykumar Sankaran , <~postmarketos/upstreaming@lists.sr.ht>, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen References: <20240417-drm-msm-initial-dualpipe-dsc-fixes-v1-0-78ae3ee9a697@somainline.org> <20240417-drm-msm-initial-dualpipe-dsc-fixes-v1-3-78ae3ee9a697@somainline.org> From: Abhinav Kumar In-Reply-To: <20240417-drm-msm-initial-dualpipe-dsc-fixes-v1-3-78ae3ee9a697@somainline.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: Vb2Pp9EBEyMwbxjyfOZsQQHuPjcOv84F X-Proofpoint-GUID: Vb2Pp9EBEyMwbxjyfOZsQQHuPjcOv84F X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-23_15,2024-04-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 clxscore=1011 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404230043 On 4/16/2024 4:57 PM, Marijn Suijten wrote: > As we can clearly see in a downstream kernel [1], flushing the slave INTF > is skipped /only if/ the PPSPLIT topology is active. > > However, when DPU was originally submitted to mainline PPSPLIT was no > longer part of it (seems to have been ripped out before submission), but > this clause was incorrectly ported from the original SDE driver. Given > that there is no support for PPSPLIT (currently), flushing the slave > INTF should /never/ be skipped (as the `if (ppsplit && !master) goto > skip;` clause downstream never becomes true). > > [1]: https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers/-/blob/display-kernel.lnx.5.4.r1-rel/msm/sde/sde_encoder_phys_cmd.c?ref_type=heads#L1131-1139 > > Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support") > Signed-off-by: Marijn Suijten > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 3 --- > 1 file changed, 3 deletions(-) > Yes, I agree with this, even though I did think earlier that intf master flush was sufficient , I cross-checked the docs and this is the right way. Reviewed-by: Abhinav Kumar