]> www.infradead.org Git - users/hch/configfs.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, 13 Aug 2024 14:31:47 +0000 (10:31 -0400)
commit782cef7fc367542ccc851d93edbed166defdfc27
tree5b24db0669b94cdd7be2d77e2b03c2245f50fe9d
parent596a4ec72876f1061f0ef4be47076b093f03b4f9
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: Austin Zheng <austin.zheng@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@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