drm/amd/display: rename dcn401_soc to dcn4_variant_a_soc
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 4 Jul 2024 18:41:58 +0000 (18:41 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:36:36 +0000 (17:36 -0400)
To distinguish between different soc with same DCN IP, use variants
starting with alphabets

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/dcn4_soc_bb.h

index ec663c7..4164cda 100644 (file)
@@ -31,7 +31,7 @@ static void dml21_init_socbb_params(struct dml2_initialize_instance_in_out *dml_
                else
                        soc_bb = &dml2_socbb_dcn401;
 
-               qos_params = &dml_dcn401_soc_qos_params;
+               qos_params = &dml_dcn4_variant_a_soc_qos_params;
        }
 
        /* patch soc bb */
index 0fe70bd..898b1dd 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "dml_top_soc_parameter_types.h"
 
-static const struct dml2_soc_qos_parameters dml_dcn401_soc_qos_params = {
+static const struct dml2_soc_qos_parameters dml_dcn4_variant_a_soc_qos_params = {
        .derate_table = {
                .system_active_urgent = {
                        .dram_derate_percent_pixel = 22,