Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp522841rdb; Thu, 22 Feb 2024 10:41:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUpdJFJEyVEfvW75rfb4wI91UVeJf1FuOZaBcI9GGwFHGcETjWZHpWH5PKeLRfc+3X3ajQwNLOZZaFkHUALBVs9oVKWTMuBs971j+bo6Q== X-Google-Smtp-Source: AGHT+IHWwduApDaUx61L48gugoAI5gF+MIitWRG28TV+FXCRCMc7PdML3AGjyhMR1y+qKVRYGRfv X-Received: by 2002:a05:6870:b4aa:b0:21e:ea25:2fc9 with SMTP id y42-20020a056870b4aa00b0021eea252fc9mr12139567oap.43.1708627265742; Thu, 22 Feb 2024 10:41:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708627265; cv=pass; d=google.com; s=arc-20160816; b=K9CJW2unC+/pqbuOiNahFVx0Fy5DqJRtzRjnA+02JyqNJeHg6na315KudqyaRauUjq 6yOyww+oLByzT0ixdgor8t9mCgak56O7BiEAJIFy3+SCBfeuJ2UNU2eAJxN2U05zaerL lBVzmT3GqgaW2X2K618kUBmBqjyU4LznytGW3fFXiO/6rjkHYazr0C2JDZ+4f8uiR/Lt DQaJtprfrgAnypkYOqD3U1EIQFHjesY3H7sKDo2Z5miiN8ugJvOw4Be9WBILcdn+LrxR /9mIhr1UmIxkDjyby3k05LDUxYBf56gt2iwIsmfQhgEhrDMXHjYDH3Sg52tdpsMNRJLz by4Q== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=uBZVc2KAKMD3VrRODtzocPOslJ8eEF/cruNuWqPmlKI=; fh=XlAscrV3zJ2Lcv6L1SD73XzIhjJrLkgHD9LNglxTaKA=; b=TRN2Wq3/Q99f7Khj6LqjXJj3N0frkNG6+ULUeKe8sYNgRJNiBY/j+IbrNa8enJV611 9N/ln60GfbI4PMQRzhGI1u0yGCAvRK5De8m91LWnDLKQwJqsfB8yIMjUiWwo4Ty1dObf zd08i54QTATuwmNcCed4bRCKtGqQvTgTJSuS0sNzyaZrlkNP0CrQKQkN4tblavsnslzf wqowqbAY8CBAS0PWMg42e2De0jofa8wbxC4ybtzhOhQWubzPPEOZe10jt5/YQ9mLN+vG BPtBLbql7IGijLFgGCXfeDLVnvu8mYAwEuD1y7iKjLUM2qEBV50GJ9tzvrVgnp4V1Mva eClw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SbhntPsG; 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-77148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77148-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 b73-20020a63344c000000b005dbdce9d103si10695498pga.563.2024.02.22.10.41.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:41:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77148-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=SbhntPsG; 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-77148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77148-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 6EBC52839A3 for ; Thu, 22 Feb 2024 18:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E950A143C5A; Thu, 22 Feb 2024 18:32:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="SbhntPsG" 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 7C1C1125CE; Thu, 22 Feb 2024 18:32:40 +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=1708626762; cv=none; b=Lwj0vHwHpfBIdvF7JWEMksHidHrUstBqVeTvdaUOgqLO3S69L1fc4wxk6kaTnvUJiwgT00PZUIC3mgm8IzvR1VwNGV2glvE5u8goW+ZUqs7VELsprf0XkJQir+dm3NUxzkruvAnx6y4Gw8T8QnNckIgFebx9klBudqlPUTAnW7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626762; c=relaxed/simple; bh=Dq/WJWzvf8wQHOTJLFRXt3BmVpE2zcnhDDsvnsZo7Q8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=kMuP35tu6biXrIPJFX70PUHfZBkmxPEtkTQsZ+HP6g86h71cdcaOjo2VvEcD8mXAZjVWhPX0pY7Kf194dqNAtOn75nNWvY/1+nGSV5mpOM2WGD9icEKC0aeYEtKvtuc5oG3L0j1zfZygxsh3NYaeFu7GudhExOVxPH0bKgtSANc= 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=SbhntPsG; 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41MHXd4w011379; Thu, 22 Feb 2024 18:32:25 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=uBZVc2KAKMD3VrRODtzocPOslJ8eEF/cruNuWqPmlKI=; b=Sb hntPsGuukpcjKB4zPplj4GOzJxfsYhuBytggceShdDIlmcH+JehD+Wz2F1sBHE6W HkP4GuOrWmP/YSw0gLjTmlXhnaPAmbSS53WQu/Kexo4YcGWZx8yO8iG77hbZ6WVz RopOwTy6MDoZZOEi9CCKFjyc8uBDKOvQlF4b1XlhlmZNLcn3zlWVz1rVeoI6ZdKy Nus270Dkg6U/9FrRXVnHREQJ5yWXr54tpegIELdhS2V5mj4MtvtVMJ8mA6KER+ny nqtroOgX7O9Qt0A9HTSKs7M9jqI+1oQaik9zwEXvL8BPNqls9L8dBQ6ayngwz+DW +yw4RuTJpuMnPpB8SvDQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3weasbr9eg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 18:32:25 +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 41MIWOTJ011497 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 18:32:24 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.1118.40; Thu, 22 Feb 2024 10:32:23 -0800 Message-ID: <4de8626d-7dc6-42af-85ea-60e6670aef72@quicinc.com> Date: Thu, 22 Feb 2024 10:32:06 -0800 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/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode To: Dmitry Baryshkov , Konrad Dybcio CC: Bjorn Andersson , Douglas Anderson , Rob Clark , Sean Paul , Marijn Suijten , "David Airlie" , Daniel Vetter , , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , , References: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> <20240221-rb3gen2-dp-connector-v1-3-dc0964ef7d96@quicinc.com> <8313a7c3-3ace-4dee-ad27-8f51a06cd58c@linaro.org> <8fcb5816-2d59-4e27-ba68-8e0ed6e7d839@linaro.org> Content-Language: en-US From: Abhinav Kumar In-Reply-To: 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: g1j4Hzm46QuFIDBMWdiTeBtPETXWT6ay X-Proofpoint-GUID: g1j4Hzm46QuFIDBMWdiTeBtPETXWT6ay X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_14,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402220144 On 2/22/2024 1:46 AM, Dmitry Baryshkov wrote: > On Thu, 22 Feb 2024 at 11:28, Konrad Dybcio wrote: >> >> >> >> On 2/22/24 10:04, Dmitry Baryshkov wrote: >>> On Thu, 22 Feb 2024 at 10:56, Konrad Dybcio wrote: >>>> >>>> >>>> >>>> On 2/22/24 00:41, Dmitry Baryshkov wrote: >>>>> On Thu, 22 Feb 2024 at 01:19, Bjorn Andersson wrote: >>>>>> >>>>>> The max frequency listed in the DPU opp-table is 506MHz, this is not >>>>>> sufficient to drive a 4k@60 display, resulting in constant underrun. >>>>>> >>>>>> Add the missing MDP_CLK turbo frequency of 608MHz to the opp-table to >>>>>> fix this. >>>>> >>>>> I think we might want to keep this disabled for ChromeOS devices. Doug? >>>> >>>> ChromeOS devices don't get a special SoC >>> >>> But they have the sc7280-chrome-common.dtsi, which might contain a >>> corresponding /delete-node/ . >> >> What does that change? The clock rates are bound to the >> SoC and the effective values are limited by link-frequencies >> or the panel driver. > > Preventing the DPU from overheating? Or spending too much power? > Running DPU clock in turbo is a requirement to support 4k@60 otherwise the pixel rate that high cannot be supported. sc7280 chrome devices already limit to HBR2 https://lore.kernel.org/all/20230329233416.27152-1-quic_abhinavk@quicinc.com/ So the DPU will not vote more than nominal. And like others wrote, limiting SOC frequencies is not the way and we should filter out required frequencies using link-frequencies. Hence fwiw, I am fine with this change. Reviewed-by: Abhinav Kumar