]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: apply vmin optimization even if it doesn't reach vmin level
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 31 May 2024 15:37:15 +0000 (11:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:10 +0000 (17:07 -0400)
commit5fc77c26970d443f1c020ee8a5d475ad6b81e15f
tree2f2a7222a61ee97206a1e1d82b8bc93365e39565
parent3c9154310af71802de2f40c5689b66009a407f37
drm/amd/display: apply vmin optimization even if it doesn't reach vmin level

[why]
Based on power measurement result, in most cases when display clock is higher
than Vmin display clock, lowering display clock using dynamic ODM will improve
overall power consumption by 0 to 4 watts even if we can't reach Vmin.

[how]
Allow vmin optimization applied even if dispclk can't reach Vmin.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml_top.c