From 46d0d4670c366d9ff2f362d2bd4a8b84063c2dd5 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: May 17 2023 19:16:03 +0000 Subject: drm/amd/display: Lowering min Z8 residency time (bsc#1012628). --- diff --git a/patches.kernel.org/6.3.3-222-drm-amd-display-Lowering-min-Z8-residency-time.patch b/patches.kernel.org/6.3.3-222-drm-amd-display-Lowering-min-Z8-residency-time.patch new file mode 100644 index 0000000..84c32e6 --- /dev/null +++ b/patches.kernel.org/6.3.3-222-drm-amd-display-Lowering-min-Z8-residency-time.patch @@ -0,0 +1,42 @@ +From: Leo Chen +Date: Tue, 11 Apr 2023 10:49:38 -0400 +Subject: [PATCH] drm/amd/display: Lowering min Z8 residency time +References: bsc#1012628 +Patch-mainline: 6.3.3 +Git-commit: d893f39320e1248d1c97fde0d6e51e5ea008a76b + +[ Upstream commit d893f39320e1248d1c97fde0d6e51e5ea008a76b ] + +[Why & How] +Per HW team request, we're lowering the minimum Z8 +residency time to 2000us. This enables Z8 support for additional +modes we were previously blocking like 2k>60hz + +Cc: stable@vger.kernel.org +Tested-by: Daniel Wheeler +Reviewed-by: Nicholas Kazlauskas +Acked-by: Rodrigo Siqueira +Signed-off-by: Leo Chen +Signed-off-by: Alex Deucher +Signed-off-by: Sasha Levin +Signed-off-by: Jiri Slaby +--- + drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +index 33d8188d..30129fb9 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c +@@ -887,7 +887,7 @@ static const struct dc_plane_cap plane_cap = { + static const struct dc_debug_options debug_defaults_drv = { + .disable_z10 = false, + .enable_z9_disable_interface = true, +- .minimum_z8_residency_time = 3080, ++ .minimum_z8_residency_time = 2000, + .psr_skip_crtc_disable = true, + .disable_dmcu = true, + .force_abm_enable = false, +-- +2.35.3 + diff --git a/series.conf b/series.conf index c455018..070403b 100644 --- a/series.conf +++ b/series.conf @@ -955,6 +955,7 @@ patches.kernel.org/6.3.3-219-drm-i915-disable-sampler-indirect-state-in-bind.patch patches.kernel.org/6.3.3-220-drm-amd-display-Add-minimum-Z8-residency-debug-.patch patches.kernel.org/6.3.3-221-drm-amd-display-Update-minimum-stutter-residenc.patch + patches.kernel.org/6.3.3-222-drm-amd-display-Lowering-min-Z8-residency-time.patch ######################################################## # Build fixes that apply to the vanilla kernel too.