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 CFBCF24336D for ; Sun, 12 Jul 2026 11:56:25 +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=1783857387; cv=none; b=qdPlw6wvyfAWdknRKW76TRkocbMw0u49LpgnUw9+UE9hD1CtA/ozdn1enVvQio6AKHLwrYFg6hNJp2zPAhRantpVo10cqS16Bg1HCaCSe6z9GWCwwlX7adA/y1/zE4e3epD7IIOG4W51sXOyWa5ckdZN149wHTzX8MQmQ2u3fok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783857387; c=relaxed/simple; bh=OsLWiRcpKt99DASjPj2jVtShDQMAJ4uwD/P0DccixmM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GMyW8oeMvqiVEv2s3z7m7I97eYAUTLsAog8Q1jtQ80DWuLTCL/dl1FAx16Zq0chVxhzba7M7dOQ4jfSOKe6YwVfAdjwh7CtGLrgsoAlCGZl/a/aB7uGT+ym8/uDTEpdmBJgmqXeS+CvaOUFGuL3i37Do/AlvpIK7Kge5qRojyQU= 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=ZLGbLaRc; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Q4a27QUj; arc=none smtp.client-ip=205.220.180.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="ZLGbLaRc"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Q4a27QUj" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66CAcK1w2195435 for ; Sun, 12 Jul 2026 11:56:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=KC0A5o11l+xPlKmgNI1EcL// XJ+YFhRLisW+sul/M2k=; b=ZLGbLaRc2YuGI0wgaZCGUsB4ZiuswQQlv7zLaaKo 6x2ZX8fN4HIB3lUatqNhKi3z9ieniFujKabB9Q9nS6aZHueYyjdFVE26Z4Rq5hxm he3amQUojp2PFZ51DALlsfHVrVKTF7+2wisEe3NW05u7Wr9/aP2tDfX/g7IZKLrW 2uW3dJL/B7/pG76QZNmvaBLfzMLpPS8CupnjdwMaS/TkffgRNIIRVTXvO2K1eqsc 0JB7pUVdhkO/4pB79lQ4uJp32i45Go9Ce1yOw6897EdcwaTLCXeWmXHMqZQHMsG+ 03ca+g1RGA1UTbpwdd/MPxeh3db/f45+NDIrTrU7PSyZZw== Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fbee9jrr6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 12 Jul 2026 11:56:24 +0000 (GMT) Received: by mail-vk1-f199.google.com with SMTP id 71dfb90a1353d-5bffdc86fd4so267536e0c.1 for ; Sun, 12 Jul 2026 04:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783857384; x=1784462184; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=KC0A5o11l+xPlKmgNI1EcL//XJ+YFhRLisW+sul/M2k=; b=Q4a27QUjtVl4IHpDer23GFg74iORlQiyGXUQT4v0yX7BK2yqW+vZLGhz2q2fts9Qb7 HafQkvqrm9jFVbKo+TN9qh2R1ocdOhsIH7a/nOGYb0ixVyOGxcpbCJs0mhMhN80fhNMl 4+m5OGzuHW2KMaOvIrzKsNo5+eSb5Dw0t3ylqCsLbRf3OHTXVSh+H+O+hOlHmlIyQySg 3hdNrrI9p/p7qG5SfrT86kC0QDKcnMCXZzUUxbz5mvelS6nzoh+/wFTPDJshM1vSth/s Bv9lF1rMpsQG/u/Zh9s5pYlufTRc2OSJLBIXthMx7hmVWdynpAgbztG8FfTQkNk495Uu hAyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783857384; x=1784462184; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KC0A5o11l+xPlKmgNI1EcL//XJ+YFhRLisW+sul/M2k=; b=DtnnZ+3PKDT21jVcJR6KJVfLpzssKbl4zSce72Vo3y5QnRbt51p/v76C+cAD9iNeS7 +fdEh9YAgCicSSaBpifZeI+Erg7WNF64FfDUIl4OZt40Z+jir3iPk76+s5IAK2TbpyXh WVv914NARw9j5sHiHCUefP6j9E/li7yGQtC0aBe7VnzIcxgWPYHL/i98hZSQkguoLZ5L G01Xrc1zh+o5xQYLWNT2mjGiw1Rg2ZlD3oLvdMqZJ2QowYagHISJKeDqW95GNXdAyqha cijtEt+z1xN165J08kCCBqZ4o/3LT3b1zRAA42g0gMatqhcigTc3QbLMVTwO5o0nTG/n rBaA== X-Forwarded-Encrypted: i=1; AHgh+Roj8b/oac7JZKj21HhGUgflzW1XK36o0KiE4ixpgKWUjpncZ6IeIe7NSinrxqTeKdS5TeFp4B66dRkzl0c=@vger.kernel.org X-Gm-Message-State: AOJu0YyoufxIrcwjIaEIpfarPp1UxZUhU+KJUDNz2JNxJvskXDc2XKoX R1tjv1rMpm0rFZ+e4+efTv4tfHiJjex3uCNz8D95Yoc4FGm74lWLWAtNHTz7dUBbIc5Qp7EFSv1 C3h4yFTjr8uVlTHZ9pZXjxiQDi/5oZGnkqaniLzlGu6tQsD1Z1FmWx17PEFMCxUbolKw= X-Gm-Gg: AfdE7ckyXjuNZNV6o0b7WIW8biBXaOZUcquMu5XcMTeQP/J8cg/fW7wREVvWs0x5WVW wgcwIpoNHCpq63y9jPx/Z+8T9T1NTyi0zjv/Cg+AS4G5S8TdbT6JxyWXaUSI3t1lGyKZzluEXaj LTEiuHTXJYB6UOqOznzfrK1DG3r8q4jVhz4CsinAK9nFoMSjReojjhrjwQCJri2QWYG91WMuBFL iD+xdKg/7nHDP/sHigBEhnu593KC3AMrLzgCIBtty1x8wO3spqC8qrGaCM/mwgCbifPvuhYtKJz gHyPwRo0TfouAZzbhTUWMsxhJXRC5PtLmWM5+u6aj7km4/ElBbx+5HFUISsg0+K60IaN77t0+Y3 YWUTFYxQwaWRBDokUvGTHCr6BWg+O9wkbQUHEWK41QiMhG4UMfHoZCahOh+t5GrIbmW+cod0B54 E7WU9tFh6exV7Ml/pEt+yWxXPH X-Received: by 2002:a05:6122:4a01:20b0:5bd:b47d:1865 with SMTP id 71dfb90a1353d-5bfa49392ddmr4163116e0c.5.1783857383946; Sun, 12 Jul 2026 04:56:23 -0700 (PDT) X-Received: by 2002:a05:6122:4a01:20b0:5bd:b47d:1865 with SMTP id 71dfb90a1353d-5bfa49392ddmr4163111e0c.5.1783857383553; Sun, 12 Jul 2026 04:56:23 -0700 (PDT) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-39c84b1a164sm21000341fa.16.2026.07.12.04.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2026 04:56:21 -0700 (PDT) Date: Sun, 12 Jul 2026 14:56:18 +0300 From: Dmitry Baryshkov To: Daniel J Blueman Cc: linux-arm-msm@vger.kernel.org, Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Abel Vesa , Krzysztof Kozlowski , David Airlie , Simona Vetter , Jun Nie , Federico Amedeo Izzo , Neil Armstrong , Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Randy Dunlap , Linux Kernel , Val Packett , Steev Klimaszewski Subject: Re: [BUG] qcom: x1: GAMMA_LUT corruption on DPMS wake Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-Spam-Info: AW1haW4tMjYwNzEyMDEyNCBTYWx0ZWRfX9qLn5xbbtfsg WuhzriCxtPi8F6HQp84vS3vsthnR3Q2Te3/opCe6W96D0OxoPoFQbxpTQPghEceRYgLTG2CVjlk +2eU5VjGXCaJmsd2KjkdZJVgQcLJaBg= X-Proofpoint-GUID: EvKIO1DSLSsGS_pKYyM34jko2SmTEr56 X-Authority-Analysis: v=2.4 cv=a7UAM0SF c=1 sm=1 tr=0 ts=6a5380e8 cx=c_pps a=+D9SDfe9YZWTjADjLiQY5g==:117 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=e5mUnYsNAAAA:8 a=t9ty7G3lAAAA:8 a=3Mq0MthYWaJk8H4ohRsA:9 a=CjuIK1q_8ugA:10 a=vmgOmaN-Xu0dpDh8OwbV:22 a=Vxmtnl_E_bksehYqCbjh:22 a=CsAS6f0m0zARWR-uHzm3:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzEyMDEyNCBTYWx0ZWRfX7WSy8DkM51IK 0PP4FlpHsREWTnltzBA/I6NbTL4vk8iMid97BYAKwKMogrLEYUHuHSh47AhcoqhsxFVBTDZMfny 8EQHQrnngJEMzsU/YApQQxqXmqOp9M9p/AESrnGokASyd9hHCrBiERGg24/DgRpvhIJsumPUqIi 3o54uWoEXWK7YexbctAukH4f/K/hVgXzZNVsdU8M2DNpsqXv36NNvnbMu8A5KxnPfkhSXpC/mGQ bI2YgMRHodpoz9+4hCirqf70NqnAgoIMd56tGnFhHo9Pzro9VynFn/HSmE1WHoh2FJVN38XaYAL wrZe+JCLNcqinOl5/KOMNQ1f+XNTG/UxLnnWUfKyaesAJQqXM8wYlgK9RwbDqDV2VHfMp22tk55 q2r7PaUyyQRrlrBs5BIoSgjiyV51WITNml9ujR7wyKahYcb0R3vK8tl5YMFYc+QBMQpsUs39eYn 7x8UqQyEkgCv6Y9/Ayg== X-Proofpoint-ORIG-GUID: EvKIO1DSLSsGS_pKYyM34jko2SmTEr56 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-12_04,2026-07-10_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 priorityscore=1501 malwarescore=0 adultscore=0 clxscore=1015 spamscore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607120124 On Sun, Jun 14, 2026 at 06:27:50PM +0800, Daniel J Blueman wrote: > On Mon, 1 Jun 2026 at 13:37, Daniel J Blueman wrote: > > Since Adreno X1-85 GAMMA_LUT support was introduced in Linux v7.0 (eg > > Ubuntu 26.04), when waking from DPMS-off, palette corruption is > > frequently seen; this manifests as purple banding. If GNOME night > > light or similar is enabled, the visual impact is greater. > > > > Further, on larger panel monitors or laptops eg the Lenovo Yoga Slim > > 7x (2944x1840), a second INT2 block is used for the right half of the > > screen, which may remain totally blank on wake; major usability > > impact. > > > > Intuitively, the symptoms feel like the LUT SRAM clock isn't being > > driven soon enough during the wakeup, thus state loss may depend on > > silicon binning/variation or related. No such symptom is seen in > > Windows on the same hardware. I found a workaround supporting this > > mechanism is to activate the GNOME night light and adjust the slider > > to update the LUT - any black right half of the screen always > > reappears. > > > > Please can someone with X1-85 Adreno insight check the Linux clock and > > power domain behaviour around GC_EN, Layer Mixer, INTerFace and INT2 > > on DPMS wake? Happy to test changes; this is a stunning platform > > otherwise. > ... > > Link: https://gitlab.freedesktop.org/drm/msm/-/work_items/89 > > Just a heads-up on this with additional findings. Note this issue > could be the only remaining daily friction on X1 laptops with suspend, > once my video decode reboot workaround or similar is merged. Also note > in my case, without GNOME night light active, only a few LUT entries > render purple so visual artifacts often go unnoticed until a gradient > eg in an image is visible. Could you please check if increasing reg_bus_bw in msm_mdss.c would fix the issue? It's not a proper fix yet, but it might help me to understand the issue. > > From DPMS wake on a dual-LM panel (>2560 pixels wide) with > INTF_5/DSPP_0 (master) and INTF_6/DSPP_1, I find DSPP_1's registers > are intermittently unresponsive just after MDSS resume. DSPP_0 doesn't > exhibit this issue, suggesting some missing slave/second unit setup, > despite booting clk_ignore_unused pd_ignore_unused. > > I found the extracted Windows DSDT \_SB.PEP0.G0MD F-state EXIT block > enables disp_cc_mdss_rscc_ahb_clk and disp_cc_mdss_rscc_vsync_clk; > could this relate? RSCC being the RPMh bridge subblock. Also, could > any of the *1_CLK or MDSS_INT2_GDSC entries in dispcc-x1e80100.c lack > setup? RSCC should not affect these blocks. -- With best wishes Dmitry