From: Sung Joon Kim Date: Fri, 12 Apr 2024 15:19:50 +0000 (-0400) Subject: drm/amd/display: Update dcn351 debug flags and function pointers X-Git-Tag: v6.11-rc1~141^2~25^2~566 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=337b0a3d494151dc32dde1e0cbbf6fb216009ecc;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Update dcn351 debug flags and function pointers [why & how] There are potential issues with Z8 and IPS that need to be addressed and need to add in missing function pointers. Reviewed-by: Nicholas Kazlauskas Acked-by: Aurabindo Pillai Signed-off-by: Sung Joon Kim Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c b/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c index 3a5352c57c050..ff772665d1ae7 100644 --- a/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c +++ b/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c @@ -121,6 +121,7 @@ static const struct hw_sequencer_funcs dcn351_funcs = { .hw_block_power_up = dcn351_hw_block_power_up, .hw_block_power_down = dcn351_hw_block_power_down, .root_clock_control = dcn35_root_clock_control, + .set_long_vtotal = dcn35_set_long_vblank, }; static const struct hwseq_private_funcs dcn351_private_funcs = { diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c index ddf9560ab7722..982526c41d55a 100644 --- a/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c +++ b/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c @@ -744,7 +744,7 @@ static const struct dc_debug_options debug_defaults_drv = { }, .seamless_boot_odm_combine = DML_FAIL_SOURCE_PIXEL_FORMAT, .enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/ - .minimum_z8_residency_time = 2100, + .minimum_z8_residency_time = 1, .using_dml2 = true, .support_eDP1_5 = true, .enable_hpo_pg_support = false, @@ -763,7 +763,7 @@ static const struct dc_debug_options debug_defaults_drv = { .psp_disabled_wa = true, .ips2_eval_delay_us = 2000, .ips2_entry_delay_us = 800, - .disable_dmub_reallow_idle = true, + .disable_dmub_reallow_idle = false, .static_screen_wait_frames = 2, };