]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Notify DMCUB of D0/D3 state
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 21 Jun 2024 20:11:28 +0000 (16:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:53:51 +0000 (17:53 -0400)
commit9793a4a6e5eb8764c7410c361984ed01722bab9f
tree9fceadd214233770ae99f111d35c0cbfa9f3088a
parent4437936c6b696b98f3fe1d8679a2788c41b4df77
drm/amd/display: Notify DMCUB of D0/D3 state

[Why]
We want to avoid arming the HPD timer in firmware when preparing for
S0i3 entry when DC is considered in D3.

[How]
Notify DMCUB of the power state transitions so it can decide to arm
the HPD timer for idle in DCN35 only in D0.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ovidiu Bunea <Ovidiu.Bunea@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h