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 055242FC00D for ; Mon, 27 Apr 2026 13:17:17 +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=1777295839; cv=none; b=etQh1qUlTBilGB4Y5um3wbDHNddij0ga9xZU3rA4kq+JGbMZp+HPpx0Dq97HJeB/g813Juo3asf87+v1USakFrgfjb6ToR4ZMDmbymgwCTT6QajM8bnto4c/H/qIO3q3eK1ke+mmIPOKb0hNhF6D0zqPa4eEYOm6jKvBiQag3l8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777295839; c=relaxed/simple; bh=JH17vrXPwQ/zPe5NZmHZhSOAr+xyyo9R24CTivGGCn0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rtn3YWkj3Qo9nuO6ivmI133aNnwGNFeHky1mzMJcsm6DUH35O4X6XjQvNDIL3wSH2fchVWuTBSRSP0fiQGFGzJYOX9hmmM+ITuvLbxZLL70WraEderknARIDVelGzpe7D44REFZQDv7Fc7HLnaE/5DUz0d2SwywUnWD/lkOwtu8= 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=eafwYqJ7; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BYHarJkG; 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="eafwYqJ7"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BYHarJkG" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63R9OjeT3825353 for ; Mon, 27 Apr 2026 13:17:17 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= zQ20hVfh6ChaIxk/xrbKz90SjTLBFn05mgb1/z9GS18=; b=eafwYqJ7X+N7+uxR HIqdnIywU9Y2UwhDLXF8PCr3AOiJXIfLy0uDSBMROxVHG0DnMbw4j764Pt9eOTbm JlQZnUAY1gkwk4wjkg5BSMxqwVm8+5L4gk0QENcKBpaLFvVATEqYqAh3ts8kp0Oj bXQupf3B6rIsQiqWWzYqPc4RSt9GtazgYXWZeUjkDEZDrLvW9GTkuklA2jLgHVWX gJxT+lmJJUiE0InATBCObRul3i2pR717KX853O6BVR6NoM1MhOx06svUHkChnSL7 LltYM9YiRWxF9MtgyurJ8QbR005kJLcRHocip+GGcAilGK3sClsiBd//vE0opSoi MEK3TQ== Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dt5550vav-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 27 Apr 2026 13:17:17 +0000 (GMT) Received: by mail-ua1-f71.google.com with SMTP id a1e0cc1a2514c-95406d3f998so693369241.0 for ; Mon, 27 Apr 2026 06:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777295836; x=1777900636; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=zQ20hVfh6ChaIxk/xrbKz90SjTLBFn05mgb1/z9GS18=; b=BYHarJkGkZCiEoWGV5sQV/zYjPCTzv00wfcm0IAJupI0lXkPjGun0VesHKpLIUtKG6 L/iqA0Zi//YMEidLAJwANzUK7X9l0LMtPwGcTnfeoqnToXwwE9jhPJqhucc9yLWROmBF TVjF/ZwT+dRR9VOLkREJZ7cuRYyGQSTXPSHIoy9ElzqTEq+oouv3G9WXl1hZXuuJwAYE GIsrEyHnBUSbxQypNm5bI9eYlocA47+WtTThAmBDOrJC10g9CJEfquSIuCJL7etocPgN He76z0IvxYXzOvl3vj8hbuS7GUT32KozRkO3s2oLRNNhM8Xe1PLioPkWm0bR5bMrYJ8M 8A9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777295836; x=1777900636; h=content-transfer-encoding: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; bh=zQ20hVfh6ChaIxk/xrbKz90SjTLBFn05mgb1/z9GS18=; b=XFRE2l8i/cUvQTkzo9ojVhA79GQWte0M66c7L3JhkmpR3jrRYvrq4DReTw0/RSZBb9 ns8ngWbQ69RIEysGV9A6vywy4IL6EQLWVMfqZRReortRJ6D7GSLMMA9X8ym8RCev68MI 6li942Uq0F3y+7wunLudoEDEg0heGFyvv6LDuFxTuFvae+cY/YLmy0xRopC4EhmjxK07 DIa8loJoHrkHaBrlR9/H1AioPaUAvQD3naWFEkM8mn2AwuGXdtlpchWe5KgN8HYd+Kpc fMn2SpLUshL0kdDexpxqFY7vCGf6afWaUapoi/4nZMYzKGggQr1ZTnhL+nCTTL6Kz5xJ mC0Q== X-Forwarded-Encrypted: i=1; AFNElJ+Tp1ikRBoV1Xu5qXcnbvLbsVF8HR2qu4HB6X1WjgzjsBZazxTBRPYCXUf0ykud0HIsgGQeB6aDwLHR8Dk=@vger.kernel.org X-Gm-Message-State: AOJu0YydFJF6Eh87xnBV9SBuqxp0Uf8/LracPbjodbaJuDX2oWwp80BQ N5o3/RJzekJfcP4cXvkqLVEd8ANvuvdwPSP3ll89EpbOt/ysgGibaG1SRNAO/27RpVX51UU9s8z xejhR0BF0Er7n5B0NfyuJiVX2BTiwHNu3KTu6vYcNbd0NxoceIQZPJy1gme6opTm5Fwg= X-Gm-Gg: AeBDieslVWbjBlaIw/FoCzwRN6aV+Erw5ar6YsR4xrTeJh3AO/6c3RpckoCHp/MsP5v +UOtVxnqsZxQnNTnmqmP1bNuP9u8kb+9AHVimxr0I6UC4nbkpQck2Hn5Nj0EaUOeeBFZ3oztiHL F8lMWLAvqla5sPKnMwMqQikdvpYtmmW80qw7Fpj1HVDmKP3pzUv3gT683JVDRbef5bKQB0P5+yb /dJF9s789utzZUpReIuTwDs3mdPgFPI15hWs0ZsHKx/lw3M+TxnjulRFDE7AqTl/54AUs2kurB5 aiz1rnSrQMb2b9pXRk+9uNu4EXKNdxmpdl0NXTlr+uAVrzbidgmgQGvHXwFhmxlxXOMEj91mdX3 nwelYqDw0b3vhkYwszPVakjcueLo29XpEyPeScqegQIwU9Ymvx91PWS5MUUPb3kKkLHpy8TUDyI BtA2GYRCxrmu2j2Q== X-Received: by 2002:a05:6122:83c3:b0:56f:6edd:77ae with SMTP id 71dfb90a1353d-56fa55ed7b5mr8965579e0c.0.1777295836240; Mon, 27 Apr 2026 06:17:16 -0700 (PDT) X-Received: by 2002:a05:6122:83c3:b0:56f:6edd:77ae with SMTP id 71dfb90a1353d-56fa55ed7b5mr8965532e0c.0.1777295835721; Mon, 27 Apr 2026 06:17:15 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-678974e23adsm3156526a12.13.2026.04.27.06.17.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2026 06:17:14 -0700 (PDT) Message-ID: <4e454c14-92f2-4929-a058-3f128c901a00@oss.qualcomm.com> Date: Mon, 27 Apr 2026 15:17:10 +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 v2 6/6] drm/msm/a6xx: Limit GXPD votes to recovery in A8x To: Taniya Das , Bjorn Andersson , Michael Turquette , Stephen Boyd , Abel Vesa , Rob Clark , Sean Paul , Konrad Dybcio , Akhil P Oommen , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Marijn Suijten , David Airlie , Simona Vetter Cc: Ajit Pandey , Imran Shaik , Jagadeesh Kona , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org References: <20260427-gfx-clk-fixes-v2-0-797e54b3d464@oss.qualcomm.com> <20260427-gfx-clk-fixes-v2-6-797e54b3d464@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260427-gfx-clk-fixes-v2-6-797e54b3d464@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: 55064FU1Ti2EI-oS_Ssmdx9cD2EdCEA7 X-Authority-Analysis: v=2.4 cv=CJEamxrD c=1 sm=1 tr=0 ts=69ef61dd cx=c_pps a=KB4UBwrhAZV1kjiGHFQexw==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=eR-y9ft8gFT6PtJfczAA:9 a=QEXdDO2ut3YA:10 a=o1xkdb1NAhiiM49bd1HK:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI3MDE0MSBTYWx0ZWRfX0zJawxk08xo9 dWz0uICBTZ0ta/foKFGWroRtEfcVRWk7bT81W2E7uOmZOrBMO318SyWtiawf/1ZjSq0Gv240NBB TJGKNAyHzzAB+Ek4AM1l1F5zCk8XEERYlpygkbyBOPXRTcsMxFiFXn6EUQahsTWA6JC5wxFgc2H +Dw29DvhlYmmaNVENwUdxm3kiw792vKqRbki6gLDIso2PNU4d9Jq4O6wUdElL2Aw6DWzljDPe7D 7LjIPoNee/LLLHQSsJfMwzVzO2z9vpx+YC9VC5aQT9T7uijtc4VaUaVZPDkfH97+BI2XRiin+xU r2yUWDkyomwOVzxu9xt29onyyxeWPxBf8uMooqK5UjBesLNEKaRRfBoAFPMpY/eaSoJB1ULdK6Y IWgddIqI6O8PLqaEUNDJrgWktHZx9PDg7//Y2ta3thXOPxfKbGhEz8gwRX6eCRKkTzErzYs4/6X aF2keBd1SlQOhCQrLpw== X-Proofpoint-ORIG-GUID: 55064FU1Ti2EI-oS_Ssmdx9cD2EdCEA7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-27_04,2026-04-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270141 On 4/27/26 8:39 AM, Taniya Das wrote: > From: Akhil P Oommen > > In A8x GPUs, the GX GDSC is moved to a separate block called GXCLKCTL > which is under the GX power domain. Due to the way the support for this > block is implemented in its driver, pm_runtime votes result in a vote on > GX/GMxC/MxC rails from the APPS RSC. This is against the Adreno > architecture which require GMU to be the sole voter of these collapsible > rails on behalf of GPU, except during the GPU/GMU recovery. > > To align with this architectural requirement and to realize the power > benefits of the IFPC feature, remove the GXPD votes during gmu resume > and suspend. And during the recovery sequence, enable/disable the GXPD > along with the 'synced_poweroff' genpd hint to force collapse this GDSC. > > Signed-off-by: Akhil P Oommen > Signed-off-by: Taniya Das > --- Reviewed-by: Konrad Dybcio Konrad