]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: Add minimum Z8 residency debug option
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 17 Feb 2023 16:17:50 +0000 (11:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:53:55 +0000 (11:53 +0200)
commit25f603624246062fd473812e6ebda98e3c387017
treec2273e04660ba74c9d84146c73cc46b8a49e6ae8
parent97b3d8eed09785212900e9ccdc9ff1e0a86fef15
drm/amd/display: Add minimum Z8 residency debug option

[ Upstream commit 0db13eae41fcc67f408dbb3dfda59633c4fa03fb ]

[Why]
Allows finer control and tuning for debug and profiling.

[How]
Add the debug option into DC. The default remains the same as before
for now.

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>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c