]> 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)
commitb6ccf98adc46c1d6cfc538aaa5a0da3122e67d35
treecc13d4bf9c08bb8b6c0e54320b18f4245998b4ee
parent33b73c653ad36f53dabefda4492e86b55bfba3a7
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]