]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1019ddfbb2bca00af5a134923f326065c34a7c4b
treecc13d4bf9c08bb8b6c0e54320b18f4245998b4ee
parenta037197d4a50e47679c6a4a9eda16d4e78129eaf
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]