From mboxrd@z Thu Jan 1 00:00:00 1970 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 A891615B115; Tue, 27 Aug 2024 20:56:50 +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=1724792212; cv=none; b=IpAgxIgiHPNbyscKxmaPAF+znRC1g0O/HEyopp/Wv0dhyMal0C2ych1bQwbZA+eljp3CqFEOSDyjJbrBtv9E6DVm1/jiHAwWXDxKXuXOpbK6j6HI142Jcv8gsqxxe2xyZ7SQNVWznHd4uhfS0eovMlPXx2aQZUx+F00ZXQm+3Ks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724792212; c=relaxed/simple; bh=MhJvUjB0MIngwLWhQ4L4C5OlYEq18S/8DIMMXXIloQs=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=HD8gmlMrNJHWlr5WWvQlU5xD0MX/TQYAYwUSZvJsaqMKoTbW1uDrDjP4nRpJv5lRsPzi0VQOZKqG7e+4IE0vmr+QFqn2CPTup1eGQiFXaXwqvI2OtRTH9uE//7BfJAdTigEHv/3Xi24BCTLp8KTXPel0krblS+k24IwrUlLtrBg= 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=Lnnc7tc4; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Lnnc7tc4" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47RJkwxu000308; Tue, 27 Aug 2024 20:56:43 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= ifnkAG0rtHV4uVtNT9kwPjMq8aQC7SuEsZa/E/2O0+E=; b=Lnnc7tc4oJqZeKEF 4nSbvIELgsXzE6K+Y8YtR/H1kafi0g5WJaS2jlVlOOjDyVtlQuaIY5yuDvx1n+CS mhcelFXSL2JCg3nyfC3us01rk6zONjolHSsIFpAi2YPakGN7LN0MWxDecdcXf8Ro v6QOwohjJEIL6RFzxMbqXVEgXbDpy8O5RWOaVn6g9YVJ89VIXNzW0umDhadoY5Av q7D/wwPNhSb4aMcMz/IsGxWA3pmfZoRfYSl/pB4NVPBPTTLUX6KZqpQ8Phc3cJwU YS1LhaxUVZXaxmSzSTJO0qqHwk9WCR7HswHTYECgUFO4X+4kKg4BiCm94uovYB/j r0zsOA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4198s02cb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2024 20:56:43 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47RKugOX030243 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2024 20:56:42 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; Tue, 27 Aug 2024 13:56:41 -0700 Message-ID: <2fcf6747-9bd0-4b27-80c0-fa6246aec812@quicinc.com> Date: Tue, 27 Aug 2024 13:56:41 -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 v5 07/12] drm/msm/dpu: move scaling limitations out of the hw_catalog To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter CC: , , , References: <20240627-dpu-virtual-wide-v5-0-5efb90cbb8be@linaro.org> <20240627-dpu-virtual-wide-v5-7-5efb90cbb8be@linaro.org> Content-Language: en-US From: Abhinav Kumar In-Reply-To: <20240627-dpu-virtual-wide-v5-7-5efb90cbb8be@linaro.org> 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-ORIG-GUID: kuelQIvE4DodCVuMi1BK6dKeoYh8u-Aj X-Proofpoint-GUID: kuelQIvE4DodCVuMi1BK6dKeoYh8u-Aj 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-08-27_10,2024-08-27_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 malwarescore=0 impostorscore=0 clxscore=1015 adultscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408270154 On 6/26/2024 2:46 PM, Dmitry Baryshkov wrote: > Max upscale / downscale factors are constant between platforms. In > preparation to adding support for virtual planes and allocating SSPP > blocks on demand move max scaling factors out of the HW catalog and > handle them in the dpu_plane directly. If any of the scaling blocks gets > different limitations, this will have to be handled separately, after > the plane refactoring. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 12 ------------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 4 ---- > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 16 +++++++++++++--- > 3 files changed, 13 insertions(+), 19 deletions(-) > If we do end up with different scaling limits in the future, we will decide on what would be the best way to handle that, but till then, Reviewed-by: Abhinav Kumar