]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: add odm split logic to scaling calculations
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Fri, 13 Dec 2019 23:22:40 +0000 (18:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:50:36 +0000 (11:50 -0500)
commit5bf24270d1ccd94f0b6efcd7c96b98bf1faea893
tree94b68af2a1014cccf010ffcd704515d38d4b1416
parent97f1fbda21c4de7686b04c27a95e4db9f3035484
drm/amd/display: add odm split logic to scaling calculations

Currently odm scaling calculations are only done when adding initial
odm pipe. Any scaling re-calculations will mess up odm because of this.

This change resolves the problem by updating scaling split logic to
handle odm.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h