]> 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 12:02:05 +0000 (14:02 +0200)
commit143e4b6a3e61807d8cd9d2d5673cf942ef1e3763
tree7d140e9190f5865b074c5947be1b5827da01c1ac
parent368bf062dcca7497514b0f2c173456dd317e29ee
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