]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: revert to hacking bounding box for pipe split
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 9 Jan 2018 21:37:03 +0000 (16:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:38 +0000 (14:18 -0500)
commitc7d76452d254fae8d89861363cfeeb3bf0c77abd
treee7cfe3a7295447ed5152699b2222ee7856fb5c85
parent701ed303b2c064a529277a6b1b53fccb53fe758b
drm/amd/display: revert to hacking bounding box for pipe split

Directly editing pipe config outside of formula is error prone
and results in higher clocks being used when splitting.
For this reason we reverted to using bounding box hacking
to split. Since sometimes this erroneusly results in higher dpm
being required we unhack the bounding box and recalculate to allow
dpm0 is possible.
Side effect is we will lose some stutter efficiency
in non dpm0 cases. This is not a big concern since increased stutter
efficiency saves an order of magnitude less power than lower dpm.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c