drm/amd/display: Send DTBCLK disable message on first commit
authorTaimur Hassan <syed.hassan@amd.com>
Thu, 29 Feb 2024 14:52:05 +0000 (09:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Mar 2024 05:35:37 +0000 (01:35 -0400)
commit1ba65e749dc607d36a0b6e54f14171d52702247d
treec34b94bdb284cbcb2200168a48bea7627017da20
parent865d38e690c664f08b26f75731223cc80ec589e8
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.

Fixes: 27750e176a4f ("drm/amd/display: Allow DTBCLK disable for DCN35")
Reviewed-by: Charlene Liu <charlene.liu@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