]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Disable dsc_power_gate for dcn314 by default
authorRoman Li <Roman.Li@amd.com>
Mon, 14 Jul 2025 18:37:33 +0000 (14:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:30:40 +0000 (18:30 +0200)
[ Upstream commit 02f3ec53177243d32ee8b6f8ba99136d7887ee3a ]

[Why]
"REG_WAIT timeout 1us * 1000 tries - dcn314_dsc_pg_control line"
warnings seen after resuming from s2idle.
DCN314 has issues with DSC power gating that cause REG_WAIT timeouts
when attempting to power down DSC blocks.

[How]
Disable dsc_power_gate for dcn314 by default.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c

index 01d95108ce662bcfd3d32f5f9e132ab11c5130de..585c3e8a2194880357864cfc817dbd3b6f0a5fdd 100644 (file)
@@ -927,6 +927,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        .seamless_boot_odm_combine = true,
        .enable_legacy_fast_update = true,
        .using_dml2 = false,
+       .disable_dsc_power_gate = true,
 };
 
 static const struct dc_panel_config panel_config_defaults = {