drm/amd/display: Add Bounding Box State for Low DF PState but High Voltage State
authorSung Lee <sung.lee@amd.com>
Tue, 25 Aug 2020 19:52:17 +0000 (15:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:27:31 +0000 (13:27 -0400)
commitf2459c52c84449c0494365f928d1a0cbe52f23cf
tree161ea126b5402f38f2988243ae1f9a9f2a380dd0
parenta39f2a8d70666ef728497651a16bca4d23ec8816
drm/amd/display: Add Bounding Box State for Low DF PState but High Voltage State

[WHY]
DF PState and Voltage State are coupled such that one cannot be
raised without raising the other. This uses more power than
is necessary in high bandwidth scenarios.

[HOW]
Add logic to create a new bounding box state that allows for
DF PState to be low while Voltage State is high. Watermarks
vlevel calculation logic was also udpated to assume
state 1 contains the new optimized state.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c