]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.1-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Feb 2024 15:25:50 +0000 (16:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Feb 2024 15:25:50 +0000 (16:25 +0100)
added patches:
revert-drm-amd-display-increased-min_dcfclk_mhz-and-min_fclk_mhz.patch

queue-6.1/revert-drm-amd-display-increased-min_dcfclk_mhz-and-min_fclk_mhz.patch [new file with mode: 0644]
queue-6.1/series

diff --git a/queue-6.1/revert-drm-amd-display-increased-min_dcfclk_mhz-and-min_fclk_mhz.patch b/queue-6.1/revert-drm-amd-display-increased-min_dcfclk_mhz-and-min_fclk_mhz.patch
new file mode 100644 (file)
index 0000000..c2db8ae
--- /dev/null
@@ -0,0 +1,38 @@
+From a538dabf772c169641e151834e161e241802ab33 Mon Sep 17 00:00:00 2001
+From: Sohaib Nadeem <sohaib.nadeem@amd.com>
+Date: Mon, 29 Jan 2024 17:33:40 -0500
+Subject: Revert "drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz"
+
+From: Sohaib Nadeem <sohaib.nadeem@amd.com>
+
+commit a538dabf772c169641e151834e161e241802ab33 upstream.
+
+[why]:
+This reverts commit 2ff33c759a4247c84ec0b7815f1f223e155ba82a.
+
+The commit caused corruption when running some applications in fullscreen
+
+Cc: Mario Limonciello <mario.limonciello@amd.com>
+Cc: Alex Deucher <alexander.deucher@amd.com>
+Cc: stable@vger.kernel.org
+Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
+Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
+Signed-off-by: Sohaib Nadeem <sohaib.nadeem@amd.com>
+Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
++++ b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
+@@ -2123,7 +2123,7 @@ static int build_synthetic_soc_states(st
+       unsigned int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0,
+                       max_phyclk_mhz = 0, max_dtbclk_mhz = 0, max_fclk_mhz = 0, max_uclk_mhz = 0;
+-      unsigned int min_dcfclk_mhz = 399, min_fclk_mhz = 599;
++      unsigned int min_dcfclk_mhz = 199, min_fclk_mhz = 299;
+       static const unsigned int num_dcfclk_stas = 5;
+       unsigned int dcfclk_sta_targets[DC__VOLTAGE_STATES] = {199, 615, 906, 1324, 1564};
index 5f2dcd4ea5d6c44986d967ee9c0f1972c189c070..423867762ab87f9da207f0aa6f66361339e966b1 100644 (file)
@@ -126,3 +126,4 @@ usb-roles-don-t-get-set_role-when-usb_role_switch-is-unregistered.patch
 mptcp-make-userspace_pm_append_new_local_addr-static.patch
 mptcp-add-needs_id-for-userspace-appending-addr.patch
 mptcp-fix-lockless-access-in-subflow-ulp-diag.patch
+revert-drm-amd-display-increased-min_dcfclk_mhz-and-min_fclk_mhz.patch