diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2023-03-24 12:01:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-11 18:03:35 -0400 |
commit | d170e938f01fc8c5c41f8a12f0c12491580829ef (patch) | |
tree | 95e972bef03a11a10d052a8b3e80f4f97cde3041 /drivers/gpu/drm/amd/display/dc/dcn321 | |
parent | 0289e0ed1b9ae20e7b682fc7ca30d2d324a47618 (diff) | |
download | linux-stable-d170e938f01fc8c5c41f8a12f0c12491580829ef.tar.gz linux-stable-d170e938f01fc8c5c41f8a12f0c12491580829ef.tar.bz2 linux-stable-d170e938f01fc8c5c41f8a12f0c12491580829ef.zip |
drm/amd/display: On clock init, maintain DISPCLK freq
[Description]
- On init if a display is connected, we need to maintain the DISPCLK
frequency
- Even though DPG_EN=1, the display still requires the correct
timing or it could cause audio corruption (if DISPCLK freq
is reduced)
- Read the current DISPCLK freq and request the same value to ensure
the timing is valid and unchanged
- However, add option to do a full pipe power down (including link)
which will also avoid audio related issues
- Disabled for the time being on dcn32
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn321')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c index 7ebd14fb9698..e5ab7f3077c4 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c @@ -726,6 +726,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_fpo_optimizations = false, .fpo_vactive_margin_us = 2000, // 2000us .disable_fpo_vactive = true, + .disable_boot_optimizations = false, }; static const struct dc_debug_options debug_defaults_diags = { |