]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Update function to get optimal number of taps
authorEric Bernstein <eric.bernstein@amd.com>
Fri, 6 Mar 2020 22:07:12 +0000 (17:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Mar 2020 16:26:14 +0000 (12:26 -0400)
commitbd9a0afc2a8e43cc9ad843f14b4f8f8295290cb8
tree61201431dc831b33fef1a2157d68a50ee3981935
parent74395035782a00ef1f2fbaf6895e76b850364e85
drm/amd/display: Update function to get optimal number of taps

[Why]
Diagnostics scaling test failing to set required number of vertical taps
in 4:2:0 surface case

[How]
In dpp3_get_optimal_number_of_taps() need to use LB_MEMORY_CONFIG_3 for
4:2:0 surface case. In resource_build_scaling_params() make sure to also
set plane res alpha enable based on updated surface state

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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