diff --git a/patches.kernel.org/6.3.3-221-drm-amd-display-Update-minimum-stutter-residenc.patch b/patches.kernel.org/6.3.3-221-drm-amd-display-Update-minimum-stutter-residenc.patch new file mode 100644 index 0000000..d072eba --- /dev/null +++ b/patches.kernel.org/6.3.3-221-drm-amd-display-Update-minimum-stutter-residenc.patch @@ -0,0 +1,45 @@ +From: Nicholas Kazlauskas +Date: Tue, 21 Feb 2023 10:27:10 -0500 +Subject: [PATCH] drm/amd/display: Update minimum stutter residency for DCN314 + Z8 +References: bsc#1012628 +Patch-mainline: 6.3.3 +Git-commit: 0215ce9057edf69aff9c1a32f4254e1ec297db31 + +[ Upstream commit 0215ce9057edf69aff9c1a32f4254e1ec297db31 ] + +[Why] +Block periods that are too short as they have the potential to +currently cause hangs in other firmware components on the system. + +[How] +Update the threshold, mostly targeting a block of 4k and downscaling. + +Reviewed-by: Jun Lei +Acked-by: Qingqing Zhuo +Signed-off-by: Nicholas Kazlauskas +Tested-by: Daniel Wheeler +Signed-off-by: Alex Deucher +Stable-dep-of: d893f39320e1 ("drm/amd/display: Lowering min Z8 residency time") +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 5c23c934..33d8188d 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 = 1000, ++ .minimum_z8_residency_time = 3080, + .psr_skip_crtc_disable = true, + .disable_dmcu = true, + .force_abm_enable = false, +-- +2.35.3 + diff --git a/series.conf b/series.conf index 585d795..c455018 100644 --- a/series.conf +++ b/series.conf @@ -954,6 +954,7 @@ patches.kernel.org/6.3.3-218-drm-i915-mtl-Add-Wa_14017856879.patch 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 ######################################################## # Build fixes that apply to the vanilla kernel too.