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 E62E4C7EE23 for ; Thu, 1 Jun 2023 19:35:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4603510E5B7; Thu, 1 Jun 2023 19:35:12 +0000 (UTC) Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0513D10E5B7; Thu, 1 Jun 2023 19:35:09 +0000 (UTC) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 351JQVip029415; Thu, 1 Jun 2023 19:35:02 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=kNLOw3kM+hnYkaWaMQivZlltNqCc+AExSEoZ9n4z4t8=; b=mi1dbgl1EDq3fxQ6k2GmLv/BriFvvXi61SbDaV35pAgxQUUYFLpb5Ji/+2SJtTZGK4yv EOZMMcdo/PT3b3DLrMFC/XG37UpX1t0AIycxXXk1vg4osCWeMOjcUc0Q25FuVp1Tqx4n YN8WGeSDGLrftcFWEdqes4Iu3heNFDrdxp2K2TUFYqrSMfqOPhnLQlxgyVrlAmXmiXe1 2r97Usw9ZdsYQgrbQjwIJ/Q4k5iWAuBDwNqR057ma/p1t1O2XeJARMuKK+PRbBAdyjKn aH3OTTlUuDhh8KB38qw1fiD9aD1Vh8YhRYqpqhRyayfPRt3RWNqvSp6svMqVTcMEzkpq lg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qxugrs0gc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jun 2023 19:35:01 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 351JZ09K015164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Jun 2023 19:35:00 GMT Received: from [10.110.26.45] (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.42; Thu, 1 Jun 2023 12:34:55 -0700 Message-ID: Date: Thu, 1 Jun 2023 12:34:51 -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 v3 3/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten References: <20230601172236.564445-1-dmitry.baryshkov@linaro.org> <20230601172236.564445-4-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230601172236.564445-4-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: odxNYRMle7bgjvmYfyKnKl4ge2WTw2m- X-Proofpoint-GUID: odxNYRMle7bgjvmYfyKnKl4ge2WTw2m- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-01_08,2023-05-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=991 lowpriorityscore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 spamscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306010170 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 6/1/2023 10:22 AM, Dmitry Baryshkov wrote: > Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and > struct dpu_enc_phys_init_params. Set the hw_intf and hw_wb directly and > use them to get the instance index. > > Reviewed-by: Abhinav Kumar > Signed-off-by: Dmitry Baryshkov > --- Tested-by: Abhinav Kumar # sc7280