]> git.baikalelectronics.ru Git - kernel.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)
commite3639acbd00d0ab1bea4276ad6747f6245a59ace
treee7cfe3a7295447ed5152699b2222ee7856fb5c85
parent551c4b07ceec51a89cb54e09ba37ce5474a75995
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