]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix ODM policy implementation
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Tue, 8 Sep 2020 20:22:25 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 16:27:52 +0000 (12:27 -0400)
commitfe5c3e9be7bb9c60ff3b2aadb6d398bcb3eeeb00
tree3a01d643cd4430e69e274cfe9b684a7fac192d1f
parent938b2be9de8de660fa3de94e73d4700b42e649ec
drm/amd/display: Fix ODM policy implementation

[WHY]
Only the leftmost ODM pipe should be offset when scaling. A previous
code change was intended to implement this policy, but a section of code
was overlooked.

Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c