]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: modify init dc_power_state
authorBrandon Syu <Brandon.Syu@amd.com>
Fri, 6 Dec 2024 01:50:22 +0000 (09:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 19:44:27 +0000 (14:44 -0500)
commite8b19ffea957651b9eab296634115b72f95e86ca
treed89b72ad3b642eda966433cec38f7d0d7005e500
parent44063dbcdbd8abf172b8cc30e18d7e2948e9d699
drm/amd/display: modify init dc_power_state

[why]
initialize the power state for dc use,
but dc_set_power_state it not called at D3.
It would cause can't recognize last power state

[how]
remove initialize the power state for dc use, it is not necessary.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Signed-off-by: Roman Li <roman.li@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