mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
drm/amd/display: Remove unused dml2_project
Remove all references to dml2_project_dcn40 from dml2. The project is not used. Signed-off-by: Roman Li <roman.li@amd.com> Acked-by: Chenyu Chen <chen-yu.chen@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
35e86e6a54
commit
5e5ef50cd8
|
|
@ -19,7 +19,6 @@ enum dml2_project_id {
|
|||
dml2_project_dcn4x_stage1,
|
||||
dml2_project_dcn4x_stage2,
|
||||
dml2_project_dcn4x_stage2_auto_drr_svp,
|
||||
dml2_project_dcn40,
|
||||
dml2_project_dcn42,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ bool dml2_core_create(enum dml2_project_id project_id, struct dml2_core_instance
|
|||
case dml2_project_dcn4x_stage1:
|
||||
result = false;
|
||||
break;
|
||||
case dml2_project_dcn40:
|
||||
case dml2_project_dcn4x_stage2:
|
||||
case dml2_project_dcn4x_stage2_auto_drr_svp:
|
||||
out->initialize = &core_dcn4_initialize;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ bool dml2_dpmm_create(enum dml2_project_id project_id, struct dml2_dpmm_instance
|
|||
out->map_watermarks = &dummy_map_watermarks;
|
||||
result = true;
|
||||
break;
|
||||
case dml2_project_dcn40:
|
||||
case dml2_project_dcn4x_stage2:
|
||||
out->map_mode_to_soc_dpm = &dpmm_dcn3_map_mode_to_soc_dpm;
|
||||
out->map_watermarks = &dummy_map_watermarks;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ bool dml2_mcg_create(enum dml2_project_id project_id, struct dml2_mcg_instance *
|
|||
out->build_min_clock_table = &dummy_build_min_clock_table;
|
||||
result = true;
|
||||
break;
|
||||
case dml2_project_dcn40:
|
||||
case dml2_project_dcn4x_stage2:
|
||||
case dml2_project_dcn4x_stage2_auto_drr_svp:
|
||||
out->build_min_clock_table = &mcg_dcn4_build_min_clock_table;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
// Copyright 2024 Advanced Micro Devices, Inc.
|
||||
|
||||
#include "dml2_pmo_factory.h"
|
||||
#include "dml2_pmo_dcn3.h"
|
||||
#include "dml2_pmo_dcn4_fams2.h"
|
||||
#include "dml2_pmo_dcn3.h"
|
||||
#include "dml2_external_lib_deps.h"
|
||||
|
||||
static bool dummy_init_for_stutter(struct dml2_pmo_init_for_stutter_in_out *in_out)
|
||||
|
|
@ -40,7 +40,6 @@ bool dml2_pmo_create(enum dml2_project_id project_id, struct dml2_pmo_instance *
|
|||
out->optimize_dcc_mcache = pmo_dcn4_fams2_optimize_dcc_mcache;
|
||||
result = true;
|
||||
break;
|
||||
case dml2_project_dcn40:
|
||||
case dml2_project_dcn4x_stage2:
|
||||
out->initialize = pmo_dcn3_initialize;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ bool dml2_initialize_instance(struct dml2_initialize_instance_in_out *in_out)
|
|||
case dml2_project_dcn4x_stage1:
|
||||
case dml2_project_dcn4x_stage2:
|
||||
case dml2_project_dcn4x_stage2_auto_drr_svp:
|
||||
case dml2_project_dcn40:
|
||||
case dml2_project_dcn42:
|
||||
return dml2_top_soc15_initialize_instance(in_out);
|
||||
case dml2_project_invalid:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user