summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2023-02-21 10:27:10 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 14:02:05 +0200
commit3f6bda0b7a044a76f5ee61227dd43fbd42c4be79 (patch)
treefc32e65db1412c126756402a3b53ae02faff5feb
parent143e4b6a3e61807d8cd9d2d5673cf942ef1e3763 (diff)
downloadlinux-stable-3f6bda0b7a044a76f5ee61227dd43fbd42c4be79.tar.gz
linux-stable-3f6bda0b7a044a76f5ee61227dd43fbd42c4be79.tar.bz2
linux-stable-3f6bda0b7a044a76f5ee61227dd43fbd42c4be79.zip
drm/amd/display: Update minimum stutter residency for DCN314 Z8
[ 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 <Jun.Lei@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Stable-dep-of: d893f39320e1 ("drm/amd/display: Lowering min Z8 residency time") Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c2
1 files changed, 1 insertions, 1 deletions
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 5c23c934c975..33d8188d076a 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,