summaryrefslogtreecommitdiff
path: root/SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-02-12 23:19:26 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-02-12 23:19:26 +0100
commit05d56ec887219fa7c83b2ddc120e61ce9b4048d5 (patch)
tree1b33a05e6190eba5d51b5e4cf90da036f3d74272 /SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch
parentfa862ddccf2ffdddc9cb024e769aff544228fe5a (diff)
downloadkernel-fsync-05d56ec887219fa7c83b2ddc120e61ce9b4048d5.tar.gz
kernel-fsync-05d56ec887219fa7c83b2ddc120e61ce9b4048d5.zip
kernel 5.10.15
Diffstat (limited to 'SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch')
-rw-r--r--SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch b/SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch
new file mode 100644
index 0000000..36855bd
--- /dev/null
+++ b/SOURCES/0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch
@@ -0,0 +1,38 @@
+From 910f1601addae3e430fc7d3cd589d7622c5df693 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Wed, 3 Feb 2021 14:03:50 -0500
+Subject: [PATCH] Revert "drm/amd/display: Update NV1x SR latency values"
+
+This reverts commit 4a3dea8932d3b1199680d2056dd91d31d94d70b7.
+
+This causes blank screens for some users.
+
+Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1388
+Cc: Alvin Lee <alvin.lee2@amd.com>
+Cc: Jun Lei <Jun.Lei@amd.com>
+Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
+Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Cc: stable@vger.kernel.org
+---
+ drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+index a0a4ab47a1c0..a2cbafab663c 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+@@ -297,8 +297,8 @@ static struct _vcs_dpi_soc_bounding_box_st dcn2_0_soc = {
+ },
+ },
+ .num_states = 5,
+- .sr_exit_time_us = 11.6,
+- .sr_enter_plus_exit_time_us = 13.9,
++ .sr_exit_time_us = 8.6,
++ .sr_enter_plus_exit_time_us = 10.9,
+ .urgent_latency_us = 4.0,
+ .urgent_latency_pixel_data_only_us = 4.0,
+ .urgent_latency_pixel_mixed_with_vm_data_us = 4.0,
+--
+2.29.2
+