]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: use s1_12 filter tables in SPL
authorSamson Tam <Samson.Tam@amd.com>
Mon, 27 Jan 2025 23:44:56 +0000 (18:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:09 +0000 (21:04 -0500)
[Why & How]
Instead of converting tables from s1_10 to s1_12,
 added s1_12 tables instead in SPL
Remove init calls that do the conversion

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c

index 6ab194a86cb94f5b7a72e52ca7e68af6add2dd73..64f2153310df6b9afcd517eedc36c5befea48653 100644 (file)
@@ -76,9 +76,6 @@
 
 #include "dml2/dml2_wrapper.h"
 
-#include "sspl/dc_spl_scl_easf_filters.h"
-#include "sspl/dc_spl_isharp_filters.h"
-
 #define DC_LOGGER_INIT(logger)
 
 enum dcn401_clk_src_array_id {
@@ -2189,8 +2186,6 @@ static bool dcn401_resource_construct(
        dc->dml2_options.det_segment_size = DCN4_01_CRB_SEGMENT_SIZE_KB;
 
        /* SPL */
-       spl_init_easf_filter_coeffs();
-       spl_init_blur_scale_coeffs();
        dc->caps.scl_caps.sharpener_support = true;
 
        return true;