From mboxrd@z Thu Jan 1 00:00:00 1970 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 7DAE41BD50A; Thu, 31 Oct 2024 19:18:33 +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=1730402315; cv=none; b=REeZvjWFhu8JB45YY/TmDPPS0in2uebLJPsmNqWDqqixy+SnwiueCieTJuXiDkO+titGFb3+LfO9YPanblDGJViD8hL/rHGyCC6q+/vPOEZLffO1o24WIfHN/v4WEinuIiw/I4v4zMLw1pWwbGG0Mehy5paxOtYVefOdrnqIBnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730402315; c=relaxed/simple; bh=2zxprNUCud0dzZ17IMB1i4rWvN3ga9xibkZKGAV+7dQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=GaBxXGKIouFSkuGMAHiuGb+HCxydHWO/rkytvZBK1DaJNsQ3xrTwT5ViEZgs4lPxXINHrudBRn/UTwhE8+4QwOOt7x/ZLJ3qbxXhsSV+5trMQhsqZggXf8O3jOP2iCnD9lsOuVeRR4XNOzk3H1mvTghTh0nBWjNupeddzDFQFJw= 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=aHqnTedw; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="aHqnTedw" 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 49V9tfMO009563; Thu, 31 Oct 2024 19:18:20 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= U9FLFGZZgnfJ8jNIbbDYj0nfH96vHKqD+ESTREky8zY=; b=aHqnTedw/cfEc3iK JdaeOlb1c7wxYhffJ2LmZAAx9RbEQZEyGCPq1/PeyZkBUxSN4sM1Dv59y/jelO1c fnf9PKjnfxKIJL9kjK+lUSXoMnCkjqc4AvrPVHB21d25qHwpKPfNTM8KPeSs0LoV ad5UeE3JQapMWMvntC8mx5oX3a7z6M+wzunPEsVBflBzoQ9J5WRUYXbTUUlReiTL Hwg1DdYwn4rgIgiux2/CgaV/CKxACRR4EucNe4vpBCN7tIVEQmFT6BxALkqHMvLB 5XKmOc+Z9SDWmdSXESVAG+foNVjLT/+d/mTi3eSVThwHIpvzJkPoM5KFVCHh/I4s Z8RMjw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42kjm1d1tf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 19:18:19 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49VJII8f001281 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 19:18:18 GMT Received: from [10.134.71.247] (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; Thu, 31 Oct 2024 12:18:16 -0700 Message-ID: Date: Thu, 31 Oct 2024 12:18:15 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 04/23] drm/msm/dpu: switch RM to use crtc_id rather than enc_id for allocation To: Jessica Zhang , Rob Clark , Dmitry Baryshkov , "Sean Paul" , Marijn Suijten , "David Airlie" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Simona Vetter , Simona Vetter CC: , , , , , Rob Clark , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= References: <20241016-concurrent-wb-v3-0-a33cf9b93835@quicinc.com> <20241016-concurrent-wb-v3-4-a33cf9b93835@quicinc.com> Content-Language: en-US From: Abhinav Kumar In-Reply-To: <20241016-concurrent-wb-v3-4-a33cf9b93835@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: i_OUrv_kIs8ToPJopV1pR5HeIRtWCGgW X-Proofpoint-ORIG-GUID: i_OUrv_kIs8ToPJopV1pR5HeIRtWCGgW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 mlxlogscore=976 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410310145 On 10/16/2024 6:21 PM, Jessica Zhang wrote: > From: Dmitry Baryshkov > > Up to now the driver has been using encoder to allocate hardware > resources. Switch it to use CRTC id in preparation for the next step. > > Signed-off-by: Dmitry Baryshkov > Signed-off-by: Jessica Zhang > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 18 +-- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 12 +- > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 182 ++++++++++++++-------------- > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 12 +- > 4 files changed, 108 insertions(+), 116 deletions(-) > Reviewed-by: Abhinav Kumar