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 12:58:31 +0000 (08:58 -0400)
commit25358e04a43c33e6cd8dce528da1d624de915864
treee6f9ad12462f65b641ac40383e0cb7f2e4c2366f
parent09d62c7beb3b98c03b4fc2205bfa7b80c249157d
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