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 D3E61189BAF; Mon, 28 Oct 2024 06:44:55 +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=1730097895; cv=none; b=d2c0mZhIWBfpWBHs3eOBSWwhTs8sr60bjrFw7Iv+g/2+jXXn+TYU4tJzxgfb7mDDPV+xQqs/f6GhwtnuPaFlZAxytI1q/dknNDg7ygv5qy9XuuhvoIHY6+n7fb4u1J/SvZKSHIGqILUoIXSPxcVXK3ea4wEQNuoeDRfIL6X5yKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730097895; c=relaxed/simple; bh=h5YxB7mVN/KBiqd8adQ31bkbmD4b5u2EWs/YSPWkAL4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=llRAMTY5OlFToH/DrfpLM7zjGcxStf7uXMNJtQRkpT/kB+1S16XADyyhugcCqV7em9HxKogcjn3BLGzaxrqxMQHY5QDDKEwfpcrdzyM6GArUPgqOzsAGxJLBTMnJxKDSwdo+Cm826RqFssjWsKVYOKWXjj9XGylkbVGE01vcPXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uISEKRGM; 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="uISEKRGM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 721F4C4CEC3; Mon, 28 Oct 2024 06:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730097895; bh=h5YxB7mVN/KBiqd8adQ31bkbmD4b5u2EWs/YSPWkAL4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uISEKRGMrD8JrijqTOSO/wl4/GAqc1Nv/FbdqWlSo2oI0Q9ycCVV6hqM7JMl6b26W 1gN68VBT4Vm60iZXB8F8360e0JLEauN/qzY5hObTrjPDRisX1dfEDXIYc6UD20vVne fADw+82N+L81YZahKPKdp3tvEU+LLJAqjk+ofCf8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Marc Rossi , Hamza Mahfooz , Leo Li , Mario Limonciello , Alex Deucher Subject: [PATCH 6.6 196/208] drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too Date: Mon, 28 Oct 2024 07:26:16 +0100 Message-ID: <20241028062311.461856106@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241028062306.649733554@linuxfoundation.org> References: <20241028062306.649733554@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev 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 ba1959f71117b27f3099ee789e0815360b4081dd upstream. Stuart Hayhurst has found that both at bootup and fullscreen VA-API video is leading to black screens for around 1 second and kernel WARNING [1] traces when calling dmub_psr_enable() with Parade 08-01 TCON. These symptoms all go away with PSR-SU disabled for this TCON, so disable it for now while DMUB traces [2] from the failure can be analyzed and the failure state properly root caused. Cc: Marc Rossi Cc: Hamza Mahfooz Link: https://gitlab.freedesktop.org/drm/amd/uploads/a832dd515b571ee171b3e3b566e99a13/dmesg.log [1] Link: https://gitlab.freedesktop.org/drm/amd/uploads/8f13ff3b00963c833e23e68aa8116959/output.log [2] Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2645 Reviewed-by: Leo Li Link: https://lore.kernel.org/r/20240205211233.2601-1-mario.limonciello@amd.com Signed-off-by: Mario Limonciello Signed-off-by: Alex Deucher (cherry picked from commit afb634a6823d8d9db23c5fb04f79c5549349628b) Cc: stable@vger.kernel.org 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] == 0x01) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }