drm/amd/display: update scaling filters
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 29 Jan 2020 21:41:20 +0000 (16:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:02:33 +0000 (11:02 -0500)
commit8144148f3dc7766fb7f39015dd0c05f0120b13db
treecc13d4bf9c08bb8b6c0e54320b18f4245998b4ee
parent6a6c4a4d459ecacc9013c45dcbf2bc9747fdbdbd
drm/amd/display: update scaling filters

Currently there is a minor error in scaling filter coefficients
caused by truncation to fit the HW registers.This error accummulates
with increased taps, but has gone unnoticed due to vast majority of
scaling being done with only 4 taps.

Scaling filters are now updated using HW team's filter generator
which has quantization error minimization built in.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dce/dce_scl_filters.c
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters_old.c [new file with mode: 0644]