Skip to content

Commit 97b05c8

Browse files
Nicholas Kazlauskasalexdeucher
authored andcommitted
drm/amd/display: Apply DCN35 DML2 state policy for DCN36 too
[Why] DCN36 should inherit the same policy as DCN35 for DML2. [How] Add it to the list of checks in translation helper. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent d8075f5 commit 97b05c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ void dml2_init_soc_states(struct dml2_context *dml2, const struct dc *in_dc,
557557
}
558558

559559
if (dml2->v20.dml_core_ctx.project == dml_project_dcn35 ||
560+
dml2->v20.dml_core_ctx.project == dml_project_dcn36 ||
560561
dml2->v20.dml_core_ctx.project == dml_project_dcn351) {
561562
int max_dcfclk_mhz = 0, max_dispclk_mhz = 0, max_dppclk_mhz = 0, max_phyclk_mhz = 0,
562563
max_dtbclk_mhz = 0, max_fclk_mhz = 0, max_uclk_mhz = 0, max_socclk_mhz = 0;

0 commit comments

Comments
 (0)