From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4524975606; Mon, 29 Jan 2024 17:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548601; cv=none; b=ta1WTyXDOgu/fMGjFqT8FV6orR04nJc+RsIgN8KaZ4CNiHiwjhdmLrgtg6B/mwVTG+vMG+8DsF8hCt0fE1Y+xIctVhr4GejtbaVwRyJcyPZlh4QnwUkbNHVSWNk8/NqwUMsIoRfhTgnK5UJ9I7Xv+UATo1wuwbzcCL0mPUXfBQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548601; c=relaxed/simple; bh=cOVsboliXh+Iw8NUJ3nopECQjmONfkIKA6sg0Ex0zDY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EBf4mBtiFMFw7h1886dNSMlvDXO7XNdxQyEIpGvjCVSaZL8GqaExrUGup1J5E3yVZpzkwt+E5OhoM4fz5t4VK9R08Hqv6rIexqW2uICodM/wvlsUKapugx2f5qubCabidn5VFDY464yybrwNMgpbywhRRh9kSkWgNMr1Bt7ZAXA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FT1pL4oe; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FT1pL4oe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BD46C433F1; Mon, 29 Jan 2024 17:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706548601; bh=cOVsboliXh+Iw8NUJ3nopECQjmONfkIKA6sg0Ex0zDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FT1pL4oelOAOXWC0aHFVaffQvTVG4v7z7XJsf93rS4dJVxdRYHX3oMfCdjBeZ+BRl RN0wt2KDxm8Zk0Y4qnRfZCsoqej8LqLgjW42PQB0WD4ulrmmq36bdYVRrLM7dULH3P /7x/JPvT1IPESy/iOKq5IqGreeopL8kGiJ06L1So= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, aaron.ma@canonical.com, binli@gnome.org, Marc Rossi , Hamza Mahfooz , Mario Limonciello , Alex Deucher , Harry Wentland Subject: [PATCH 6.6 263/331] drm/amd/display: Disable PSR-SU on Parade 0803 TCON again Date: Mon, 29 Jan 2024 09:05:27 -0800 Message-ID: <20240129170022.568506470@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240129170014.969142961@linuxfoundation.org> References: <20240129170014.969142961@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mario Limonciello commit 571c2fa26aa654946447c282a09d40a56c7ff128 upstream. When screen brightness is rapidly changed and PSR-SU is enabled the display hangs on panels with this TCON even on the latest DCN 3.1.4 microcode (0x8002a81 at this time). This was disabled previously as commit 072030b17830 ("drm/amd: Disable PSR-SU on Parade 0803 TCON") but reverted as commit 1e66a17ce546 ("Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"") in favor of testing for a new enough microcode (commit cd2e31a9ab93 ("drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix")). As hangs are still happening specifically with this TCON, disable PSR-SU again for it until it can be root caused. Cc: stable@vger.kernel.org Cc: aaron.ma@canonical.com Cc: binli@gnome.org Cc: Marc Rossi Cc: Hamza Mahfooz Signed-off-by: Mario Limonciello Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2046131 Acked-by: Alex Deucher Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c @@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_ isPSRSUSupported = false; else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03) isPSRSUSupported = false; + else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }