]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Send DTBCLK disable message on first commit
authorTaimur Hassan <syed.hassan@amd.com>
Tue, 16 Jan 2024 23:10:54 +0000 (18:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jan 2024 20:42:36 +0000 (15:42 -0500)
commitf341055b10bd8be55c3c995dff5f770b236b8ca9
treef85389e5c44b5b6f92a1e1acd89137012cc2ed92
parent5549c37e3cf2db848d898829c9833d16e2bcdd1b
drm/amd/display: Send DTBCLK disable message on first commit

[Why]
Previous patch to allow DTBCLK disable didn't address boot case. Driver
thinks DTBCLK is disabled by default, so we don't send disable message to
PMFW. DTBCLK is then enabled at idle desktop on boot, burning power.

[How]
Set dtbclk_en to true on boot so that disable message is sent during first
commit.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Taimur Hassan <syed.hassan@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/clk_mgr/dcn35/dcn35_clk_mgr.c