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 B0DB8371D15 for ; Mon, 31 Aug 2026 16:43:53 +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=1788194635; cv=none; b=E65mryv+2jTqUlvaX+zEG3JI/0zqcpXg/jk/Z88TDPgxOIluA3lLB5nPKRo2gHXamTLmuu7WLcsfgaSFuh+rTX8DUWaI0QW3hDLw8nYIwz0AlEIRcv4cg8O6xfkSi9kQtTsiudv6A3K+FHusZBguDsVjvT3G6oclcplydsLBO9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788194635; c=relaxed/simple; bh=NDHKMcrotrpW63l0I/1FWliwQz5j8JzXrdP6dzyb4x8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BOu5AsUhTuPV+uZWW9N0nIQ4FAQ2H9nVPcaHlQwa9fMpr7FvSuQ8j/NFub+Y4VHhYhmVhpDTXX3dBA1UNEg4FEA54hSaXF0knJwPolSykaO2+G64KR6qz0oR+XdE2YnW9cyRvsiCeJk1gh0BO/Cdd8BwdZ9vbaCUojnmaDyxKzk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=er3aqxC8; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MjOVOs22; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="er3aqxC8"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MjOVOs22" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67VFpOMA954891 for ; Mon, 31 Aug 2026 16:43:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= cVfCCX/QbLHdAwzzCna+Dt34SELB9Z4yDIidd7xilm4=; b=er3aqxC8PVHtCYzV L4jlvAHk+obCR5qbz7Y0Ad2XJSb+WD+CHraBf5cnTLZsrtYLwExozv2sslWJgNoX DWuKWlJBMFLG80/GsnBAL/ESRCF9MafyALmedoTfs2rSnAzmnbGLgyXBmeoH3rM5 yEiwdVTq4ACOJUUqooef9R7YtHdYRpEVj9sXQXEdTFMlvKHeM7vKqAONyEFoRS5/ gTB6rrTkKFtu+0mK+XpGDQ54vztxgA34oJryU4ygCmlTSgPJtIRU7uRCGM8M8yA+ KI1v9JouAhTUYwR3Op32gcurGiJ8+qYVOx310B6g7HB+FgrFnlRzogMFuuK4Swht m3naMw== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gd8cvshp0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 31 Aug 2026 16:43:52 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-9349ba88188so98298685a.2 for ; Mon, 31 Aug 2026 09:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1788194632; x=1788799432; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=cVfCCX/QbLHdAwzzCna+Dt34SELB9Z4yDIidd7xilm4=; b=MjOVOs22i/0Hv+2ey1owZcNuWyFEAk5p42U3LVV72v4uL2axzkLoFQLmCBIWrxvdCi /p5kxxOb+5UY0k3Xx9AtE6Ga26dKZDYsbKVMAfuqIGTLnyR3rf8DhvUEbEEW2cTWI7+P W2yfbWiNEwZ0UMXBpBViFE48c7C30fCr1tx6QuUTjJ5L0KvwOg/S8jYjxVs4C917cHr6 P1X0Z0aW701fCsL5ISWzMZTMswTdpUHaDdqyh9ANQehDiinXoHVt0V8N3a2qf8AOlq65 2y4rsq51hgSpHHFTKq67l1aAqo0Ny9SUdNBwCMFj/JQlQBl5+Wfoc6sPI3OpaPQycU0q TnRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788194632; x=1788799432; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cVfCCX/QbLHdAwzzCna+Dt34SELB9Z4yDIidd7xilm4=; b=GOHyUHcYl0TS0Zx5JYuAg+cw0fAdCdqXAxx1j/14Wor+a7WCvrQKlnsZPa3CM2df3m BWfsXtxnuX9TQrfj7Z0YG6RKp8GJBcXz5xJpfvKmJpMhGC8N5rzhbzLqIW0UswkO/gin jfxdi16w0gGNlFINm+Rhv79q26HJxUtRnzEiTJVQyoWL4HHJaf3JJONwRF4YIjvuGUg6 v3TX/ixuah6Pd7RxBo83S+bw093WJuacESlaOjU5eSlk/ggeBupOBES6Jm0/ohZSbVlM qGVgIK8nMNXT6I2Ux7VC8AN9RvC5APdTgB3oWeRkmgyjlvrFfEjHtzXS+NxSAJy0d5dZ jaEQ== X-Forwarded-Encrypted: i=1; AHgh+RrO/SQWAk+0oeZgGPGqazwXLBmKhTn/zp/ZwLw9wwKszjOle9nTZ7ENufpiNBu7f8uP5h+KWVXfljKgZFw=@vger.kernel.org X-Gm-Message-State: AFuF++lQEwqQkuidE6n2vzOb9NmEio/6Koukh3MT4By0WvM3By8Zb0hW f1CTPJG78PW8KCUnz16Cwxm9K5gjzBIvGhaITwcxegQbtg4374tC2EjFrCP7nYMGFOScVxhIXlO TA74XLFfwWiAPciIos/mYHxqkIrnqRBBTeCiAK9OG74aIvJRid+miB/n7bXWHhErOjW8= X-Gm-Gg: AR+sD10gPLxXA7KmQ5TXQxKxgeWUKXaQoiLImGvMWVV6kNjxBzIa7Lr25BOvdLZvB7a b993YLzWGcBMZoaE40wRc9/7yIi9FYWndAU8dj8Ea8dL21PITI2qledbDdjXH1bvpGHPxSFLiAZ i41dxMVgCLSzp+LA2YmmNGL2kN6WH/h9mLjkgG4tRYY+mDdVofHg9upVLsR50SljvTcmGa3fSSQ pCPHnEp3n9qxW0Mkv+P+gaL6vovDobPacW6BEeNFB+rryquDueQ0w7hcda+m9PYPb2XL7ZqUmab sn7D1DQpb1uDPUqto8BFL4ED3iAvRGSJQM9mrAKwREufua/gZeTfSTjoCob4tFkss33fY+5HJxi r1UBGZ4uI+kFPVnBYSCCATA== X-Received: by 2002:a05:620a:1722:b0:930:a08c:cf9c with SMTP id af79cd13be357-9392873f3c9mr1005152085a.2.1788194631571; Mon, 31 Aug 2026 09:43:51 -0700 (PDT) X-Received: by 2002:a05:620a:1722:b0:930:a08c:cf9c with SMTP id af79cd13be357-9392873f3c9mr1005147085a.2.1788194631028; Mon, 31 Aug 2026 09:43:51 -0700 (PDT) Received: from [192.168.202.12] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c255ee27b19sm455018966b.19.2026.08.31.09.43.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Aug 2026 09:43:50 -0700 (PDT) Message-ID: <294b2d4c-31d7-42fa-a55a-b57fc7d0ef6f@oss.qualcomm.com> Date: Mon, 31 Aug 2026 18:43:46 +0200 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 RFC/DO NOT MERGE 08/12] drm/msm/hdmi: Add support for PM OPP table To: Krzysztof Kozlowski , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-phy@lists.infradead.org References: <20260828-drm-msm-hdmi-eliza-v1-0-67843277de17@oss.qualcomm.com> <20260828-drm-msm-hdmi-eliza-v1-8-67843277de17@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260828-drm-msm-hdmi-eliza-v1-8-67843277de17@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwODMxMDE0NCBTYWx0ZWRfX/WK3djcvS5Qi fLRhKkXF5ngxhEyIi2wtLYZ1S0EMxCK6tne+9WkyQ5lem4wKtPqSX7RWG8SiUtYoWDke9kJ8Axd /Zuey0IxS76Mn1ZuyxhBnAO9sE7D3IM= X-Authority-Analysis: v=2.4 cv=JtnBas4C c=1 sm=1 tr=0 ts=6a95af49 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=oZguCmW5wH7aHc4LmIQA:9 a=QEXdDO2ut3YA:10 a=ZXulRonScM0A:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODMxMDE0NCBTYWx0ZWRfX0KlzyxofhdDx W/3dmPmPhg9nClNLv77N7QnwAZPSddOF/jhaV5H8pOVSnglFGLUi9Us7+IzV6GgX/ayRtLQSOxl 3zWYIbQSCSZAFZexiu8+IW8v8OjGY4zZ/Nn6e8Ehd9GQufbkM9rmaBc74/7Ru8nxOwEHQcZ3ILE ebXQTFDEpidcGm1E1sQUvd4xya3i3HJ/9rfFMbGFwDUuo6Rp6W8Bs82hifx4PKwG6a9R3W/ZhXh DJjK91LikVakFb0f4GuxES0jg9YkXND5PvUcOMBps2HarKuRRQS18ypmrb/kDlNtB+3FY2iyy9M zjuw/k6gdFkOxXUrwMhZumm3DdpHE9um/aXQfmpOlR08z1+OzVI5KnBRmJeN+MqIVAwO1C7ZzYL rL47ixjPU3zPXH1UPevohvHuoMbQJspHp7Ry8aW81pFMV296kVdAgQ/0fwBz3RsBTlGgKPsMh3M 8MWi4YFtDx8JGYyfDMg== X-Proofpoint-GUID: xAFrSu0WkK9Z3U-Ilt42JEZno5Z7rx60 X-Proofpoint-ORIG-GUID: xAFrSu0WkK9Z3U-Ilt42JEZno5Z7rx60 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-31_05,2026-08-31_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 bulkscore=0 phishscore=0 priorityscore=1501 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608310144 On 8/28/26 4:05 PM, Krzysztof Kozlowski wrote: > Allow scaling the domain rails with PM OPP, which uses the pixclock > ("extp"). This allows proper votes depending on requested HDMI pixel > rate. > > Signed-off-by: Krzysztof Kozlowski > --- [...] > - if (hdmi->extp_clk) > + if (hdmi->extp_clk) { > clk_disable_unprepare(hdmi->extp_clk); > + dev_pm_opp_set_rate(&hdmi->pdev->dev, 0); FWIW rescinding the vote will happen automatically as the device runtime suspends. If you think this is necessary, let's do dev_pm_opp_set_opp(dev, NULL); instead, since dev_pm_opp_set_rate(0) is a ""dark pattern"" that is usually misused, see e.g.: https://lore.kernel.org/linux-arm-msm/20260728-topic-dpu_power-v1-0-e7783b859a70@oss.qualcomm.com/ Konrad