aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn35
diff options
context:
space:
mode:
authorGravatar Max Tseng <max.tseng@amd.com> 2023-09-22 16:50:53 +0800
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2023-10-09 16:53:17 -0400
commit3557db425dd9e6d806617326bf71d1c8da2a707f (patch)
treeb6df3638575c94f6692105be111799a737cc4bef /drivers/gpu/drm/amd/display/dc/dcn35
parentdrm/amd/display: Update pmfw_driver_if new structure (diff)
downloadlinux-3557db425dd9e6d806617326bf71d1c8da2a707f.tar.gz
linux-3557db425dd9e6d806617326bf71d1c8da2a707f.tar.bz2
linux-3557db425dd9e6d806617326bf71d1c8da2a707f.zip
drm/amd/display: Modify Vmin default value
Fine tune the Vmin clock value Reviewed-by: Robin Chen <robin.chen@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Max Tseng <max.tseng@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/dcn35')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
index 828846538a92..f1d776f39543 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
@@ -1830,7 +1830,13 @@ static bool dcn35_resource_construct(
dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
dc->caps.color.mpc.ocsc = 1;
- dc->caps.max_disp_clock_khz_at_vmin = 669154;
+ /* max_disp_clock_khz_at_vmin is slightly lower than the STA value in order
+ * to provide some margin.
+ * It's expected for furture ASIC to have equal or higher value, in order to
+ * have determinstic power improvement from generate to genration.
+ * (i.e., we should not expect new ASIC generation with lower vmin rate)
+ */
+ dc->caps.max_disp_clock_khz_at_vmin = 650000;
/* Use pipe context based otg sync logic */
dc->config.use_pipe_ctx_sync_logic = true;