]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Add min clock init for DML21 mode programming
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Tue, 10 Feb 2026 20:26:18 +0000 (15:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 14:53:27 +0000 (10:53 -0400)
commit23dee18f6503d67b195f1513e404c78653ed0d40
tree662f0d434ac1c628ad2fa8c1b360d9f3dee5b00a
parentaef320b01c4306957cac7be5468868806a27985c
drm/amd/display: Add min clock init for DML21 mode programming

[WHY & HOW]
0 stream cases do not go through any DML validation which leaves DCN
clocks in unoptimized states.

If requesting DML validation or programming with 0 streams, program
DCN clocks to lowest DPM state.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.h
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.c