Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp535136lqr; Wed, 5 Jun 2024 13:10:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUICSpmlKYI+37oXloXeWgsw9fx8gXzMZkt7cb3AMrlIDY5D6cY9lP9MCiEXFF3P8MoqXX46iZ7I1lhJCHgpzPZrlM1xaF/rupdlGWN2w== X-Google-Smtp-Source: AGHT+IF1REDCaPeebTUXj+EL56ecQK7PfeOGY0txi0o+3RS9ALkPuxszO/LPfHS5KEC+2X1CtmCM X-Received: by 2002:a17:902:e5ca:b0:1f6:3414:6aa0 with SMTP id d9443c01a7336-1f6a59ffa2emr44071015ad.11.1717618203245; Wed, 05 Jun 2024 13:10:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717618203; cv=pass; d=google.com; s=arc-20160816; b=xaPhVe3stFvK5qnTZzr3ms5j7UCSoQ5RJqQ1Rc3mzB1Skl8SYkDRAqW+Q2CBMHvfvc M/A5Th3KY3GUK1SEOs7C5EHs4BECFfHlBtv1zj/OhWamKb2SH0KdYdsvJ1G8HypgD2sc KkLO2rs8YA27VTcdrNJt/RKLj2gy7rpkznFpG2B+BHy+RlhqT8Ou3RUf3DbEjgjarGlJ kaxz+FQrWHupsNQ60RlrR6uDIV+CXVWqJqzVdQJcsej6HEg5SIGElIVPHEBuAASdZ0z5 5k5tvlnHpaYP0zT7LTsWn0RHFoyjKcYWxL0NMJgFQOx6f+3bCqQtkQM2bZkE2fDUWs3v sK/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=T7MqUnXiUijaMiXGYeE1lWQXCf6L1E6l9FxTfTw1E6o=; fh=fMIGtnnPadkrzCg5P1ZawDuud0QemN6mt/qS6OoTXAY=; b=OyBPhKC1OvBTfP8lXVdx/cbbT90FUT8j51c2KqTHta6CwwUffWJqkcUvuerWLdFLvf Fz7fIt0rtPD9tAKw+NpR8sFLVMxovMBFnPHHlJyczYhabdTwwFmMGLfW6V4fEepFEUMz ukCN48SE/JNecTcQf5N2GmsbcWrAANVt0p1l7c03g/DMVfNLS7wHFCc/ytLiP4A0qHB+ CbhSKdijYFtv6NYpsCyKSkILlVYrKlRNQBuKNf0h7oxzOhuEZg9nHiFwoI17vi31dp4J dDRsOaQbu+pStVrEBYqNHzjVHtvdAyoGObG6ySjWnO1pBawvusC8f1LUuDbBQK85cnI+ P9kg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VOmNOIek; 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-203149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203149-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323eac97si5442705ad.371.2024.06.05.13.10.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VOmNOIek; 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-203149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203149-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 D5F2B282D3F for ; Wed, 5 Jun 2024 20:10:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C943158DC5; Wed, 5 Jun 2024 20:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VOmNOIek" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 05E95158A3F; Wed, 5 Jun 2024 20:09:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717618185; cv=none; b=Z6Z9h9HPB5Z8GmqkxTe3hL38GVvD4bbWpjnpjmdQ2ogR+Wm/qGbET7+yjviWkvTu83IN0O++2bF5HIURcdlMLWfOTgbGpDZUYqLUoYBNoqyZXu/uz23qk7VVj/0g5jTRvU5cgzLeX4Xu3EfhrGhzmfsWZO2oBVTjsLseNcYwv54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717618185; c=relaxed/simple; bh=1PTAqnG5L5GVFLy20mgHT8PgnpGSE4t4j7HuVelXoPI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KNNYL9D7gq6VNXCbSDnYvElZGDFaLdjmg7GVqkJzLOs52oePA8JmC9z+uQSegb1Q8vsK3pVDuYYVYZVRtovED7gSdi5QgzrXNfaeDV9GRQ6zL5bvS+JAnYiwojjQPDC3APBVETjnY2I1BynDM3F6MbxYSzp2v8DtWm6vSrOjCfw= 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=VOmNOIek; arc=none smtp.client-ip=205.220.180.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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 455B1aH6032112; Wed, 5 Jun 2024 20:09:35 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= T7MqUnXiUijaMiXGYeE1lWQXCf6L1E6l9FxTfTw1E6o=; b=VOmNOIekPx4KaG6M JZR5bbTwZg5dxuNpnWjnZi+55mpGcNcoT6rDO6ZGqU3UOg08k7V3ahOTF5s/ibRB lm5jAILCFMQ8OZ5gNicyz4R8dvlqUmE6fswlvuiljJsp76gQtuJenOXx5sLkpOPT Ue2ug5MTJzaH207BktVpdylmjsYTQ6d1aS45wNIDDh/O/TJOQDggZKEbOmyode1e 1GiSqpY/nxsQ0dzoNn3qgCM5zg00wjm4E0SfZ7wbHfWpq9jfq9MsOt/AN6MwuuoP gel/dLz8FNFRB/JAL3EpTHMkKo/QbSybFG/sJq+tq3h3Or+GL4dwPXeYgeME31XC Nlzciw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjk899vje-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2024 20:09:35 +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 455K9Yd2012575 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jun 2024 20:09:34 GMT Received: from abhinavk-linux1.qualcomm.com (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 13:09:34 -0700 From: Abhinav Kumar To: Rob Clark , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" , =?UTF-8?q?Barnab=C3=A1s=20Cz=C3=A9m=C3=A1n?= CC: Abhinav Kumar , , , , Subject: Re: [PATCH v2] drm/msm/dpu: fix encoder irq wait skip Date: Wed, 5 Jun 2024 13:08:46 -0700 Message-ID: <171761747136.369436.8553570115358208188.b4-ty@quicinc.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240509-irq_wait-v2-1-b8b687b22cc4@gmail.com> References: <20240509-irq_wait-v2-1-b8b687b22cc4@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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: mVyoJYahHBALGPzv4LZtO_jF1wmcOwkZ X-Proofpoint-ORIG-GUID: mVyoJYahHBALGPzv4LZtO_jF1wmcOwkZ 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 lowpriorityscore=0 spamscore=0 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxlogscore=707 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406050152 On Thu, 09 May 2024 21:40:41 +0200, Barnabás Czémán wrote: > The irq_idx is unsigned so it cannot be lower than zero, better > to change the condition to check if it is equal with zero. > It could not cause any issue because a valid irq index starts from one. > > Applied, thanks! [1/1] drm/msm/dpu: fix encoder irq wait skip https://gitlab.freedesktop.org/abhinavk/msm-next/-/commit/8dfe802d4a7c Best regards, -- Abhinav Kumar